There exist several options to protect software with CodeMeter. If possible, you should first use an automatic protection to benefit directly from the sophisticated protection knowledge of Wibu-Systems.

To add individual tasks, protection of different modules, pay-per-use models or reading some data, we recommend using the Software Protection API. This easy-to-use API provides functions of the Wibu Universal Protection Interface (WUPI) to integrate your requirements and needs into the automatic encryption engine.

If the Software Protection API does not meet your requirements, you may switch to this Core API. The CodeMeter Core API is at the lowest level of CodeMeter API commands. There is an easy way to switch: the handle used by the WUPI functions can be derived by a function, please check out the Software Protection API Help for WupiGetHandle.

In some cases, an automatic protection (AxProtector) or individual protection (IxProtector used via Software Protection API) can not be used. In these cases, you have also to use this low-level API.

All functions of the Core API are described in detail in this help document. Implementation samples are available.

Please note the following when applying the CodeMeter CoreAPI:

•each function call should be followed by an error check. The return value of the called function should be read and checked, if it indicates an error or not.

•each new instance of a structure should be initialized to avoid unexpected results.