public Pkcs11(string libraryPath) { try { if (!string.IsNullOrEmpty(libraryPath)) _libraryHandle = UnmanagedLibrary.Load(libraryPath); _delegates = new Delegates(_libraryHandle, true); } catch { Release(); throw; } }