This function activates the protected software on the computer. In other words this function registers client's computer on the service and starts trial period if it is enabled.
Syntax
Public Shared Function ActivateSoftware() As ClientActivationResponseCode
Parameters
no parameters.
Return value
Returns the status of operation via ClientActivationResponseCode enum.
Requirements
File: ItpLibraryNetWrapper.vb
Namespace: ItpLibraryNetClient;
Example
Private
Sub
btnActivate_Click(sender
As
Object
, e
As
EventArgs)
Handles
btnActivate.Click
Dim
responseCode
As
ClientActivationResponseCode = ItpLibraryNetWrapper.ActivateSoftware()
MessageBox.Show(responseCode.ToString(), Text)
UpdateActivationControls()
End
Sub