Image from a URI

C#:
			System.Net.WebClient wc = new System.Net.WebClient();
			byte[] data = wc.DownloadData(@"http://www.microsoft.com/homepage/gif/bnr-microsoft.gif");
			System.IO.MemoryStream ms = new System.IO.MemoryStream(data);
			pictureBox1.Image = new Bitmap(ms);
 
Back
Top