Exemplo n.º 1
0
 private X509Certificate2 GetCertificate(X509CertificateContainer cert)
 {
     if (cert != null)
     {
         return cert.Certificate;
     }
     else
     {
         return null;
     }
 }
Exemplo n.º 2
0
 private void ViewCertificate(X509CertificateContainer cert)
 {
     if ((cert != null) && (cert.PublicCertificate != null))
     {
         X509Certificate2UI.DisplayCertificate(cert.PublicCertificate, Handle);
     }
 }