Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

System.Drawing get from url

WebClient wc = new WebClient();
byte[] bytes = wc.DownloadData("http://localhost/image.gif");
MemoryStream ms = new MemoryStream(bytes);
System.Drawing.Image img = System.Drawing.Image.FromStream(ms);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #url
ADD COMMENT
Topic
Name
5+8 =