Search code examples
c#.netapiantivirus

.NET virus scanning API


I'm building a web application in which I need to scan the user-uploaded files for viruses.

Does anyone with experience in building something like this can provide information on how to get this up and running? I'm guessing antivirus software packages have APIs to access their functionality programatically, but it seems it's not easy to get a hand on the details.

FYI, the application is written in C#.


Solution

  • I would probably just make a system call to run an independent process to do the scan. There are a number of command-line AV engines out there from various vendors.