Click or drag to resize
Pdftools logo

ModuleDispose Method

Close all open sessions and unload the module

After unloading, the module cannot be loaded again in the same process. Proper unloading is crucial. Otherwise, the application might crash and/or the HSM, USB token, or smart card might not be unlocked.

When using the C interface, this method must not be called from the context of the destructor of a global or static object, nor an atexit() handler, nor the DllMain() entry point.


Namespace: PdfTools.Crypto.Providers.Pkcs11
Assembly: PdfTools (in PdfTools.dll) Version: 1.1.0.0
Syntax
C#
public void Dispose()

Implements

IDisposableDispose
See Also