This function registers the protected software by the license code specified.
Syntax
Public Shared Function RegisterSoftware(licenseCode As String) As ClientRegistrationResponseCode
Parameters
String licenseCode - Buffer for the license code.
Return value
Returns status of the software registration via ClientRegistrationResponseCode enum.
Requirements
File: ItpLibraryNetWrapper.vb
Namespace: ItpLibraryNetClient;
Example
Private
Sub
btnRegister_Click(sender
As
Object
, e
As
EventArgs)
Handles
btnRegister.Click
Dim
licenseCode
As
String
= tbLicenseCode.Text.Trim()
Dim
responseCode
As
ClientRegistrationResponseCode = ItpLibraryNetWrapper.RegisterSoftware(licenseCode)
MessageBox.Show(responseCode.ToString(), Text)
End
Sub