download image c# from url 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