c# runas

                Process Proc = new Process();
                ProcessStartInfo ProcStartInfo = new ProcessStartInfo(textBox_Command.Text);
                ProcStartInfo.UseShellExecute = true;
                ProcStartInfo.Verb = "runas";
                Proc.StartInfo = ProcStartInfo;
                Proc.Start();
posted @ 2009-03-22 22:14  ahuo  阅读(620)  评论(0编辑  收藏  举报