# OEQuacPacIsLicensed¶

bool OEQuacPacIsLicensed(const char *feature=0, unsigned int *expdate=0)


Determines whether a valid license file is present. This function may be called without a legitimate run-time license to determine whether it is safe to call any Quacpac TK functionality.

The ‘feature’ argument can be used to check for a valid license to Quacpac TK along with the following features: ‘python’, ‘java’, or ‘clr’ (for CSharp).

The ‘expdate’ argument can be used to obtain the expiration date of the current Quacpac TK license.

See also