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";

Comments

Popular Posts