Process Proc = new Process();
ProcessStartInfo ProcStartInfo = new ProcessStartInfo(textBox_Command.Text);
ProcStartInfo.UseShellExecute = true;
ProcStartInfo.Verb = "runas";
Proc.StartInfo = ProcStartInfo;
Proc.Start();
c# runas
最新推荐文章于 2021-07-23 17:19:09 发布