title: Setting a cookie in a WebBrowser control
body: <p>I am loading a website using a WebBrowser's Navigate function, and I want the browser to load the page with a cookie I've given it.</p>
  
  <p>The following code doesn't work:</p>
  
  <pre><code>wb.Navigate(url, null, null, "Cookie: " + cookie + "\n");
  </code></pre>
  
  <p>What am I doing wrong?  Will I have to use <a href="http://msdn.microsoft.com/en-us/library/aa385108%28VS.85%29.aspx" rel="noreferrer">InternetSetCookie</a>?  This doesn't seem like the best solution.</p>