title: Showing progress in percentage while uploading and downloading using HttpWebRequest class
body: <p>I'm trying to upload and download (in the same request) to a server using <code>HttpWebRequest</code> in <code>C#</code> and since the size of data is considerable (considering network speed) I would like to show the user how far of the job is done and how much is left (not in seconds but in percentage).</p>
  
  <p>I've read a couple of examples trying to implement this but none of them show any progress bar. They all just use <code>async</code> not to block the UI while it is uploading/downloading. And they are mostly focused on upload / download and none try including them both in the same request.</p>
  
  <p>Since I'm using .Net 4 as my target framework, I can not implement an <code>async</code> method myself. If you are to suggest anything asynchronous, please just use <code>Begin...</code> methods and not <code>await</code> keyword! Thanks.</p>