Hello All!
How can I use C# to check for Windows Updates? I work for a small college and I'm in the process of trying to write a program to assist the students for getting on our network. We have a few requirements (such as all Windows Updates installed) that they must meet before a student can register their computer on our network. This application will assist them with that and our other requirements, but I can't figure out how to check for updates and simply prompt the student that they need to install the updates before they can continue.
Any help, guidance would be appreciated. Thanks!
Loading
Scott LyslePosted Apr 1, 2007, 10:20 PM
System.Diagnostics.
Process.Start(System.Environment.GetEnvironmentVariable("windir").ToString() +
@"\system32\rundll32.exe",
@"C:\WINDOWS\system32\muweb.dll, LaunchMUSite");
This will fire off the updater website; it does not guarantee that your users will actually update anything.