在我的PCL中,我试图调用一个SSL服务,所以我尝试设置ServerCertificateValidationCallback,如下所示:
System.Net.ServicePointManager.ServerCertificateValidationCallback = ValidateServerCertficate;
但是似乎我无法在我的PCL中添加对System.Net的引用,它说ServicePointManager类型不存在。
我该如何在我的PCL中引用它?