X509CertificateDatabaseDispose Method

Releases all resource used by the X509CertificateDatabase object.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public void Dispose()

Implements

IDisposableDispose

Remarks

Call Dispose when you are finished using the X509CertificateDatabase. The Dispose method leaves the X509CertificateDatabase in an unusable state. After calling Dispose, you must release all references to the X509CertificateDatabase so the garbage collector can reclaim the memory that the X509CertificateDatabase was occupying.

See Also