Click or drag to resize
LicenseGetActivationRequest Method
Builds a manual activation XML request string

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

Parameters

licenseId
Type: SystemInt32
The License ID of the customer's license in SOLO Server
password
Type: SystemString
The activation password assigned to the license, or the customer password, in SOLO Server.

Return Value

Type: String
Returns a string which contains the XML request string the user can post/upload to SOLO Server's manual request processing page. If an empty string is returned, check the LastError property for details.
Remarks

This method generates an XML request string which may be used for manual activation processing, which is where the requests may be processed from another computer with Internet access (if the system being licensed has no or limited Internet connectivity). Before calling this method, the ResetSessionCode method should be called, as this will help prevent your end-users from replaying requests. Once the response has been generated and sent to the user, the user may then open a response file or paste its contents in your application, which can then set the CurrentSessionCode property (if the application needs to support resuming the manual activation processing after having been closed) and use the ProcessActivationResponse method to process the response.

See Also