using (WebClient webClient = new WebClient()){ byte[] dataArr = webClient.DownloadData("url.jpg"); //save file to local File.WriteAllBytes(@"path.png", dataArr); }