开始使用PC的显示器信息.NET / WMI [英] Get PC's Monitor Information Using .NET / WMI
问题描述
有反正使用WMI / .NET抢监控信息,比如制造商,序列号,显示器尺寸等。?
Is there anyway using WMI/.Net to grab monitor information such as Manufacturer, Serial Number, Monitor Size etc.?
使用脚本是一个选项一样好,甚至我可以查询注册表中直接获取这些信息?
Using a script is an option as well, or can I query the registry directly to get this information?
SELECT * FROM Win32_DesktopMonitor
并没有真正在这种情况下返回任何有用的信息给我。
SELECT * FROM Win32_DesktopMonitor
doesn't really return any useful information for me in this case.
推荐答案
你可能想尝试这种
<一个href="http://myitforum.com/cs2/blogs/rzander/archive/2009/03/30/wmi-provider-to-list-the-monitors-serialnr-and-model-name.aspx">http://myitforum.com/cs2/blogs/rzander/archive/2009/03/30/wmi-provider-to-list-the-monitors-serialnr-and-model-name.aspx
此外,我使用WMI浏览器来查看周围的WMI设置
Also i use WMI Explorer to check around for WMI Settings
<一个href="http://www.ks-soft.net/hostmon.eng/wmi/index.htm">http://www.ks-soft.net/hostmon.eng/wmi/index.htm
干杯
这篇关于开始使用PC的显示器信息.NET / WMI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!