Kaspersky Security Center Automation  10.0
HRESULT IKlAkLicense::EnumKeys ( [in] IKlAkCollection pFields2Return,
[in] IKlAkCollection pSortFields,
[in] IKlAkParams pOptions,
[out, retval] IKlAkChunkAccessor **  ppChunkAccessor 
)

Enumerate license keys.

Enumerates license keys. See Sample. Enumerating license keys.

Parameters:
pFields2Return array of license key attributes names to return, possible values:
  • KLLIC_APP_ID
  • KLLIC_PROD_SUITE_ID
  • KLLIC_CREATION_DATE
  • KLLIC_LIMIT_DATE
  • KLLIC_SERIAL
  • KLLIC_PROD_NAME
  • KLLIC_KEY_TYPE
  • KLLIC_MAJ_VER
  • KLLIC_LICENSE_PERIOD
  • KLLIC_LIC_COUNT
  • KLLICSRV_KEY_INSTALLED,
  • KLLIC_LICINFO
  • KLLIC_SUPPORT_INFO
  • KLLIC_CUSTOMER_INFO
pSortFields array of containers each of them containing two attributes (sorting is supported by Administration Server 7.0 or higher.):
  • "Name" of type String, name of attribute used for sorting
  • "Asc" of type Boolean, ascending if true descending otherwise
pOptions options, possible attributes:
  • KLLICSRV_ENOPT_INSTALLED_ONLY (boolean) -- true if to enumerate only installed keys, enumerate all known keys otherwise
Return values:
ppChunkAccessor IKlAkChunkAccessor server-side collection of found keys