Answers for "System.Drawing get from url"

C#
0

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);
Posted by: Guest on September-18-2020

C# Answers by Framework

Browse Popular Code Answers by Language