KSC Open API
Kaspersky Security Center API description
params PackagesApi::GetPackageInfoFromArchive ( wstring  wstrFileId,
params  pOptions 
)

Get information from archive (zip, cab, tar, tar.gz) with package data

Parameters:
wstrFileIdFile ID of the archive file uploaded to FileTransfer
pOptionsAdditional parameters
  • "KLPKG_LANG" - Preferred information language (paramString, optional)
Returns:
Package information from archive
  • "KLPKG_KPD" - Data from package kpd-file (paramString). Stored only if kpd-file exists in archive
  • "KLPKG_EULA" - Package EULA (paramString). Stored only if kpd-file exists in archive
  • "KLPKG_FILES" - List of files from archive root folder (paramArray <paramString>)
  • "KLPKG_PRIVACY_POLICY" - Privacy policy (paramBool). Stored only if kpd-file exists in archive