If you need to run external program from C# code with Administrator privileges, this code might help.
ProcessStartInfo info = new ProcessStartInfo("Process.exe"); info.UseShellExecute = true; info.Verb = "runas"; Process.Start(info);
SharePoint, Office 365, C#, .Net, SQL Server News, Tips, Ebooks, Events, Webinars ….etc
If you need to run external program from C# code with Administrator privileges, this code might help.
ProcessStartInfo info = new ProcessStartInfo("Process.exe"); info.UseShellExecute = true; info.Verb = "runas"; Process.Start(info);