Skip to content

Files

Latest commit

3d2ca47 · Feb 26, 2025

History

History

license

UniPDF License Loading.

The examples here illustrate how to work with UniPDF license codes and keys. There are two types of licenses.

Offline License

Offline licenses are cryptography based and contain full signed information that is verified based on signatures without making any outbound connections, hence the name "offline". This kind of license is suitable for users deploying OEM products to their customers or where there are strict restrictions on outbound connections due to firewalls and/or compliance requirements.

Metered License (API keys)

The metered license is the most convenient way to get started with UniDoc products and the Free tier enables a powerful way to get started for free. Anyone can get a free metered API key by signing up on http://cloud.unidoc.io/

Metered License (API keys) requires read-write permission to $HOME directory for storing API Keys usage, however you can set HOME environment to another directory if you wish.

Metered License API Key Usage Logs

By setting the SetMeteredKeyUsageLogVerboseMode to true using license.SetMeteredKeyUsageLogVerboseMode(true) you can see full information on the credit usage status of each logs of each document as follows. alt text

Examples