arun ragam

arun ragam

  • NA
  • 64
  • 2.6k

How to GET ANTIVIRUS Details from WINDOWS SERVER -2012 r2 ?

Sep 24 2015 2:52 AM


How to GET ANTIVIRUS Details from WINDOWS SERVER USING C#? I am unable to get Installed AntiVirus product with WMI on Windows Server ?

string wmipathstr = @"\\" + Environment.MachineName + @"\root\SecurityCenter";

string wmipathstr = @"\\" + Environment.MachineName + @"\root\SecurityCenter2";

This piece of code will be working only for windows 7 ,windows 8 , vista.

Please help me regarding it.