joby

joby

  • NA
  • 6
  • 0

what is the use of WebHeaderCollection while downloading a web site,explanation

Sep 30 2009 12:52 PM

Headers =
new WebHeaderCollection();
RequestUri = uri;
Headers[
"Host"] = uri.Host;
Headers[
"User-Agent"] = "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)";
how will this command work........
 

Answers (1)