What are the different sql queries which can help in fetching installed antivirus information ? 1 query i know which tells antivirus name ( as shown in the code below ).what are the other information which we can fetch using wql queries?
string wmipathstr = @"\\" + Environment.MachineName + @"\root\SecurityCenter2";
Console.WriteLine(Environment.MachineName );
var searcher = new ManagementObjectSearcher(wmipathstr, "SELECT * FROM AntivirusProduct");
foreach (var instances in searcher.Get())
{
Console.WriteLine(instances.GetPropertyValue("displayName"));
}
Console.Read();