Return license information about the system

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX


xcall lm_info(lm_stat, lm_site)



Returned with the License Manager site status. This will be 0 (success) or one of the codes listed in the Licensing Toolkit Error Codes table. (n)


Returned with the site information record: (a)

             ,a6   ;Blanks
lm_licensee  ,a50  ;Licensee name entered during registration
lm_regstr    ,a12  ;Registration string
lm_regdat    ,d8   ;Registration date (YYYYMMDD)
lm_timout    ,d8   ;Pre-install time-out date (YYYYMMDD)


The LM_INFO subroutine returns License Manager information about the system on which your application is running. The default pre‑install time‑out date is 14 days after the registration date.

The status value returned in lm_stat is for checking success or providing an application‑related license error message. This value has no effect on your application; you must write code to handle the returned status.

You can access system error codes with %SYSERR, which may assist in troubleshooting.


xcall lm_info(myStat, mySiteInfo)

See also lm_auth.dbl in Licensing_TK_Examples.zip, available from Synergy CodeExchange in the Resource Center on the Synergex website.