KSC Open API
Kaspersky Security Center API description
LicenseInfoSync::IsLicForSaasValid2 ( params  pKeyInfo,
boolean  bAsCurrent 
)

Check if Administration Server can use the license key.

Parameters:
pKeyInfo(params) License attribute container, required. See List of license key attributes for the names of the license key properties.
bAsCurrent(boolean) true if it is necessary to check a license key as an active one; false if it is necessary to check a license key as a reserved one.
Exceptions:
Throwsexception in case of error.