如何使用C#获取最新的Hotfix/Windows修补程序,并通过WMI从远程服务器安装日期? [英] How to use c# to get Last Hotfix/windows patches Install date from a remote server via WMI?

查看:203
本文介绍了如何使用C#获取最新的Hotfix/Windows修补程序,并通过WMI从远程服务器安装日期?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 

我想从特定的远程服务器获取Windows修补程序和修补程序的最后安装日期吗?

I want to get the last install date of windows patches and hotfixes from a particular remote server?

我想使用wmi.

目前,我知道如何从服务器获取所有修补程序的集合.但是我不想让服务器返回所有数据.我希望服务器仅将最后安装的修补程序/修补程序数据返回给客户端.

Currently, I know how to fetch a collection of all hotfixes from a server. But I don't want to the server return all data. I want the server return the last installed patches/hotfixes data only to client.

 

我搜索了以下解决方案.

I searched out following solution.

http://msmvps.com/blogs/richardsiddaway /archive/2010/02/27/last-hotfix-install-date.aspx

 

但是,我不知道如何将其转换为c#代码.

But, I don't know how to translate it into c# code.

 

有人可以帮我提供c#代码段吗?

Can anyone help me provide the c# code segment?

 

非常感谢您!

詹姆斯

推荐答案

 

 谢谢您的发帖!我建议您将您的问题发布到论坛上

 Thank you for your post!  I would suggest please post your question in the forum

  Microsoft开发人员网络 > ; 论坛首页 > Visual C#论坛 > Visual C#语言

 Microsoft Developer Network > Forums Home > Visual C# Forums > Visual C# Language

位于此处: http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/threads

 located here: http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/threads

 祝你有美好的一天!!!!!

 Have a great day!!!!!


这篇关于如何使用C#获取最新的Hotfix/Windows修补程序,并通过WMI从远程服务器安装日期?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆