Chameleon and Iguana Plugin C# Class Libraries

License.RegisterTrialHost Method 

Registers the machine using the given expiring trial registration code and expiry date.

[Visual Basic]
Public Sub RegisterTrialHost( _
   ByVal RegistrationCode As String, _
   ByVal ExpiryDate As Date _
)
[C#]
public void RegisterTrialHost(
   string RegistrationCode,
   DateTime ExpiryDate
);

Parameters

RegistrationCode
The registration code.
ExpiryDate
The expiry date of the registration code.

Remarks

This method is deprecated. Please use GetRegistrationCode instead as this method will be removed in the future.

This method checks if the registration code is valid. If the registration code is invalid, the method throws an exception and does not send a request to the iNTERFACEWARE server. If the registration code is valid, this method registers your machine.

See Also

License Class | iNTERFACEWARE.Chameleon Namespace