ウイルス対策検出コードをコーディングしていますが、Win7は「\ root \ SecurityCenter2」をサポートし、WinXPは「\ root \ SecurityCenter」を使用するため、WMI名前空間が異なる場合があります。
Windowsがアンチウイルス登録に使用する名前空間の明確なリストを持っている人はいますか?
前もって感謝します..
ウイルス対策検出コードをコーディングしていますが、Win7は「\ root \ SecurityCenter2」をサポートし、WinXPは「\ root \ SecurityCenter」を使用するため、WMI名前空間が異なる場合があります。
Windowsがアンチウイルス登録に使用する名前空間の明確なリストを持っている人はいますか?
前もって感謝します..
インストールされたアンチウイルスに関する情報を返すクラス(AntiVirusProduct)は、Microsoftによって文書化されておらず、Windowsデスクトップエディション(Windows XP、Windows Vista、およびWindows 7)でのみサポートされています。また、Windowsのバージョンによっては、thisクラスによって取得されるプロパティが変わる可能性があります。
Windows XP
Namespace : SecurityCenter
AntiVirusProduct-Properties
companyName
displayName
enableOnAccessUIMd5Hash
enableOnAccessUIParameters
instanceGuid
onAccessScanningEnabled
pathToEnableOnAccessUI
pathToUpdateUI
productUptoDate
updateUIMd5Hash
updateUIParameters
versionNumber
WindowsVistaおよびWindows7
Namespace : SecurityCenter2
displayName
instanceGuid
pathToSignedProductExe
pathToSignedReportingExe
productState
詳細については、この場所で私の記事を読むことができますGetting the installed Antivirus, AntiSpyware and Firewall software using Delphi and the WMI
。