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.LicensingAssembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntaxpublic virtual bool ActivateOnline(
string password,
XmlActivationService client
)
Public Overridable Function ActivateOnline (
password As String,
client As XmlActivationService
) As Boolean
public:
virtual bool ActivateOnline(
String^ password,
XmlActivationService^ client
)
Parameters
- 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:
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