WUPI function overview:
Function
Description
WupiCheckLicenseId
Allocates the license which has been defined in AxProtector with Id = LicenseId.
( LicenseId: Integer )
Used where the definition in AxProtector holds CodeMeter and CodeMeterAct,
then the initially defined license is queried first. Where the first is non-existent,
the second license is queried. A definition may hold any number of optional
licenses, even with the same copy protection system
WupiFreeLicenseId
Releases the license as defined in AxProtector with Id = LicenseId.
( LicenseId: Integer )
WupiQueryInfoId
( LicenseId: Integer, Type: Integer )
WupiDecryptCodeId
( FunctionId: Integer )
WupiEncryptCodeId
( FunctionId: Integer )
WupiCheckDebuggerId
( LicenseId: Integer )
WupiDecreaseUnitCounterId
( LicenseId: Integer, Units: Integer )
According to type, information is read from the currently allocated license entry.
For example, UNIT COUNTER status, FEATURE MAP set, days remaining until
EXPIRATION DATE.
The function defined in AxProtector with Id = FunctionId is decrypted. This call
has to be initiated before executing an encrypted function, otherwise the
software shuts down.
The function defined in AxProtector with Id = FunctionId is encrypted. Call this
function after executing the protected function, to ensure that it gets safely
stored in the memory.
This function calls the Debugger Check from within AxProtector. In case the
Debugger Check detects a debugger, you are able (depending on option
selected) to permanently lock the license defined in AxProtector with Id =
LicenseId.
This function counts down the UNIT COUNTER by a favoured number for a license
as defined in AxProtector with Id = LicenseId.
You use this to integrate a pay-per-click functionality into your software. In case
the license does not have a UNIT COUNTER, this function does not return an error,
i.e. by programming the license you are able to define whether the licensee
receives a pay-per-click or an unlimited license.
WupiGetNativeHandleId
( LicenseId: Integer )
This function gets a handle to be further processed in the native API. This allows
you to access extended functions of the low-level API.
Table 8: WUPI Functions Overview (excerpt)
32 | 44