Click or drag to resize
LicenseActivateOnline Method (Int32, String, XmlActivationService)
Activates online using the specified License ID, customer password or activation password, and SoapHttpClientProtocol object.

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

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.
client
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.
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