How to convert this code to VB.net.
ServicePointManager.ServerCertificateValidationCallback = delegate(Object obj, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors)
{
return true;
};
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Karthikeyan AnbarasanPosted Apr 8, 2011, 3:38 AM
Martin van EerdePosted Mar 21, 2011, 9:06 AM
Fazle HadiPosted Mar 21, 2011, 6:23 AM
ServicePointManager.ServerCertificateValidationCallback = Function(obj As [Object], certificate As X509Certificate, chain As X509Chain, errors As SslPolicyErrors)Return True
End Function