开发者

Detecting anti-virus on Windows with WMI - which namespace?

开发者 https://www.devze.com 2023-04-11 17:35 出处:网络
I am coding a antivirus detection code and the WMI namespace differs in some cases as Win7 supports \"\\root\\SecurityCenter2\" and WinXP uses \"\\root\\SecurityCenter\".

I am coding a antivirus detection code and the WMI namespace differs in some cases as Win7 supports "\root\SecurityCenter2" and WinXP uses "\root\SecurityCenter".

Does anyone have a definitive list of namespaces Windows uses开发者_运维问答 for anti-virus registration?

Thanks in advance..


The class (AntiVirusProduct) which return information about the installed antivirus is not documented by Microsoft and only is supported in Windows Desktops editions (Windows XP, Windows Vista and Windows 7). Also depending of the Windows version the properties retrieved by the the this class can change.

Windows XP

Namespace : SecurityCenter

AntiVirusProduct-Properties

companyName
displayName
enableOnAccessUIMd5Hash
enableOnAccessUIParameters
instanceGuid
onAccessScanningEnabled
pathToEnableOnAccessUI
pathToUpdateUI
productUptoDate
updateUIMd5Hash
updateUIParameters
versionNumber

Windows Vista and Windows 7

Namespace : SecurityCenter2

displayName
instanceGuid
pathToSignedProductExe
pathToSignedReportingExe
productState

For more info you can read my article in this location Getting the installed Antivirus, AntiSpyware and Firewall software using Delphi and the WMI.

0

精彩评论

暂无评论...
验证码 换一张
取 消