Answers for "i to download an image from a link c#"

C#
0

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);
}
Posted by: Guest on December-21-2020

Code answers related to "i to download an image from a link c#"

C# Answers by Framework

Browse Popular Code Answers by Language