GetRegistrationCode method

Returns the expiring trial registration code for the unique machine ID from iNTERFACEWARE's server.

Applies to

TCHMlicense

Declaration

function GetRegistrationCode(var ExpiryDate : TDateTime; LicenseType : String; MachineId : String; EmailAddress : String; Password : String; Description : String) : String;

Description

This method uses your Internet connection to send an HTTP request on port 80 to the iNTERFACEWARE server. The HTTP request consists of your email address and password (which you use to log into your member's account) and a machine ID uniquely identifying the machine to register. The request also needs to specify the license type - i.e. 'Chameleon Runtime' etc. If the request is successful, the iNTERFACEWARE server returns the expiring trial registration code for this unique machine ID. The Description of the registration code will be used to identify it and determine the nature of the license.

Parameters
ExpiryDate Returns the expiry date of the registration code.
LicenseType This is the name of license type to allocate as defined in the My Member's account. i.e. 'Chameleon Trial License' etc.
MachineId The Machine ID of the machine to register.
EmailAddress Email address used to login to iNTERFACEWARE's members site.
Password Password used to login to iNTERFACEWARE's members site.
Description A description of the registration code.


Chameleon Delphi Documentation