Description
This method will update license for specific order.
Use this method to reactivate license on original computer or to transfer license to another computer.
Definition (VB.NET)
<WebMethod(), SoapHeader("AuthSoapHeader")> _
Public Function UpdateLicense(ByVal OrderID As Integer, ByVal RemovalCode As String, ByVal OriginalActivationCode As String, ByVal SiteCode As String, ByVal MID As String, ByVal Note As String, ByVal Features As Integer) As Result
Security
This method can be used by both administrator users and clients.
Parameters
Name | Type | Description |
---|---|---|
OrderID | Integer | Order ID value |
RemovalCode | String | Removal code |
OriginalActivationCode | String | Activation code for original license |
SiteCode | String | Site code value |
MID | String | Machine ID (MID) value |
Note | String | License note (max 30 characters long) |
Features | Integer | Custom features value (default: 0) |
Return values
In case of success:
- Result.Status is set to STATUS_SUCCESS
- Result.ActivationCode is set to valid activation code.
- Result.LicenseID is set to LicenseID of new license
In case of error appropriate error status code is returned.
Notes
- If removal code is provided, removal code validity is checked first. If no removal code is provided original activation code is used for identifying license to be updated.
- Client can transfer license to another computer only if valid removal code is provided.
- Client can reactivate license on original computer only if original activation code is provided and number of changed locking parameters is lower then defined limit in ACEN locking options. STATUS_FLEXIBLE_LICENSING_ERROR is returned in case too many locking parameters are different.
- Administrators: license can be updated even without valid removal code (with valid original activation code provided).