Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Anti virus integration with .net application

Tags:

.net

antivirus

I would like to use anti virus integration with my .net application when uploading files using the application. Has any anti virus API available for .Net?

like image 629
user27052 Avatar asked Oct 11 '08 12:10

user27052


2 Answers

I don't want to resurrect an old question, but I was in need of a solution that the question was asking about. I evaluated a lot of things and came to the conclusion that there was really not one good .NET library for this. So I made my own.

The library is called nClam, and it connects to a ClamAV server. It is open-source (Apache License 2.0) library which has a very simple API. You can obtain it here: https://github.com/tekmaven/nClam. There is also a nuget package: nClam.

I hope someone who stumbles on this question in the future benefits from my library!

like image 100
Ryan Hoffman Avatar answered Nov 02 '22 12:11

Ryan Hoffman


Why not install the antivirus software on the receiving server? That way you could keep the definitions updated, which may not happen on the uploading client app.

like image 44
Turnkey Avatar answered Nov 02 '22 12:11

Turnkey