【问题标题】:Detecting anti-virus on Windows with WMI - which namespace?使用 WMI 在 Windows 上检测防病毒软件 - 哪个命名空间?
【发布时间】:2011-12-04 07:59:06
【问题描述】:

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

是否有人拥有 Windows 用于防病毒注册的命名空间的明确列表?

提前谢谢..

【问题讨论】:

    标签: windows wmi antivirus antivirus-integration


    【解决方案1】:

    Microsoft 未记录返回有关已安装防病毒软件信息的类 (AntiVirusProduct),仅在 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 阅读我的文章。

    【讨论】:

      猜你喜欢
      • 2010-11-22
      • 2018-10-23
      • 2012-11-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-05-08
      • 2011-03-15
      • 1970-01-01
      相关资源
      最近更新 更多