Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/uvasoftware/scanii-dotnet

.NET interface to the scanii.com content processing service
https://github.com/uvasoftware/scanii-dotnet

client csharp dotnet malware nuget-package scanii

Last synced: 24 days ago
JSON representation

.NET interface to the scanii.com content processing service

Awesome Lists containing this project

README

        

### Dotnet client for the https://scanii.com content processing service

### How to use this client

This library is installable via Nuget and can be installed via the usual tools, details here: https://www.nuget.org/packages/UvaSoftware.Scanii/

For example, using the dotnet CLI:
```
dotnet add package UvaSoftware.Scanii --version $LATEST_VERSION
```

### Basic usage:

```c#
using System;
using System.Threading.Tasks;
using UvaSoftware.Scanii;

namespace Acme
{
public class Sample
{
static async Task Main(string[] args)
{
var client = ScaniiClients.CreateDefault(args[0], args[1]);
var result = await client.Process("C:\foo.doc");

if (r.Findings.Count == 0)
{
Console.WriteLine("Content is safe!")
}
}
}
}
```

Please note that you will need a valid scanii.com account and API Credentials.

More advanced usage examples can be found [here](https://github.com/uvasoftware/scanii-dotnet/blob/master/UvaSoftware.Scanii.Tests/ScaniiClientTests.cs)

General documentation on scanii can be found [here](http://docs.scanii.com)