title: C# : "Logon failure: unknown user name or bad password " error while using PROCESS.START() METHOD
body: <p>I tried to login to gmail with the code: </p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
  {
      var user = new SecureString();
      foreach (char c in textBox3.Text)
      {
          user.AppendChar(c);
      }
  
      Process.Start("C:/Users/Indish/Desktop/chrome",
          "www.gmail.com", user, textBox4.Text);
  }
  </code></pre>
  
  <p>The program says logon failure as mentioned in the question.So, if any one can help .........Thanks in advance</p>