title: Use Webclient to get page resource in C#
body: <p>I use below code for get page Source, but it doesn't return property data :</p>
  
  <pre><code>string url = "http://www.tsetmc.com/Loader.aspx?ParTree=15131F";
              WebClient client = new WebClient();
              client.Headers["Accept-Encoding"] = "gzip";
              string pageSource = client.DownloadString(url);
  </code></pre>
  
  <p>The Content-Encoding of website is gzip</p>
  
  <p><a href="https://i.stack.imgur.com/p5MBv.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p5MBv.jpg" alt="image"></a></p>