title: WMI wql queries to fetch antivirus information
body: <p>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?</p>
  
  <pre><code> 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();
  </code></pre>