title: How to change Proxy of Website If we have list of proxies By code in C#
body: <p>I spent three last days to change the proxies of website by C# code and  name of website "<a href="http://tweetermonitor.apphb.com/" rel="nofollow noreferrer">http://tweetermonitor.apphb.com/</a>" 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. </p>
  
  <pre><code>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></pre>
  
  <p>Code is running successfully but here what is meaning of  Var Document? What is doing?<a href="https://i.stack.imgur.com/ug3dp.png" rel="nofollow noreferrer">enter image description here</a> 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 ..</p>