Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo("C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe");
- psi.Verb = "runas";
- System.Diagnostics.Process.Start(psi);
Add Comment
Please, Sign In to add comment