Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

LMX_STATUS LMX_GetLicenseInfo
(
   LMX_HANDLE LmxHandle,
   LMX_LICENSE_INFO **ppLicenseInfo
);

...

On failure, this function returns an error code in the format described in Return codes.

Remarks

This function is used to retrieve information about both network and local licenses. This function will query one or more license servers to determine the server's status and other license information, and retrieve license information from local paths (a local .lic file or all .lic files in a specified local directory).

This function uses the existing license path set by users through environment variables LMX_LICENSE_PATH, VENDOR_LICENSE_PATH and custom license paths to query each license server and/or local machine (see Controlling license behavior for more information on environment variables). Furthermore, this function takes into account whether automatic server discovery is enabled, which affects queries to license servers.

...

Queries can be used to understand license usage, check whether licenses are available prior to license checkout, and determine whether borrow, grace or trial licenses are currently checked out. The same method is used by both the LM-X End-User Utility and LM-X End-user Configuration Tool to show who is currently using the licenses on a particular server.

...