System.Diagnostics.Process process = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
startInfo.FileName = "cmd.exe";
startInfo.Arguments = "/C netsh firewall add allowedprogram C:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe apacheInsert";
startInfo.Verb = "runas";
process.StartInfo = startInfo;
process.Start();
note: change user controller seeting never notifiy must be
Hiç yorum yok:
Yorum Gönder