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

            this.OnValidateRemoteCertificate(lEventArgs);

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

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