The information on this page refers to LM-X versions prior to v5.3.3, which introduced the "-expire" option for xmllicgen. If you are running a previous version of License Statistics, see documentation for previous versions. |
As of March 1, 2014, xmllicgen uses internet clock check; therefore, a connection to the internet is required to be able to successfully generate a license. |
The You can generate licenses using xmllicgen, the license generator provided with LM-X, xmllicgen, is a wrapper for the key generation API. To use the license generator, you must have a security configuration file.
To generate a license:
- Configure the security configuration file with all required features. (To add features, open your LM-X security configuration file in a text editor and make the desired settings. See Feature descriptions.)
Modify the sample file detailed.xml, floating.xml or nodelocked.xml (as detailed in the following sections) to fit your specific business model. Execute the license generator by typing the following command:
option to use the specified file to set and override the output file setting in the XML file:xmllicgen [options] xml_file
You can specify the followingoptions when running xmllicgen:
Option Definition -output file
Sets and overrides the OUTPUTFILE setting in XML file
Note:
-output file
As an alternative to specifying the output file path at the command line, you can specify this information in the XML file (using the optional attribute OUTPUTFILE, as described in LICENSEFILE tag)
...
-expire
Prints the expiration date
-help
Prints help for xmllicgen usage
- If xmllicgen succeeds in creating a license, it returns the error code 0. If xmllicgen fails, it returns the error code 1.