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

Install the Administration Server license key.

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