The information on this page refers to LM-X version 4.7.2 or newer, which added an example of using a token-based licensing model to the LM-X SDK. |
You can run an example of how to retrieve information on a token-based license to list all available information about any token dependencies the feature has.
The embedded example is located in the LM-X SDK under LMX_SDK_INSTALLATION_PATH/examples/token.
To run the embedded example and start the license server, lmx-serv, with a token.lic license:
Run the following command:
|
The above command will start a license server and read a token.lic file that will be served by this server. (Note that the license server, lmx-serv, must be located in the path so that the copied/pasted command can work.)
Note: This setting applies only to floating/network licenses.
The default location of the token is as follows:
The following command will run the token program and query a license server to obtain all available details of the "myproduct" feature:
|
Note that the token program, token, must be located in the path so that the copied/pasted command can work.