KSC Open API  13.1
Kaspersky Security Center API description
array OsVersion::GetAttributesByOs ( array  pOsIndices)

Acquire attributes for specified operating systems.

Returns values of attributes for specified operating systems.

Parameters:
pOsIndicesparamArray, array of operating system IDs, each entry has type (paramInt) (see KLWNF_OS_ID)
Returns:
paramArray of the same size as pOsIndices, each entry is a (paramParams) container. The entry container is either empty (if bad ID was put into the corresponding entry of the pOsIndices array) or filled with following attributes:
  • KLHST_WKS_CTYPE
  • KLHST_WKS_PTYPE
  • KLHST_WKS_OS_VER_MAJOR
  • KLHST_WKS_OS_VER_MINOR
  • KLHST_WKS_OS_NAME
  • KLWNF_OS_IS_SERVER
  • KLHST_WKS_OS_BUILD_NUMBER
See also: