For the complete documentation index, see llms.txt. This page is also available as Markdown.

Add a License Key to Apryse Server SDK

Getting a production license

Now that you’ve built your application, and tested it in a deployment environment, you might be ready to purchase a license. Please contact sales in order to get a license key.

Using the license

Run Apryse SDK in production

A commercial license key is required for use in a production environment. Please contact sales to purchase a commercial key or if you need any other license key assistance.

Your license key may be used to initialize PDFNet in the following manner:

pdftron.PDFNet.Initialize("Insert trial key or commercial license key here after purchase");
PDFNet::Initialize("Insert trial key or commercial license key here after purchase");
PDFNetInitialize("Insert trial key or commercial license key here after purchase")
PDFNet.initialize("Insert trial key or commercial license key here after purchase");
PDFNet.runWithCleanup(callback, "Insert trial key or commercial license key here after purchase");
PDFNet.initialize(applicationContext, R.raw.pdfnet, "Insert trial key or commercial license key here after purchase")
[PTPDFNet Initialize:@"Insert trial key or commercial license key here after purchase"];
PTPDFNet.initialize("Insert commercial license key here after purchase")
PDFNet::Initialize("Insert commercial license key here after purchase");
PDFNet.Initialize("Insert commercial license key here after purchase")
PDFNet.Initialize("Insert commercial license key here after purchase")
PDFNet.Initialize("Insert commercial license key here after purchase")

Initializing PDFNet with the license key will also remove the requirement to run your demo application with elevated rights in a server environment.

If you are in demo/trial mode, a license key is NOT required. You can initialize PDFNet in the following manner:

pdftron.PDFNet.Initialize();
PDFNet::Initialize();
PDFNetInitialize()
PDFNet.initialize();
PDFNet.initialize();
PDFNet.initialize(applicationContext, R.raw.pdfnet, "")
[PTPDFNet Initialize: 0];
PTPDFNet.initialize("")
PDFNet::Initialize();
PDFNet.Initialize()
PDFNet.Initialize()
PDFNet.Initialize()

Common questions

Error: Bad License Key. PDFNet SDK will work in the demo mode. For more information please see PDFNet FAQ or contact support@apryse.com.

Solution: The license key was copied incorrectly. First, make sure no extra white space was added to the beginning or end of the string. Finally, make sure you are copying the entire license key as it was sent to you.

Error: Your AMS expired on.... To upgrade to this version of PDFNet SDK, please renew your AMS subscription.

Solution: Your license is out of date and cannot use newer versions of PDFNet. Either return to using an earlier version, or contact sales to renew.

Exception when using license key - Issue thread on the PDFNet SDK forum.

Last updated

Was this helpful?