OESaiphIsLicensed

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

This function 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 Saiph TK functionality.

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

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

See also