KSC Open API
Kaspersky Security Center API description
params PackagesApi::GetExecutablePackages ( int  nPackageId)

Get standalone packages.

Parameters:
nPackageId(int) Package ID (positive integer or 0 = No package filtration, or -1 = Mobile packages only)
Returns:
(paramParams) Packages info container.
  • "KLPKG_evpExecs" - Array of packages (paramArray <paramParams>)
    • "KLPKG_evpExecPkgId" - Standalone package ID (paramInt)
    • "KLPKG_evpPkgId" - Package ID (paramInt)
    • "KLPKG_evpPkgPath" - Path to the file in the shared folder (paramString)
    • "KLPKG_evpPkgSize" - Package size (paramInt)
    • "KLPKG_evpAddPkgId" - Additional package ID (paramInt)
    • "KLPKG_ProdName" - Application ID (paramString)
    • "KLPKG_ProdVersion" - Application version (paramString)
    • "KLPKG_ProdPkgName" - Product package name (paramString)
    • "KLPKG_ProdDisplayVersion" - Application version (paramString)
    • "KLPKG_NagentDisplayVersion" - Agent version (paramString)
    • "KLPKG_CreationDate" - Creation date and time (paramDateTime)
    • "KLPKG_ModificationDate" - Modification date and time (paramDateTime)
    • "KLPKG_IsVirtual" - Is virtual package (paramBool)
    • "KLPKG_IsPublished" - Is package published (paramBool)
    • "KLPKG_NAME" - Package name (paramString)
    • "KLPKG_WebURL" - Package published URL (paramString)
    • "KLPKG_EP_SHA256" - Package Sha256 in hex format (paramString)
Exceptions:
Throwsexception in case of error.