2013年3月18日
摘要: 我使用HttpWebRequest访问其他网站时,出现"请求被中止:无法建立SSL / TLS安全通道"错误,于是goog和百度了一番,提供的答案基本是:ServicePointManager.ServerCertificateValidationCallback写委托public ResponseModel GetHtml(string url){ServicePointManager.ServerCertificateValidationCallback = ValidateServerCertificate;HttpWebRequest request = (Http 阅读全文
posted @ 2013-03-18 11:02 Kingly 阅读(3236) 评论(1) 推荐(0) 编辑