Server side virus scan on a file for Windows

橙三吉。 提交于 2019-12-18 13:38:48

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!