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

Create a package using data from archive (zip, cab, tar, tar.gz) or executable file. Use PackagesApi::GetPackageInfoFromArchive to get package information from archive.

Parameters:
wstrFileIdFile ID of the archive or executable file uploaded to FileTransfer
pOptionsAdditional parameters
  • "KLPKG_NAME" - Package name (paramString)
  • "KLPKG_FILE" - Executable filename (paramString). Ignored if File from FileTransfer is archive with kpd-file. Should be the same as name of File from FileTransfer if it is executable file
  • "KLPKG_FILE_PARAMS" - Additional executable file parameters (paramString). Ignored if File from FileTransfer is archive with kpd-file
Returns:
Package attributes List of package attributes