LicenseIsOk
 LicenseGetInfoValueByName


LicenseIsOk

void
BOOL LicenseIsOk (void)

 
Routine Description:

 
Returns the license status as a Boolean value.

 
Arguments:

 
None.

 
Return Value:

 
True - if the license status is OK. Otherwise the "False" value is returned.

 
Notes:

 
This flag must be checked either at the start of your application or periodically (for example, once a day). If the flag is not TRUE, it means USB Network Gate does not function correctly, device sharing and connections to remote devices are not available.

 
To get more detailed information on the activation status, use the function LicenseGetInfoValueByName 
and request the parameter value "LICSTATUS".


LicenseGetInfoValueByName


BOOL
LicenseGetInfoValueByName (
VARIANT strValueName,
VARIANT *pValue
)

 
Routine Description:

 
Returns the value of the variable by its name.

 
Arguments:

 
strValueName - name of the value in question.

 
pValue - pointer to the output value.

 
Return Value:

 
True - if the function was executed successfully. False - if an error occurred.

 
Notes:

 
Supported value names are: LICTYPE, LICUSERNAME, LICREGCODE, LICDEVMAX, LICDEVREM, 
LICTIMEREM, LICKOPIES, LICEXPIRED, LICDESCR, LICSTATUS