Posted By

vcskicks on 05/16/09


Tagged

cwebimages


Versions (?)

Who likes this?

7 people have marked this snippet as a favorite

LeeRJohnson
paelgr
umang_nine
ethedy
tonicglop
jalalx
Priestd09


C# Download Image from Web


 / Published in: C#
 

URL: http://www.vcskicks.com/image-from-url.php

  1. byte[] imageData = DownloadData(Url); //DownloadData function from here
  2. MemoryStream stream = new MemoryStream(imageData);
  3. Image img = Image.FromStream(stream);
  4. stream.Close();

Report this snippet  

You need to login to post a comment.