Search code examples
c#performancedownloadwebclient

WebClient very slow downloads


I am simply using WebClient.DownloadString() and it is outrageously slow. Maxing out at 40kbs I have tried setting the WebClient.Proxy to null which didn't work and i am not anywhere near maxing my internet speed. What am I doing wrong?


Solution

  • Use webClient.Proxy=GlobalProxySelection.GetEmptyWebProxy();

    See this for more info: https://stackoverflow.com/a/27603874/6550457