开发者

Way to know what Windows service pack version is from the browser?

Is开发者_C百科 there a way to find what service pack is installed from the browser? It doesn't look like it's in the System.Web.HttpBrowserCapabilities in asp.net. I need a way to warn users that they need to update to XP Service Pack 3 before proceeding and installing some software.


Not directly, no. Unless it's in the browser's UA, there's no way of detecting it without some kind of plugin.


If you can use VBSCRIPT you can get what you are looking for.

The WMI class Win32_OperatingSystem has the properties ServicePackMajorVersion, ServicePackMinorVersion, Name and Version.

Try samples here: WMI Tasks

Hope this can help

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜