开发者

Exception downloading HTML code

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜