title: Get Size of Image File before downloading from web
body: <p>I am downloading image files from web using the following code in my Console Application.</p>
  
  <pre><code>WebClient client = new WebClient();
  client.DownloadFile(string address_of_image_file,string filename);
  </code></pre>
  
  <p>The code is running absolutely fine.</p>
  
  <p><strong>I want to know if there is a way i can get the size of this image file before I download it.</strong></p>
  
  <p>PS- Actually I have written code to make a crawler which moves around the site downloading image files. So I doesn't know its size beforehand. All I have is the complete path of file which has been extracted from the source of webpage.</p>