Checking license usage

The win_lm_stat function (in syncli_api.dll) returns the current license usage for an application that has been secured with the Licensing Toolkit API.

If you have an xfNetLink .NET application, you can use the value returned by win_lm_stat to create a report of license usage, which can then be used to satisfy license usage requirements for xfServerPlus applications, as described in the PLA. Contact your Synergy/DE account manager for details on license usage requirements.

1. Secure the application using the routines in the Licensing Toolkit API. See Securing xfNetLink applications with License Manager.
2. Write a routine to retrieve the license usage value from win_lm_stat. This function returns the current license usage for the specified application. We recommend that you write a separate utility to do this.
3. Gather the license usage information into a report.
Tip

You can use the win_lm_stat function to check license usage for any application that has been secured using the routines in the Licensing Toolkit API. When checking license usage in a Synergy application, use the Synergy DLL API with the DLL_TYPE_WINAPI convention to call win_lm_stat.