Callback For Archive File Info (COM)

Method

OnFileInArchiveInfoAvailable

Description

This callback method is invoked when Metadefender Core's archive library is enabled and a file from within an archive is analyzed (not a scan result). This callback can be used to obtain more discrete information of a file contained within an archive.

Note

Connection Points

Function prototype

void OnFileInArchiveInfoAvailable
(
VARIANT SessionID,
VARIANT Ticket,
VARIANT FileName,
VARIANT MD5,
VARIANT SHA1,
VARIANT SHA256,
VARIANT FileSize,
VARIANT FileTypeDesc,
VARIANT Reserved
)

Arguments

Argument

Description

Data Type

SessionID

Reserved for future use.

 

Ticket

The ticket that is generated when this scan has been requested.

UINT 32

FileName

The name of the file contained in the archive with the file path of the root archive preceding it.

string

MD5

MD5 signature of the file.

string

SHA1

SHA1 signature of the file.

string

SHA256

SHA256 signature of the file.

string

FileSize

Reserved for future use.

 

FileTypeDesc

Reserved for future use.

 

Reserved

Reserved for future use.