Beispiel #1
0
 protected virtual void OnValidateRemoteCertificate(SslValidateCertificateArgs e)
 {
     if (this.ValidateRemoteCertificate != null)
     {
         this.ValidateRemoteCertificate(this, e);
     }
 }
Beispiel #2
0
        public Boolean OnValidateRemoteCertificate(X509Certificate certificate)
        {
            SslValidateCertificateArgs lEventArgs = new SslValidateCertificateArgs(certificate);

            this.OnValidateRemoteCertificate(lEventArgs);

            return(!lEventArgs.Cancel);
        }
Beispiel #3
0
        public Boolean OnValidateRemoteCertificate(X509Certificate certificate)
        {
            SslValidateCertificateArgs lEventArgs = new SslValidateCertificateArgs(certificate);
            this.OnValidateRemoteCertificate(lEventArgs);

            return (!lEventArgs.Cancel);
        }
Beispiel #4
0
 protected virtual void OnValidateRemoteCertificate(SslValidateCertificateArgs e)
 {
     if (this.ValidateRemoteCertificate != null)
         this.ValidateRemoteCertificate(this, e);
 }