https://github.com/twsl/virustotal.net
Interact with a implementation of the public interface without the struggle of API limitations.
https://github.com/twsl/virustotal.net
api-client c-sharp virustotal
Last synced: 3 months ago
JSON representation
Interact with a implementation of the public interface without the struggle of API limitations.
- Host: GitHub
- URL: https://github.com/twsl/virustotal.net
- Owner: twsl
- License: mit
- Created: 2019-05-07T18:40:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-08T10:04:17.000Z (about 6 years ago)
- Last Synced: 2025-01-06T16:14:57.530Z (5 months ago)
- Topics: api-client, c-sharp, virustotal
- Language: C#
- Size: 30.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Nerdicus.VirusTotal.NET
[](https://dev.azure.com/twsl/VirusTotal.NET/_build/latest?definitionId=2&branchName=master)
[](https://www.nuget.org/packages/Nerdicus.VirusTotal.NET/)
[](https://www.nuget.org/packages/Nerdicus.VirusTotal.NET/)Interact with a implementation of the public interface without the struggle of API limitations.
This repository is based on https://github.com/Genbox/VirusTotal.Net/ which should be used for most use cases.## Features
* Fully asynchronous API
* Scan and get reports of scanned files
* Scan and get reports of URLs
* Get reports for IP addresses and domains## Example
```csharp
VirusTotal virusTotal = new VirusTotal();//Create the EICAR test virus. See http://www.eicar.org/86-0-Intended-use.html
byte[] eicar = Encoding.ASCII.GetBytes(@"X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*");//Check if the file has been scanned before.
var fileReport = await virusTotal.GetFileReportAsync(eicar);Console.WriteLine($"Seen before: {fileReport.Data.Attributes.LastAnalysisDate}");
```