Getting image from a secured website with popup username/password
<p>I am using c# to get a value from a website like so url = </p>

<pre><code>"http://user:password@127.0.0.1/p/status.html"
</code></pre>

<p>this works fine once here I can pull the html and get the value.</p>

<p>My problem is I am trying to do the same thing but this time pull an image from the webite like so</p>

<pre><code>picturebox.Load("http://username:password@120.0.0.0/images/pic.jpg");
</code></pre>

<p>This returns an unauthorized error.</p>

<p>I also tried displaying the picture in a browser using </p>

<pre><code>webbrowser.url(uri(http://username:password@120.0.0.0/images/pic.jpg");
</code></pre>

<p>this works fine.  However this is a camera feed so I would have to refresh the page each time which pages it go white and is not what I want.</p>

<p>Is there a way to accomplish this? preferably loading the picturebox with the url and getting the image in the picturebox.</p>

<p>Thanks,</p>
