Some test text!

Bad license key error

If you see an error that says "Bad License Key. PDFNet SDK will work in the demo mode. For more information please see PDFNet FAQ or contact support [at] pdftron.com.", it means that the license key may have been copied incorrectly. Please verify the following:

  1. Please make sure you’re using the entire key string, but with no whitespace included (i.e. at the end, which can happen when you copy/paste out of an email). For example if your key is YOUR\_PDFTRON\_LICENSE\_KEY, then you would call PDFNet.Initialize(“PDFTRON_LICENSE_KEY”);
  2. Make sure you are running on the licensed OS/platform.
  3. Also, this needs to be in the first instance of PDFNet.Initialize, and there should be only one call to PDFNet.Initialize.
  4. You call PDFNet.Initializebefore any other calls to PDFNet functions.

Get the answers you need: Support