BIAPCheckLicense

 

Description

This function checks the validity of the Auto-print SDK license on the system.

 

Syntax

[BiAutoPrint.]BIAPCheckLicense(bSilent As Boolean, ByRef iDemoRemainingDays As Integer) As Boolean

 

Parameters

Input value: bSilent - Silent mode, when set to true, the function does not show any dialog boxes. If set to false, the function may show error messages.

 

Output value: iDemoRemainingDays – Returns the number of days available for the demo. If the function returns TRUE, but iDemoRemainingDays is 0 or a negative number, the product was registered with a serial number.

 

Return value

TRUE if the license is valid, otherwise FALSE. Use the BIAPGetLastLicenseError() and BIAPGetLastLicenseErrorString() functions to get more information on failure.