I\'m working on implementing a payment service called Swish and testing it using this guide (Guide is in English even though filename is Swedish).
https://www.getswi
You can attach eventHandler to ServicePointManager
like this:
ServicePointManager.ServerCertificateValidationCallback = ForcedAuthDelegate;
and implementation of ForcedAuthDelegate
should return true
to accept connection:
static bool ForcedAuthDelegate(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors)
{
return true;
}