title: How do I load an image to a picturebox from a URL using basic authentication?
body: <p>When the URL was not protected at all this following worked well.</p>
  
  <pre><code>string imageURL = ("https://api.blah.blah/customers/" + userID.ToString() + "/photo");
  pictureBox1.LoadAsync(imageURL);
  </code></pre>
  
  <p>Now that we are behind basic authentication I was hoping I could simply do this:</p>
  
  <pre><code>string imageURL = ("https://username:password@api.blah.blah/customers/" + userID.ToString() + "/photo");
  pictureBox1.LoadAsync(imageURL);
  </code></pre>
  
  <p>But I am having no luck.  Any help would be appreciated.</p>