使用窗口服务检测监视器屏幕的开/关 [英] detecting monitor screen ON/OFF using window services
本文介绍了使用窗口服务检测监视器屏幕的开/关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,先生,
我需要使用Windows服务检测监视器的状态(打开/关闭).请给我发送方法.我找不到出路.
Hi sir,
I need to detect the status of the monitor(ON/OFF) using windows services. please send me the way to do it. I cant find a way out.
推荐答案
您可能可以通过WMI进行操作,但不能保证(谷歌是您的朋友).我不得不问,为什么打开或关闭监视器对您的应用程序有影响?
You might be able to do it via WMI, but there''s no guarantee (google is your friend). I have to ask though, why does the monitor being on or off matter to your application?
这篇关于使用窗口服务检测监视器屏幕的开/关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文