PrimoBurner(tm) for C++  4.2
CD, DVD and Blu-ray Software Development Kit
LicenseInfo Class Reference

Provides information about the current license state of the library. More...

#include <PrimoLicense.h>

Inherits Reference.

List of all members.

Public Member Functions

virtual bool_t isLicensed (const char *product, const char *feature)=0
 Checks whether a product feature is licensed.
virtual int32_t licenseStatus ()=0
 Gets the current license status.

Detailed Description

Provides information about the current license state of the library.

A LicenseInfo object is obtained by calling Library::createLicenseInfo() The created object must be released when it is not needed anymore.

See also:
Library::createLicenseInfo

Member Function Documentation

virtual bool_t isLicensed ( const char *  product,
const char *  feature 
) [pure virtual]

Checks whether a product feature is licensed.

Parameters:
productThe product Id. If NULL the default library product is implied.
featureThe feature Id. If NULL the default product feature is implied.
Returns:
TRUE if specified product feature is licensed, FALSE otherwise.
virtual int32_t licenseStatus ( ) [pure virtual]

Gets the current license status.

Returns:
A combination of flags defined in LicenseStatusFlags::Enum.
See also:
LicenseStatusFlags
 All Classes Namespaces Files Functions Variables Enumerations Enumerator