OEBioisostereIsLicensed

bool OEBioisostereIsLicensed(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 Bioisostere TK functionality.

The ‘feature’ argument can be used to check for a valid license to Bioisostere TK along with the following features: ‘python’. Pass nullptr (or 0) to check the default Bioisostere TK feature.

The ‘expdate’ argument can be used to obtain the expiration date of the current Bioisostere TK license. If non-null, the expiration date is written as a YYYYMMDD integer. Pass nullptr to ignore.

See also