VirusTotalNet does not work offline in .NET Core 7

132 views Asked by At

I use the VirusTotalNet library, but this library works online. If I want it to be offline, what library should I use so that I can get the information daily and then I can find the virus file offline?

I also want the desired library to work in Iran and not be sanctioned.

VirusTotal v = new VirusTotal("****");

FileInfo fileInfo = new FileInfo("d:\\test.txt");

FileReport fileReport = await v.GetFileReportAsync(fileInfo);

ScanResult fi = await v.ScanFileAsync(fileInfo);

The error text that I receive if the device is offline:

No such host is known. (www.virustotal.com:443)
1

There are 1 answers

1
Renat On

VirusTotalNet nuget on its website states that:

VirusTotal.NET - A full implementation of the VirusTotal 2.0 API

Because it's an API client, it requires access to the internet