KSC Open API  13.1
Kaspersky Security Center API description
int NagNetworkListApi::GetListItemFileInfo ( wstring  listName,
wstring  itemId,
boolean  bNeedPacked,
[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. if nagent has version sc13 or higher it is better to use GetListItemFileInfo2

Parameters:
listName[in] Network list name.
itemId[in] Network list item identifier
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
Returns:
lResult Integer, value from enum NLSTFileOperationResult.