Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java - Is it possible to programmatically determine if the Windows antivirus solution is up to date?

Is it possible to programmatically determine if the Windows antivirus solution is up to date within Java?

like image 486
Stephane Grenier Avatar asked Mar 24 '12 02:03

Stephane Grenier


1 Answers

You can use the productUptoDate property of the AntiVirusProduct WMI Class. Here you have some samples (in C# and Delphi) of use and the location(the namespace depends of the Windows version) of such class.

  • Detect Antivirus on Windows using C#
  • Getting the installed Antivirus, AntiSpyware and Firewall software using Delphi and the WMI

for access th WMI service from Java you can use jinterop or jWMI

like image 90
RRUZ Avatar answered Sep 27 '22 19:09

RRUZ