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.11.1+7e91adfd8b3958b0a599c3b63ff35d8a15e95be7
Syntax
C#
public void Dispose()

Implements

IDisposableDispose
See Also