is there a way in C# to identify all monitors connected to the system and choose which ones to turn on, off or low power? The previous questions i found on SO just turn off all monitors.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Can you use http://pinvoke.net/default.aspx/user32.EnumDisplayMonitors? Seems like once you get the handle then you can use PInvoke like it's used in the replies to the following question... Turn on/off monitor