C# windows mobile 6的ssL HTTPS::无法读取传输连接

C# windows mobile 6的ssL HTTPS::无法读取传输连接,c#,windows-mobile,C#,Windows Mobile,我正在尝试在我的C#应用程序中使用Https ssl连接…我得到了 “无法读取线路的传输连接” WebResponse=(HttpWebResponse)request.GetResponse() 我正在强迫你们接受我的证书 ServicePointManager.CertificatePolicy=新的MyPolicy() 公共类MyPolicy:ICertificatePolicy{ public bool CheckValidationResult(ServicePoint sp、X509

我正在尝试在我的C#应用程序中使用Https ssl连接…我得到了 “无法读取线路的传输连接” WebResponse=(HttpWebResponse)request.GetResponse()

我正在强迫你们接受我的证书 ServicePointManager.CertificatePolicy=新的MyPolicy()

公共类MyPolicy:ICertificatePolicy{

public bool CheckValidationResult(ServicePoint sp、X509证书证书证书、WebRequest请求、int问题) { 返回true

}
} 在WM5中工作良好

我能知道水出问题了吗 提前感谢

原因如下:


在某些方面,它可能取决于v使用的.net框架……是这样吗?我使用的是v2.0