namespace com.hitrust.b2b.trustpay.client
|
|
{
|
|
using System;
|
|
using System.Net;
|
|
using System.Security.Cryptography.X509Certificates;
|
|
|
|
public class MyPolicy : ICertificatePolicy
|
|
{
|
|
public bool CheckValidationResult(ServicePoint srvPoint, X509Certificate certificate, WebRequest request, int certificateProblem)
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
|