LicenseActivateOnline Method (Int32, String, String) |
Activates online using the specified License ID, customer password or activation password, and endpoint URL.
Namespace: com.softwarekey.Client.LicensingAssembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntaxpublic virtual bool ActivateOnline(
int licenseId,
string password,
string endpoint
)
Public Overridable Function ActivateOnline (
licenseId As Integer,
password As String,
endpoint As String
) As Boolean
public:
virtual bool ActivateOnline(
int licenseId,
String^ password,
String^ endpoint
)
Parameters
- licenseId
- Type: SystemInt32
The License ID (from SOLO Server) to activate. - password
- Type: SystemString
The activation password assigned to the license, or the customer password, in SOLO Server. - endpoint
- Type: SystemString
The full URL to the web service (XmlActivationService) endpoint
Return Value
Type:
BooleanReturns true if successful. If this is not successful, check the
LastError property for details.
Remarks
This processes an online activation using SOLO Server's
XmlActivationService
web service's ActivateInstallation method. This method will only process activation codes and set the
InstallationID property. To get the License File contents from SOLO Server after calling this
method, you would need to call the RefreshLicense method. A more efficient alternative is to
call the ActivateInstallationLicenseFile method instead, which processes the
activation and retrieves the License File from SOLO Server at the same time.
See Also