Chameleon and Iguana Plugin C# Class Libraries

License.GetRegistrationCode Method 

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

[Visual Basic]
Public Function GetRegistrationCode( _
   ByRef ExpiryDate As Date, _
   ByVal LicenseType As String, _
   ByVal MachineId As String, _
   ByVal EmailAddress As String, _
   ByVal Password As String, _
   ByVal Description As String _
) As String
[C#]
public string GetRegistrationCode(
   out DateTime ExpiryDate,
   string LicenseType,
   string MachineId,
   string EmailAddress,
   string Password,
   string Description
);

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.

Remarks

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.

See Also

License Class | iNTERFACEWARE.Chameleon Namespace