protected virtual void OnValidateRemoteCertificate(SslValidateCertificateArgs e) { if (this.ValidateRemoteCertificate != null) { this.ValidateRemoteCertificate(this, e); } }
public Boolean OnValidateRemoteCertificate(X509Certificate certificate) { SslValidateCertificateArgs lEventArgs = new SslValidateCertificateArgs(certificate); this.OnValidateRemoteCertificate(lEventArgs); return(!lEventArgs.Cancel); }
public Boolean OnValidateRemoteCertificate(X509Certificate certificate) { SslValidateCertificateArgs lEventArgs = new SslValidateCertificateArgs(certificate); this.OnValidateRemoteCertificate(lEventArgs); return (!lEventArgs.Cancel); }
protected virtual void OnValidateRemoteCertificate(SslValidateCertificateArgs e) { if (this.ValidateRemoteCertificate != null) this.ValidateRemoteCertificate(this, e); }