.NET 病毒扫描 API [英] .NET virus scanning API
问题描述
我正在构建一个网络应用程序,我需要在其中扫描用户上传的文件是否有病毒.
I'm building a web application in which I need to scan the user-uploaded files for viruses.
有构建此类项目经验的人是否可以提供有关如何启动和运行此项目的信息?我猜防病毒软件包有 API 可以以编程方式访问其功能,但似乎不太容易掌握细节.
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.
仅供参考,该应用程序是用 C# 编写的.
FYI, the application is written in C#.
推荐答案
我可能只是通过系统调用来运行一个独立的进程来进行扫描.有许多来自不同供应商的命令行 AV 引擎.
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.
这篇关于.NET 病毒扫描 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!