mirror of
https://github.com/volodymyrsmirnov/MalwareMultiScan.git
synced 2025-08-25 14:01:13 +00:00
initial commit of a worker skeleton
This commit is contained in:
18
MalwareMultiScan.Shared/Data/Responses/ResultResponse.cs
Normal file
18
MalwareMultiScan.Shared/Data/Responses/ResultResponse.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
namespace MalwareMultiScan.Shared.Data.Responses
|
||||
{
|
||||
public class ResultResponse
|
||||
{
|
||||
public string Backend { get; set; }
|
||||
|
||||
public bool Success { get; set; }
|
||||
|
||||
public DateTime? DatabaseLastUpdate { get; set; }
|
||||
|
||||
public bool Detected => Threats?.Any() == true;
|
||||
|
||||
public string[] Threats { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user