我在互联网上搜索,我知道在.Net中,我们可以使用以下代码来忽略验证错误。
I have searched the internet and I know that in .Net we can use the following codes to ignore certification errors.
ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback( delegate { return true; } );但是Windows Phone 7开发不支持认证类(知道从 social.msdn.microsoft/Forums / en-US / windowsphone7series / thread / 4f795a8e-de05-4f01-be7f-0cf2be3a71c2 )。我现在使用 WebClient 访问需要首先进行认证的 HTTPS 网站。
But the certification classes are not supported in windows phone 7 development (know from social.msdn.microsoft/Forums/en-US/windowsphone7series/thread/4f795a8e-de05-4f01-be7f-0cf2be3a71c2). I am now using a WebClient to visit a HTTPS website which requires a certification first. So I am wondering is it possible to ignore the certification errors so that I can continue with my program?
推荐答案不,不幸的是,安全人员不会让你。
No, unfortunately, the security guys won't let you.
更多推荐
如何忽略Windows Phone 7中的证书错误?
发布评论