MailKit Documentation
MailKit Documentation
API Reference
MimeKit.Cryptography
OpenPgpContext Class
OpenPgpContext Methods
Dispose Method
Dispose(Boolean) Method
Open
Pgp
Context
Dispose(Boolean) Method
Releases all resources used by the
OpenPgpContext
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
OpenPgpContext
. The
Dispose
method leaves the
OpenPgpContext
in an unusable state. After calling
Dispose
, you must release all references to the
OpenPgpContext
so the garbage collector can reclaim the memory that the
OpenPgpContext
was occupying.
See Also
Reference
OpenPgpContext Class
Dispose Overload
MimeKit.Cryptography Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast