I'm trying to download the HTML code of one website using new WebClient().DownloadString()
but I'm getting this exception all the time:
The underlying connection was close开发者_如何学运维d. An unexpected error occured on a receive
Does anyone know how to solve this problem?
Check out this question. You might find the same solution works for you
Dotnet webclient timesout but browser works file for json webservice
精彩评论