【发布时间】:2013-07-22 01:43:21
【问题描述】:
在我的 PCL 中,我尝试调用 SSL 服务,因此我尝试像这样设置 ServerCertificateValidationCallback:
System.Net.ServicePointManager.ServerCertificateValidationCallback = ValidateServerCertficate;
但似乎我无法在我的 PCL 中添加对 System.Net 的引用,并且它说类型 ServicePointManager 不存在。
如何在我的 PCL 中引用它?
【问题讨论】:
标签: c# mvvmcross portable-class-library system.net