Click or drag to resize
MimeKit

OpenPgpContextDispose(Boolean) Method

Releases all resources used by the OpenPgpContext object.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
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.
See Also