检测当前安装的防病毒软件
可能的重复:
使用 C# 检测 Windows 上的防病毒
如何检测是否安装了病毒扫描程序和/或防火墙? (以及其他一些与安全相关的问题。)
有没有办法在不搜索已知进程的情况下检测当前安装的杀毒软件?
Possible Duplicates:
Detect Antivirus on Windows using C#
How to detect if a virusscanner and/or firewall is installed? (And a few other security-related Q's.)
is there a way to detect currently instaled av without searching for known processes?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,有。您可以使用 WMI(我假设您正在询问 Windows)来检查已安装的防病毒程序实例。从 C# 来看,这非常简单,这个 链接 很好地解释了如何操作。还可以从 C++ 访问 WMI,此处对此进行了解释。另外,对于任何与 WMI 相关的内容,我强烈推荐 WMI Studio。
Yes there is. You can use WMI, I assume you are asking about Windows, to check installed instances of an anti-virus program. It is quite simple from C# and this link gives a good explanation of how to do it. It is also possible to access WMI from C++ and that is explained here. Also for anything WMI related I highly recommend the WMI Studio.
这取决于 AV 软件和操作系统,但看起来您可以使用 WMI。这是一个使用 WMI 脚本的示例 - 从 C++ 使用 WMI 超出了我的知识范围,抱歉。
http://web.archive.org/web/20130127234041/http://blogs.msdn.com/b/alejacma/archive/2008/05/ 12/如何使用-wmi-vbscript.aspx获取防病毒信息
It depends on the AV software and the OS but it looks like you can use WMI. Here's an example on using WMI script - using WMI from C++ is outside of my knowledge, sorry.
http://web.archive.org/web/20130127234041/http://blogs.msdn.com/b/alejacma/archive/2008/05/12/how-to-get-antivirus-information-with-wmi-vbscript.aspx