Managing license files and handling issues

Licensing subsystem constantly monitors licensing files to ensure uninterrupted experience. If you need to add a new license KEY file or replace the old one, you can add this new file to the folder with KAV SDK. Added KEY file is automatically applied in the following cases:

Whenever an issue occurs at start, before KAV SDK is yet initialized, it is handled in SDK using custom error codes or system codes. Other issues may occur when an already initialized and running copy of KAV SDK re-validates licenses and seeks for the newly added. In this case the SDK handles them using notifications through the callback function provided by your application.

If the KEY cannot be applied on initialization, specific error code is returned, as listed below:

If a licensing problem occurs with a running copy of KAV SDK, the SDK calls your callback function with an event notification code, which can be as follows:

These error codes and event notification codes are explained in their respective sections, see below.

Lookup locations of license files

KAV SDK has pre-defined locations where it looks for license files. By default, the SDK monitors program folder for:

If you want to use default locations, please be sure to place your KEY and appinfo.kli files to any of the specified locations.

You may specify custom locations of license files:

When custom locations are specified, KAV SDK monitors these locations but also keeps monitoring the default locations.

See also

Event notification codes

Return values of functions and monitors

Page top