问题
I need to scan uploaded files on a windows server through my ASP.NET web app. However, am not aware if anti virus packages come with an "api" sort of a thing using which i can programmatically trigger the scan. If possible i would really want to avoid any kind of windows scheduling to trigger the antivirus and then report the errors.
回答1:
ClamAV offers API support and is free. I am also sure that many other commercial vendors offer the same at a price (generally large).
http://www.clamav.net/doc/latest/html/node32.html
Note: you will need to access the functionalities through P/Invokes.
来源:https://stackoverflow.com/questions/1264891/server-side-virus-scan-on-a-file-for-windows