TCHMlicense Component
Properties Methods

This class can be used by customers to automate the registration of Chameleon run-time instances. This class allows you to programmatically register Chameleon on a user's machine without any user input.

Unit
CHMnet

Declaration
TCHMlicense = class(TComponent)

Description

Beginning in version 4.5, this class allows you to register Chameleon without the machine being registered having a direct connection to the Internet. This is useful for companies that want to automate the registration code setup for Chameleon. To make it easy for companies to incorporate Chameleon into their existing licensing process, this class allows you to:

(1) Generate a unique Machine ID for the host machine.

(2) Request a non-expiring license for the Machine ID using the user name and password for the host member's account. The automated registration process involves communication with an iNTERFACEWARE server via HTTP. This can be accomplished either from a centrally located computer, or from the actual host machine.

(3) Apply the registration code to the host machine.

This process makes it easy for companies to get the machine IDs centrally using their own licensing, meaning they can add the extra Chameleon information to their own license file.

Please see http://www.interfaceware.com/manual/api_registration.html for details.


Properties
IsLicensed Returns true if the machine has a valid Chameleon license.
MachineId This method returns the unique machine ID of the machine to register.
Proxy When a Web proxy is required, this property specifies the IP address or hostname for the Web proxy to use.
Methods
FetchRegistrationCode Returns the non-expiring runtime registration code for the unique machine ID from iNTERFACEWARE's server.
FetchTrialRegistrationCode Returns the expiring trial registration code for the unique machine ID from iNTERFACEWARE's server.
GetRegistrationCode Returns the expiring trial registration code for the unique machine ID from iNTERFACEWARE's server.
RegisterHost This method registers the machine using the given registration code.
RegisterTrialHost Registers the machine using the given expiring trial registration code and expiry date.

Chameleon Delphi Documentation