How to detect antivirus on Windows Server 2008 in C#?

后端 未结 5 1642
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-14 18:29

I have seen code samples similar to the following numerous times in my search for an answer:

using System;
using System.Text;
using System.Management;

names         


        
5条回答
  •  既然无缘
    2020-12-14 19:18

    I faced this problem some time ago for a client and I ended up performing a dictonary search on the local system drivers and processes looking for a pattern of know anti-virus signatures (such as folder names, processes names, etc...) it's not 100% sure because somewhere someone will donwload a brand new anti-virus that you're unware of, but that apart, it was very effective...

提交回复
热议问题