Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/uvasoftware/scanii-dotnet
- Owner: uvasoftware
- License: apache-2.0
- Created: 2018-03-30T13:07:17.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2023-10-10T12:07:20.000Z (about 1 year ago)
- Last Synced: 2024-11-14T12:20:34.916Z (about 2 months ago)
- Topics: client, csharp, dotnet, malware, nuget-package, scanii
- Language: C#
- Homepage: https://scanii.com
- Size: 50.8 KB
- Stars: 2
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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)