How to check programmatically if windows are updated?

I am creating an application in C # using Windows forms, which should determine if antivirus and antispyware programs are installed, updated, and enabled. I did this using WMI.Net, but I can’t find a way to check if Windows 7 is working. Do you know if this is possible through WMI or any other library?

+7
source share
1 answer

You can use the Windows Update Agent API . It:

A set of COM interfaces that allow system administrators and programmers to access Windows Update Services and Windows Server Update Services (WSUS). Scripts and programs can be written to check which updates are currently available for the computer, and then you can install or remove updates.

+10
source

All Articles