Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SecureString theSecureString = new NetworkCredential("", "password").SecurePassword;
- Process installProcess = new Process();
- installProcess.StartInfo.UseShellExecute = false;
- installProcess.StartInfo.UserName = "admin";
- installProcess.StartInfo.Password = theSecureString;
- installProcess.StartInfo.FileName = @"installer.exe";
- installProcess.Start();
Add Comment
Please, Sign In to add comment