MailKit Documentation
MailKit Documentation
API Reference
MimeKit.Cryptography
BouncyCastleSecureMimeContext Class
BouncyCastleSecureMimeContext Methods
Dispose Method
Dispose(Boolean) Method
Bouncy
Castle
Secure
Mime
Context
Dispose(Boolean) Method
Releases all resources used by the
BouncyCastleSecureMimeContext
object.
Namespace:
MimeKit.Cryptography
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
protected
override
void
Dispose
(
bool
disposing
)
Parameters
disposing
Boolean
True to release both managed and unmanaged resources; false to release only unmanaged resources
Remarks
Call
Dispose
when you are finished using the
BouncyCastleSecureMimeContext
. The
Dispose
method leaves the
BouncyCastleSecureMimeContext
in an unusable state. After calling
Dispose
, you must release all references to the
BouncyCastleSecureMimeContext
so the garbage collector can reclaim the memory that the
BouncyCastleSecureMimeContext
was occupying.
See Also
Reference
BouncyCastleSecureMimeContext Class
Dispose Overload
MimeKit.Cryptography Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast