title: WebClient is very slow
body: <p>I have problem with Webclient.</p>
  
  <p>It is very slow. It takes about 3-5 seconds to downloadString from one website.
  I don't have any network problems.</p>
  
  <p>This is my Modifed WebClient.</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Net;
  
  namespace StatusChecker
  {
      class WebClientEx: WebClient
      {
          public CookieContainer CookieContainer { get; private set; }
  
          public WebClientEx()
          {
              CookieContainer = new CookieContainer();
  
              ServicePointManager.Expect100Continue = false;
              Encoding = System.Text.Encoding.UTF8;
  
              WebRequest.DefaultWebProxy = null;
              Proxy = null;
          }
  
          public void ClearCookies()
          {
              CookieContainer = new CookieContainer();
          }
  
          protected override WebRequest GetWebRequest(Uri address)
          {
  
              var request = base.GetWebRequest(address);
              if (request is HttpWebRequest)
              {
                  (request as HttpWebRequest).CookieContainer = CookieContainer;
              }
              return request;
          }
      }
  }
  </code></pre>
  
  <p><strong>UPDATE:
  In wireshark I saw that single DownladString is sending and receiving few thousands packets.</strong></p>