Skip to content

Commit

Permalink
Update TROUBLESHOOTING to reflect API changes from #54
Browse files Browse the repository at this point in the history
  • Loading branch information
jariq committed Aug 20, 2017
1 parent 84747ff commit 66da8df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ else
pkcs11Library = @"c:\path\to\pkcs11-x86.dll";
}

using (var pkcs11 = new Net.Pkcs11Interop.HighLevelAPI.Pkcs11(pkcs11Library, true))
using (var pkcs11 = new Net.Pkcs11Interop.HighLevelAPI.Pkcs11(pkcs11Library, AppType.MultiThreaded))
{
// Do something interesting
}
Expand Down Expand Up @@ -56,7 +56,7 @@ System.Environment.SetEnvironmentVariable("PKCS11_LOGGER_LIBRARY_PATH", pkcs11Li
System.Environment.SetEnvironmentVariable("PKCS11_LOGGER_LOG_FILE_PATH", logFile);
System.Environment.SetEnvironmentVariable("PKCS11_LOGGER_FLAGS", "64");

using (var pkcs11 = new Net.Pkcs11Interop.HighLevelAPI.Pkcs11(loggerLibrary, true))
using (var pkcs11 = new Net.Pkcs11Interop.HighLevelAPI.Pkcs11(loggerLibrary, AppType.MultiThreaded))
{
// Do something interesting
}
Expand Down

0 comments on commit 66da8df

Please sign in to comment.