CodedUI Run Application with Admin User
System.Diagnostics.ProcessStartInfo proc = new System.Diagnostics.ProcessStartInfo(@"C:\Program Files (x86)\Notepad++\notepad++.exe");
proc.UseShellExecute = true;
proc.Verb = "runas";
proc.UseShellExecute = true;
proc.Verb = "runas";
Comments
Post a Comment