KSC Open API  13.1
Kaspersky Security Center API description
int NagNetworkListApi::GetListItemFileInfo2 ( wstring  listName,
wstring  itemId,
wstring  productName,
wstring  productVersion,
boolean  bNeedPacked,
params  pOptions,
[out] params  pFileInfo 
)

Retrieves information about file associated with network list item.

Values for listName and itemId see in Network lists which elements are associated with files Network lists which elements are associated with files. Supported from sc13.

Parameters:
listName[in] Network list name.
itemId[in] Network list item identifier
productName[in] Product internal name. see "strListProductName"
productVersion[in] Product internal version. see "strListProductVersion"
bNeedPacked[in] if true than will be get info about packed content of the file. It is useful if file is the virus and it is needed to load it.
pFileInfo[out] Contains information about queried file. contains following attributes:
  • KLNLST_FILE_NAME, String, name of the file
  • KLNLST_TOTAL_SIZE, Integer, total size of the file
pOptions[in] reserved
Returns:
lResult Integer, value from enum NLSTFileOperationResult.