The following are examples of XML files for floating and node-locked licenses, and a more detailed example including multiple features and additional, optional settings. These examples are included as sample files in the LM-X distribution, so you can modify the file that most closely fits your needs.
Node-locked license example
The following shows an example of the XML file content for a node-locked license with a single feature (sample file nodelocked.xml). Note that the CONFIGFILE and OUTPUTFILE settings can be specified either within the file or at the command line (see Generating licenses).
Code Block | ||
---|---|---|
| ||
<LICENSEFILE CONFIGFILE="myprogram.lmx" OUTPUTFILE="nodelocked.lic"> <FEATURE NAME="f1"> <SETTING MAJOR_VERSION="1"/> <SETTING MINOR_VERSION="5"/> <!-- Note that settings below optional and can be enabled or disabled e.g. for unlimited or demo licenses --> <SETTING END="2008-01-01"/> <CLIENT_HOSTID> <SETTING ETHERNET="C8A516AD01AFC9FA"/> </CLIENT_HOSTID> </FEATURE> </LICENSEFILE> |
Floating network license example
The following shows an example of the XML file content for a floating license with a single feature (sample file floating.xml).
...
- The COUNT setting is included, which identifies this as a floating license.
- The CONFIGFILE and OUTPUTFILE settings can be specified either within the file or at the command line (see Generating licenses).
- The feature's version number is not specified, so it will default to 1.0.
Detailed license example
The following shows an example of the XML file content for a floating license with multiple features, plus many of the optional settings such as license sharing, borrowing, etc. (sample file detailed.xml).
...