Code:
Process newProcess = new Process();
newProcess.StartInfo.WorkingDirectory = @"C:\";
newProcess.StartInfo.FileName = "Testapp.exe";
newProcess.StartInfo.UserName = "System";
//newProcess.StartInfo.Password = ????????
newProcess.StartInfo.UseShellExecute = false;
Leave a comment: