BIAPCheckLicense

 

#include "BiAutoPrint.h"

 

BOOL BIAPCheckLicense(BOOL bSilent, int* iDemoRemainingDays);

 

Description

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

 

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.

 

Requirements

 

Header:

BiAutoPrint.h

Library:

BiAutoPrint32.lib (for 32 bit)

BiAutoPrint64.lib (for 64 bit)

DLL:

BiAutoPrint32.dll (for 32 bit)

BiAutoPrint64.dll (for 64 bit)