在我的 PCL 中,我试图调用 SSL 服务,因此我试图像这样设置 ServerCertificateValidationCallback:
System.Net.ServicePointManager.ServerCertificateValidationCallback = ValidateServerCertficate;
但似乎我无法在我的 PCL 中添加对 System.Net 的引用,并且它说类型 ServicePointManager 不存在。
如何在我的 PCL 中引用它?