KSC Open API
Kaspersky Security Center API description
array OsVersion::GetOsByAttributes ( array  pDataToResolve)

Determine operating system by specified attributes.

Determines operating system by specified attributes KLHST_WKS_CTYPE, KLHST_WKS_PTYPE, KLHST_WKS_OS_VER_MAJOR, KLHST_WKS_OS_VER_MINOR, KLHST_WKS_OS_BUILD_NUMBER.

Parameters:
pDataToResolveparamArray, each entry is a (paramParams) container filled with following attributes:
  • KLHST_WKS_CTYPE
  • KLHST_WKS_PTYPE
  • KLHST_WKS_OS_VER_MAJOR
  • KLHST_WKS_OS_VER_MINOR
  • KLHST_WKS_OS_BUILD_NUMBER (optional)
Returns:
paramArray of the same size as pDataToResolve, each entry is a (paramParams) container. The entry container is either empty (if failed to determine the operating system) or is filled with following attributes:
  • KLWNF_OS_ID
  • KLHST_WKS_OS_NAME
  • KLWNF_OS_IS_SERVER
See also: