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

Namespace: com.softwarekey.Client.Licensing
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.18.3.0
Syntax
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: 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