In both cases, the customer name and license code need to be provided.

Make sure the key is separated the same way as mentioned in the below example

Alternatively, the UniPDF license can be loaded via environment variables. This involves setting the following environment variables

• UNIPDF_CUSTOMER_NAME  Needs to be set to the customer name.
• UNIPDF_LICENSE_PATH Needs to point to a file location containing the license key.

If those environment variables are set, UniPDF will automatically load the license key.

For example on Linux:

export UNIPDF_CUSTOMER_NAME=UniDoc


On Windows:

set UNIPDF_CUSTOMER_NAME=UniDoc