License policy for OEM customers

For OEM customers (for example CAD system vendors) who use EXPRESS DataManagerâ„¢ single user library as part of their software Jotne EPM Technology has the following license policy:
By default the EDM single user library check license when opening a database. A license check starts with a search for an appropriate license key stored as an environment variable. Normally the license key is generated specially for the machine where the library runs. This is not a desired procedure for OEM customers. The solution is that Jotne EPM Technology issues a license key to the OEM customer. This license key must be presented to the EDM single user library by the edmi function edmiSetInternalDataBN with the string "EDM_LICENSE" as the first parameter and the license key as the fifth parameter.
Example:
tSdaiSelect mySelect;
mySelect.value.stringVal = "OC7Go/HSU.nmSpGN4v6hsoIEzCmMCV..T6Az";
mySelect.type = sdaiSTRING;
rstat = edmiSetInternalDataBN("EDM_LICENSE", "", "", 0, &mySelect);
 
In other words: If a call to edmiSetInternalDataBN("EDM_LICENSE", ...) with a valid encrypted license key as parameter is executed before the open database call, the license check routine does not search for a valid license key among the environment variables. Instead the supplied license key is used. The check for correct machine id is not done when edmiSetInternalDataBN("EDM_LICENSE", ...) has been called.