/deep-secure-threat-removal-sdk

A .Net Core SDK for working with Deep Secure's Threat Removal API

Primary LanguageC#Apache License 2.0Apache-2.0

Deep Secure Threat Removal SDK

This project is a .Net SDK to work with the Deep Secure Threat Removal API.

Build Status Codacy Badge

Installation

NuGet

NuGetNuGet

dotnet add package DeepSecure.ThreatRemoval

Usage

var config = new Config("<url for deep secure instant API>", "Yor API key");
var requester = new Requester(config);
var converter = new ConvertFile(requester);

var path = @"path/to/file.pdf";
var file = File.ReadAllBytes(path);
var response = await converter.Sync(file, MimeType.ApplicationPdf);
var convertedFile = response.File;

Contributing

Pull requests are always welcome. Please read the contributing guidelines.