I am calling the following piece of code in my C# winforms app to open specific IE windows:
var IE = new SHDocVw.InternetExplorer();
object URL = "http://google.com";
IE.ToolBar = 0;
IE.StatusBar = false;
IE.MenuBar = true;
IE.AddressBar = true;
IE.Top = 0;
IE.Left = 0;
IE.Width = 2590;
IE.Height = 2160;
IE.Visible = true;
IE.Navigate2(ref URL);
I do that for several IE windows and that works just fine but for one in particular I need to be able to specify it to Run As Different User (Shift + Right Click) and pass on those credentials.
Is that possible to be done with SHDocVw.InternetExplorer?