DefineProduct

Description

The DefineProduct method initializes basic information required to validate license keys. You must call this function prior to calling any other function.

bool DefineProduct ( int ProductID, string ProductName, 
                    int MajorVersion, int MinorVersion, 
                    string EncryptionKey, string PersistenceKey )

Arguments

Name
Data Type
Description

ProductID

int

ID of the product as generated by Quick License Manager

ProductName

string

Name of the product

MajorVersion

int

Major version of the product (maximum 2 digits)

MinorVersion

int

Minor version of the product (maximum 2 digits)

EncryptionKey

string

string used to encrypt the license key (obsolete)

PersistenceKey

string

GUID associated with the product and automatically generated by Quick License Manager for each product. The evaluation information of the product is stored at runtime in the registry under HKCR\CLSID<GUID>.

Return

Type
Description

bool

true if successful; otherwise false.

Last updated