Click or drag to resize
LicenseActivateOnline Method (String, XmlActivationService)
Activates online using the license's current License ID, the specified customer password or activation password, and SoapHttpClientProtocol (.NET Framework) or the XmlWebService (.NET Standard) object

Namespace: com.softwarekey.Client.Licensing
Assembly: PLUSManaged (in PLUSManaged.dll) Version:
public virtual bool ActivateOnline(
	string password,
	XmlActivationService client


Type: SystemString
The activation password assigned to the license, or the customer password, in SOLO Server.
Type: com.softwarekey.Client.WebService.XmlActivationServiceXmlActivationService
For the .NET Framework PLUSManaged assembly, the SoapHttpClientProtocol derived object used to perform the web service call.
For the .NET Standard PLUSManaged assembly, the XmlWebService derived object used to perform the web service call.

Return Value

Type: Boolean
Returns true if successful. If this is not successful, check the LastError property for details.

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