I use HttpWebRequest to call the page and HttpWebResponse to get the result,
My question is: how can I get or calculate the total byte return page size. In addition, I also want to know the traffic / bandwidth that I used to invoke the page.
I can get the length of the content, but the length of the content does not match Firebug or another network traffic program. So I'm not sure if the length of the content is the size of the page or not.
thanks
abc cba
source share