对 Windows 文件的服务器端病毒扫描 [英] Server side virus scan on a file for Windows

查看:27
本文介绍了对 Windows 文件的服务器端病毒扫描的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要通过我的 ASP.NET Web 应用程序扫描 Windows 服务器上上传的文件.但是,我不知道防病毒软件包是否带有api"之类的东西,我可以使用它以编程方式触发扫描.如果可能的话,我真的想避免任何类型的 Windows 调度来触发防病毒软件,然后报告错误.

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.

推荐答案

ClamAV 提供 API 支持并且是自由.我也确信许多其他商业供应商以相同的价格(通常很大)提供相同的价格.

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

注意:您需要通过 P/Invokes 访问这些功能.

Note: you will need to access the functionalities through P/Invokes.

这篇关于对 Windows 文件的服务器端病毒扫描的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆