Is their an API for Kaspersky to scan for virus when uploading files to an file server from an ASP .NET Application.My requirement is that before the saving is done the file must be checked for virus.Is it possible to scan for virus before saving the file .
Asked
Active
Viewed 1.3k times
8
-
saved it somewhere temporary that web users can not use it, then run a command line to virus check it, then move it to the final position. – Aristos Mar 11 '13 at 10:49
-
This post can help you: http://stackoverflow.com/a/35684198/1442180 – Fred Feb 28 '16 at 15:18
1 Answers
4
Kaspersky has a SDK but it seems you will have to contact them to receive any documentation: Antivirus SDK
Many web applications use ClamAV
in daemon (service) mode for these purposes. A plus is that ClamAV
is free of charge.
- Here you can find a library for .NET that talks with
ClamAV
.

Vahid Farahmandian
- 6,081
- 7
- 42
- 62

Knaģis
- 20,827
- 7
- 66
- 80
-
1Clamson appears to be abandoned, what appears to be a modern package is nClam https://github.com/tekmaven/nClam – Chris Marisic Jun 30 '17 at 18:04
-
G DATA has an easy to use API with SDKs in many programming languages: https://www.gdatasoftware.com/oem/verdict-as-a-service – secana Feb 09 '23 at 14:16