internal static RemoteCertValidationCallback CreateAdapter(ServicePoint serviePoint, TlsStream secureStream, object request)
 {
     ServicePoint.HandshakeDoneProcedure procedure = new ServicePoint.HandshakeDoneProcedure(serviePoint, secureStream, request);
     return new RemoteCertValidationCallback(procedure.CertValidationCallback);
 }
 internal static RemoteCertValidationCallback CreateAdapter(ServicePoint serviePoint, TlsStream secureStream, object request)
 {
     ServicePoint.HandshakeDoneProcedure procedure = new ServicePoint.HandshakeDoneProcedure(serviePoint, secureStream, request);
     return(new RemoteCertValidationCallback(procedure.CertValidationCallback));
 }