使用WMI检测Windows上的反病毒 – 哪个命名空间?

我编码防病毒检测代码和WMI命名空间在某些情况下不同,因为Win7支持“\ root \ SecurityCenter2”和WinXP使用“\ root \ SecurityCenter”。

有没有人有一个Windows的反病毒注册使用的命名空间的权威名单?

提前致谢..

返回有关安装的防病毒信息的类(AntiVirusProduct)不由Microsoft记录,只在Windows桌面版(Windows XP,Windows Vista和Windows 7)中受支持。 也取决于Windows版本,这个类检索的属性可以改变。

Windows XP

Namespace : SecurityCenter AntiVirusProduct-Properties companyName displayName enableOnAccessUIMd5Hash enableOnAccessUIParameters instanceGuid onAccessScanningEnabled pathToEnableOnAccessUI pathToUpdateUI productUptoDate updateUIMd5Hash updateUIParameters versionNumber 

Windows Vista和Windows 7

 Namespace : SecurityCenter2 displayName instanceGuid pathToSignedProductExe pathToSignedReportingExe productState 

欲了解更多信息,您可以阅读我在这个位置的文章Getting the installed Antivirus, AntiSpyware and Firewall software using Delphi and the WMI