Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

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);

  • No labels