Open Pgp ContextDispose(Boolean) Method
Releases all resources used by the OpenPgpContext object.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
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.