I spent three last days to change the proxies of website by C# code and name of website "http://tweetermonitor.apphb.com/" but did not find a very well way to change the proxies from list which i have. Actually my site is extracting the data from websites urls and some of sites are doing blocked my IP address and system fails to extract the data. I have some proxies which I want to change it from the code mean I will place the proxies in database and when my site will be blocked then I will put one proxy and will add in the Webproxy system in Code . I found one code but I did not understand what it mean.
var getHtmlWeb = new HtmlWeb() { AutoDetectEncoding = false, OverrideEncoding = Encoding.GetEncoding("iso-8859-2") };
WebProxy myproxy = new WebProxy("116.197.134.130:8080", true);
NetworkCredential cred = (NetworkCredential)CredentialCache.DefaultCredentials;
var document = getHtmlWeb.Load("http://tweetermonitor.apphb.com/", "POST", myproxy, cred);
Code is running successfully but here what is meaning of Var Document? What is doing?enter image description here Here is the description of What the variable document have. Please help me i need it very badly. Help will be much appreciated. Thanks and hope i will get the help ..