在网络浏览器中,我可以正常加载以下URL:
https://security.ultimatxxxx.com:443/Serverstatus.ashx
但当我这样做时:Webclient.DownloadStringAsync("https://security.ultimatxxxx.com:443/Serverstatus.ashx");
为了测试目的,您可以调用:ultimate-eur
而不是ultimatxxxx
。
它无法正常工作,但是当我加载没有https的普通URL时,我没有任何问题。我需要添加哪个参数才能使Webclient也能下载字符串?
我想在Monotouch中使用该功能,但语言是C#。