LicenseDecrementLicenseCounter Method (Int32) |
Decrements the License Counter value for the given Installation ID against SOLO Server using the current value in the
InstallationID property.
Namespace: com.softwarekey.Client.LicensingAssembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntaxpublic virtual bool DecrementLicenseCounter(
int decrementAmount
)
Public Overridable Function DecrementLicenseCounter (
decrementAmount As Integer
) As Boolean
public:
virtual bool DecrementLicenseCounter(
int decrementAmount
)
Parameters
- decrementAmount
- Type: SystemInt32
The amount to decrement the LicenseCounter value.
Return Value
Type:
BooleanReturns true if successful. If this is not successful, check the
LastError property for details.
Remarks
This processes a decrement License Counter request using SOLO Server's
XmlActivationService
web service's DecrementLicenseCounter method using the current value in the InstallationID property.
If the Installation ID is not set or is invalid, the
ActivateOnline may be used to get one, or you can call the
ActivateInstallationLicenseFile
method to get the Installation ID and License File at the same time.
See Also