0
点赞
收藏
分享

微信扫一扫

c# runas

忍禁 2022-05-19 阅读 32


Process Proc = new Process();

ProcessStartInfo ProcStartInfo = new ProcessStartInfo(textBox_Command.Text);

ProcStartInfo.UseShellExecute = true;

ProcStartInfo.Verb = "runas";

Proc.StartInfo = ProcStartInfo;

Proc.Start();


举报

相关推荐

0 条评论