MakeKey Utility (Magic xpa 3.x)
The MakeKey utility lets a Magic xpa user create a feature license that can be checked out and in by users of the Magic xpa project.
The implementation of this feature is done in two stages:
-
First, the developer needs to create an appropriate license entry. This license entry will define the number of instances of the application. This license entry is generated using the Makekey.exe file, which is included in the Magic xpa installation. The MakeKey utility works best when run under the installed license server directory. To learn more about using the utility, see Using the MakeKey Utility.
-
Anywhere inside the application logic, the developer can use the LMChkOut function to check out a user instance and the LMChkIn function to check it back in. The LmChkOut function will fail if the maximum allowed instances has been reached. According to the success or failure of the function, the developer can decide how the application logic should continue.
![](/PublicKnowledge/servlet/rtaImage?eid=ka2D0000000Thik&feoid=00ND0000005rAjf&refid=0EMD0000000JHr0)
|
The Magic xpa Single User Edition does not include the MakeKey utility.
|
LMUVStr
How Do I Limit the Use of My Application Using the Magic xpa License Mechanism?