Page tree
Skip to end of metadata
Go to start of metadata

The embedded example is located in the LM-X SDK under LMX_SDK_INSTALLATION_PATH/examples/token.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.

To run the embedded example and start the license server, lmx-serv, with a token.lic license, run the following command.

lmx-serv -l LMX_SDK_INSTALLATION_PATH/examples/token/token.lic

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.)

Usage

The default location of the token is as follows:

  • Under Windows: LMX_SDK_INSTALLATION_PATH/examples/token/token.exe
  • Under Unix: LMX_SDK_INSTALLATION_PATH/examples/token/token

The following command will run the token application and query a license server to obtain all available details of the "myproduct" feature:

token myproduct

Note that the token program, token, must be located in the path so that the copied/pasted command can work.

  • 5 licenses of "prod_a" in version 1.0 
  • 5 licenses of "prod_b" in version 1.0