KSC Open API  13.1
Kaspersky Security Center API description
List of license key attributes
NameTypeDescription
"KLLIC_APP_ID"paramInt'Primary' application ID.
"KLLIC_APP_IDS"paramParamsApplication IDs and licensed objects. Each entry is also a (paramParams) container that has a name based on ApplicationID (such as "1017", "1105") and contains the KLLIC_APP_ID and KLLIC_LICOBJECT_* values. See Description of the KLLIC_APP_IDS format.
"KLLIC_PROD_SUITE_ID"paramIntProduct set ID.
"KLLIC_CREATION_DATE"paramDateTimeLicense key creation time.
"KLLIC_LIMIT_DATE"paramDateTimeLicense key limit expiration time.
"KLLIC_SERIAL"paramStringLicense key serial number.
"KLLIC_PROD_NAME"paramStringLicense key name.
"KLLIC_KEY_TYPE"paramIntLicense key type. Accepts one of the following values:
  • 1 - Commercial
  • 2 - Beta
  • 3 - Trial
  • 4 - Test
  • 5 - OEM
  • 6 - Subscription
"KLLIC_MAJ_VER"paramStringMajor version.
"KLLIC_LICENSE_PERIOD"paramIntLicense key validity period, in days. Must be ignored for subscription licenses.
"KLLIC_LIC_COUNT"paramIntNumber of licenses.
"KLLIC_LICINFO"paramStringLicense information.
"KLLIC_SUPPORT_INFO"paramStringSupport information.
"KLLIC_CUSTOMER_INFO"paramStringCustomer information.
"KLLIC_PART_NUMBER"paramStringSale list item ID (SKU).
"KLLIC_PARTNER_NAME"paramStringFull partner's name.
"KLLIC_NHOSTS_ASCURRENT"paramIntNumber of Kaspersky products installed on client devices that use a license key as an active one.
"KLLIC_NHOSTS_ASNEXT"paramIntNumber of Kaspersky products installed on client devices that use a license key as an reserve one.
"KLLIC_USED_BY_ADM_SRV"paramIntIndicates whether the Administration Server uses the license key:
  • -1 - Not used
  • 0 - Active
  • 1 - Additional
"KLLICSRV_KEY_INSTALLED"paramBoolThe attribute accepts true if a license key is installed into the server-side license key storage. Otherwise, the attribute accepts false.
"KLLICSRV_KEYDATA"paramParams

This attribute cannot be acquired while enumerating license keys.

The KLLICSRV_KEYDATA contains to fields: required KLLIC_LICFILE and optional KLLIC_IFKEYFILE. If the KLLIC_IFKEYFILE field is missing or accepts true (the value is retrieved from the activation server v1), KLLIC_LICFILE contains binary data of the license key. If KLLIC_IFKEYFILE is false, KLLIC_LICFILE contains the activation code.

"KLLICSRV_AUTOKEY"paramBool

The attribute accepts true if a license key can be distributed automatically. Otherwise, the attribute accepts false.

Auto-distribution prevents the license key overuse if the product on the managed device uses only one license key. Otherwise, it is possible to overuse license keys for [1, used_units - 1]. If the Network Agent version installed on managed devices is less than 13.1, it is also possible to overuse the license key because it does not support separate product license keys.

"KLLIC_NEAREST_EXPIRATION_DATE"paramDateTimeClosest key expiration date on any managed device.
"KLLIC_LICTYPE_IS_SUBSCRIPTION"paramBoolThe attribute accepts true if a license key has the 'Subscription' type. Otherwise, the attribute accepts false.
"KLLIC_SUBSCRINFO_ENDDATE"paramDateTimeDate when the subscription expires or the user enters the grace period.
"KLLIC_SUBSCRINFO_ENDDATETYPE"paramIntSubscription end date type. Accepts one of the following values:
  • 0 (Not Defined) - Subscription has not started yet. The license key should not be considered as an active one.
  • 1 (Unlimited) - Subscription has started. The license key may be considered as an active one.
  • 2 (Limited) - Subscription has started, but it has the end date.
  • 3 (Paused) - Subscription has paused. The license key should not be considered as an active one.
"KLLIC_SUBSCRINFO_GRACETERM"paramIntPeriod that shows how much time the user has to renew his or her subscription, in days.
"KLLIC_SUBSCRINFO_PROVIDERURL"paramStringSubscription provider web page URL.
"KLLIC_SUBSCRINFO_STATE"paramIntCurrent subscription state. Accepts one of the following values:
  • 0 (Active) - Subscription is active. The user can work with the product.
  • 1 (Paused) - Subscription is paused. The license key should not be considered as an active one.
  • 2 (SoftCancelled) - Subscription is active until the end date. After the end date, the user enters a grace period.
  • 3 (HardCancelled) - Subscription is active until the end date.