Custom HostID compare lets you lock your software to one or more HostID values using advanced comparison. With this method, you put multiple HostIDs in the license file, but use them under custom conditions. For example, you might create a condition to lock to the Ethernet card if it is available, and if it is not available, lock to the harddisk. Another example is to include all available information about the machine in the license file, and then allow the software to run if the harddisk and Ethernet HostIDs match, and ignore all other information.
For example, you might lock a feature to the license server machine hostname and at least one of two HostID adapters, instead of requiring that all three HostID values match for the license to be valid.
You cannot call API functions from the HostID callback functions. This will return the error LMX_API_NOT_REENTRANT.
See LMX_OPT_HOSTID_COMPARE_FUNCTION in LMX_SetOption for details on setting this option.