Can the Symantec Scan Engine API stream files that are in memory to Scan Engine for scanning
Last Updated September 12, 2011
Can the Symantec Scan Engine SDK be used to stream files from memory to Scan Engine for scanning, instead of streaming files that are written to disk on the connector/client machine?
The way the example code is written, as well as the StreamScanRequest class, we assume the file to scan is located on disk. Though if the file to scan happens to be in memory it is still the responsibility of the connector, not the Symantec API, to retrieve the file from memory and pass it to StreamScanRequest send function/method in the form of a byte array. In the case for the C# API, the Start method in the StreamScanRequest function is expecting a parameter which contains the path to the file, "fileNameOnDisk". The string used in this parameter can just be replaced with the path to a empty file or an output file.
Symantec Scan Engine 5.2 Symantec Scan Engine SDK
Imported Document ID: TECH169369
Subscribing will provide email updates when this Article is updated. Login is required to Subscribe