Using PDFTron in C# WebApi project


I try to use PDFTron in a webapi project. Tried out the nugetpacked and PDFNetDotNet4 x86. When starting the project and the PDFTron will be loaded with the using namespace, an exception occurs with error "Access Denied". starting a testproject and call the same controller function, everything works fine.
Could somebody help me or point me in the right direction?


Can you please post the full error message.

Also, what do you mean exactly by “PDFTron will be loaded with the using namespace”? Some code snippets would help a lot.

Finally, please review the following.
Getting Started: