CreateLicenseKeyEx5

Description

Creates a computer-bound license key that has an expiry date, a number of licenses, and a specific set of features that are enabled. This API is functionally identical to CreateLicenseKeyEx4. It was created to accommodate programming languages such as VB6 that cannot handle the array data type used in CreateLicenseKeyEx4.

string CreateLicenseKeyEx5 (System.DateTime expiryDate, int expiryDuration, 
                            int numberOfLicenses, ELicenseType licenseType, 
                            string machineID, string Features)

Arguments

Return

Remarks

Prior to calling this function, you must call DefineProduct and set the PrivateKey property. Note that including the PrivateKey in your code is not recommended. Creation of license keys should never be done from within the application but rather from a server that the user does not have access to.

Last updated