c# download image from internet code example
Example 1: c# how-to-download-image-from-url
using (WebClient webClient = new WebClient()){
byte[] dataArr = webClient.DownloadData("url.jpg");
//save file to local
File.WriteAllBytes(@"path.png", dataArr);
}
Example 2: C# download image on url
download image