Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var proc = new Process();
- proc.StartInfo.UseShellExecute = false;
- proc.StartInfo.FileName = "Test2.exe";
- proc.StartInfo.Arguments = args[0];
- proc.StartInfo.Domain = "NT AUTHORITY";
- proc.StartInfo.UserName = "NETWORK SERVICE";
- proc.StartInfo.Password = new SecureString();
- proc.Start();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement