Exemple #1
0
 public SslServerTrustDialog(SslServerCertificateInfo certificateInfo, SslFailures failures, bool maySave)
     : this()
 {
     this.CertificateInfo = certificateInfo;
     this.Failures        = failures;
     this.MaySave         = maySave;
 }
Exemple #2
0
 SslServerTrustCredential SslServerTrustPrompt(string realm, SslFailures failures, SslServerCertificateInfo info, bool maySave)
 {
     using (SslServerTrustDialog sslServerTrustDialog = new SslServerTrustDialog(info, failures, maySave))
     {
         if (sslServerTrustDialog.ShowDialog(HostServicesSingleton.HostServices.Wb as Form) == DialogResult.OK)
         {
             return(sslServerTrustDialog.Credential);
         }
     }
     return(null);
 }