views:

58

answers:

1

Hi am trying Https ssl connection in my C# application...i am getting "Unable to read transport connection" for the line WebResponse response = (HttpWebResponse)request.GetResponse();

I am forcing Certificate to be accepted ServicePointManager.CertificatePolicy = new MyPolicy();

public class MyPolicy : ICertificatePolicy {

public bool CheckValidationResult(ServicePoint sp, X509Certificate cert, WebRequest req, int problem) { return true;

}

} Working fine in WM5

may i plz know the wat is goin wrong?plz thanks in advance