This function registers the protected software by the license code specified.
Syntax
public static ClientRegistrationResponseCode RegisterSoftware(string licenseCode)
Parameters
String licenseCode - Buffer for the license code.
Return value
Returns status of the software registration via ClientRegistrationResponseCode enum.
Requirements
File: ItpLibraryNetWrapper.cs
Namespace: ItpLibraryNetClient;
Example
private
void
btnRegister_Click(
object
sender, EventArgs e)
{
string
licenseCode = tbLicenseCode.Text.Trim();
ClientRegistrationResponseCode responseCode = ItpLibraryNetWrapper.RegisterSoftware(licenseCode);
MessageBox.Show(responseCode.ToString(), Text);
InitItpControls();
}