Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SecureString sec = new SecureString();
- sec.AppendChar('1');
- sec.AppendChar('2');
- sec.AppendChar('3');
- Process.Start("IEXPLORE.EXE", url,"abc",sec,"moss.local");
- ProcessStartInfo startInfo = new ProcessStartInfo(@"c:Program FilesInternet Exploreriexplore.exe", "http://server/sites/spsite/page.aspx");
- startInfo.UserName = @"user";
- SecureString p = new SecureString();
- p.AppendChar('p');
- p.AppendChar('w');
- p.AppendChar('d');
- startInfo.Password = p;
- startInfo.Domain = "mydomain";
- startInfo.UseShellExecute = false;
- Process.Start(startInfo);
Add Comment
Please, Sign In to add comment