detect currently installed anti-virus [duplicate]

2020-03-25 07:59发布

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?

2条回答
We Are One
2楼-- · 2020-03-25 08:31

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://blogs.msdn.com/b/alejacma/archive/2008/05/12/how-to-get-antivirus-information-with-wmi-vbscript.aspx

查看更多
▲ chillily
3楼-- · 2020-03-25 08:36

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.

查看更多
登录 后发表回答