C# Download Image from Web


/ Published in: C#
Save to your folder(s)



Copy this code and paste it in your HTML
  1. byte[] imageData = DownloadData(Url); //DownloadData function from here
  2. MemoryStream stream = new MemoryStream(imageData);
  3. Image img = Image.FromStream(stream);
  4. stream.Close();

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.