How to download image from url with c#

This code below helping for you

WebClient wc = new WebClient();
wc.UseDefaultCredentials = true;
var image = wc.DownloadData("url"); //byte array
Advertisements

#c-download, #c-image, #image-download, #url-image-download