title: Passing AD authentication credentials to IE browser in C# Windows Form
body: <p>I have a Sharepoint site and I want to open this site in IE by using C# Windows Application. I successfully open the site in IE but my question is how do I send the UserCredentials to the site. It opens the site in IE with defalut credentials.
  My defalut credentials are username: systemaccount password=123
  but i want to open Sharepoint site in IE with some different credentials like username: abc password: 123 (I have "abc" as a AD and Sharepoint User)</p>
  
  <p>here is my code for opening Sharepoint site in IE</p>
  
  <pre><code>SecureString sec = new SecureString();
               sec.AppendChar('1');
               sec.AppendChar('2');
               sec.AppendChar('3');
  
  Process.Start("IEXPLORE.EXE", url,"abc",sec,"moss.local");
  </code></pre>
  
  <p>here is my Sharepoint site URL.......
  abc is my username by which i want to login
  sec is a password SecureString password
  moss.local is my domain where "abc" AD user exists.....</p>