Certificate.Handle Property


Gets or sets a handle to a Microsoft Cryptographic API certificate context described by an unmanaged PCCERT_CONTEXT structure.

[Visual Basic]
Public Property Handle As IntPtr
[C#]
public IntPtr Handle {get; set;}
[C++]
public: __property IntPtr get_Handle();
public: __property set_Handle( IntPtr );
[JScript]
public function get Handle() : IntPtr;
public function set Handle( IntPtr );

Property Value

A IntPtr value indicating a handle to a Microsoft Cryptographic API certificate context described by an unmanaged PCCERT_CONTEXT structure. This property can be used to construct a X509Certificate or X509Certificate2 class instance.

Remarks

To learn more about email digital signature and encryption, please refer to Digital Signature and E-mail Encryption/Decryption section.
To sign and encrypt email content, please refer to EASendMail SMTP Component.

See Also

Mail.VerifySignature Method
Mail.Decrypt Method

Online Tutorials

Verify Digital Signature and Decrypt Email in C# - S/MIME
Verify Digital Signature and Decrypt Email in VB - S/MIME
Verify Digital Signature and Decrypt Email in C++/CLI - S/MIME