title: C# Webclient problem with looping download?
body: <p>this is my implementation of Webclient, supposedly, this download should be continuous, but for some reason, which debug don't even help, i got 1 success in the first run, then the rest are failed. Does anyone know why ?</p>
  
  <pre><code>        for (int i = 1; i &lt;= Count; i++)
          {
              using (WebClient wc = new WebClient())
              {
  
                  wc.Headers["Accept-Encoding"] = "gzip";
                  wc.Headers["User-Agent"] = "Mozilla/4.0 (Compatible; Windows NT 5.1; MSIE 6.0) (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)";
                  byte[] arr = wc.DownloadData(url);
  
                  if (arr.Length &gt; 0)
                      Console.WriteLine(i.ToString() + ": SUCCESS");
                  else
                      Console.WriteLine(i.ToString() + ": FAILED");
              }
  
          }
  </code></pre>