Scan files
Description
This method is used to scan files.
Package Details
Interface
IVirusScanManager
Syntax
IVirusScanManager.ScanFile(string filename, byte[] attachment);
API
[POST] /api/v1/file-scan
Parameters
string filename: file name
byte[] attachment: file data
Returns
200 OK - FileScanResult
Exemple
string filename = "file.file.txt";
byte[] attachment = { 1, 2, 3, 4, 0xBA, 0xDF, 0x00, 0x0D };
var result = await _virusScanManager.ScanFile(filename, attachment);