Knowledgebase Home | Favorites | Login Knowledgebase Home | Favorites | Login
Search the Knowledgebase Browse by Category or Article ID
We use custom hardware and can access the serial number information from this equipment. Is there a way to lock LM-X licenses to this hardware device?
User Opinions (2 votes)
100% thumbs up 0% thumbs down

How would you rate this answer?
Helpful
Not helpful
Article ID: 70

Last Updated: 01st April 2008 05:16:05 pm

Yes. You can lock LM-X to your hardware device by specifying a custom hostid and using the LMX_HOSTID_CUSTOM hostid type together with LMX_Hostid or LMX_HostidSimple to retrieve the LM-X hostid. For this to work, you must write a custom hostid callback function as shown in the hostid example that comes with LM-X, and then register this function using:

LMX_SetOption(LmxHandle, LMX_OPT_CUSTOM_HOSTID_FUNCTION, (LMX_OPTION) MyHostid);

After registering the custom callback function, LMX_Hostid and LMX_HostidSimple will call the function and retrieve the LM-X hostid. Note that the LM-X Config Tool and LM-X End-user Utility will not print out custom hostids. To let users send back custom hostids, you must make your own hostid utility and send it to users.

Related Content
Related Articles
Attachments
No attachments were found.
All Content Copyright © 2002-2012 X-Formation. All Rights Reserved.