WebClient client = new WebClient(); client.DownloadFile(string address_of_image_file,string filename);
Content-Length
Quote:C# WebClient client = new WebClient(); client.OpenRead("address_of_image_file"); Int64 bytes_total= Convert.ToInt64(client.ResponseHeaders["Content-Length"]);
WebClient client = new WebClient(); client.OpenRead("address_of_image_file"); Int64 bytes_total= Convert.ToInt64(client.ResponseHeaders["Content-Length"]);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)