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

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

  • First scenario: Upload archive with kpd-file to FileTransfer -> call GetPackageInfoFromArchive -> call RecordNewPackage3Async.
  • Second scenario: Upload archive with executable file to FileTransfer -> call GetPackageInfoFromArchive -> call RecordNewPackage3Async.
  • Third scenario: Upload executable file to FileTransfer -> call RecordNewPackage3Async.
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
wstrRequestIDRequest ID used to subscribe to the event that is triggered when operation is complete.