开发者

C# selectively turn off monitor

开发者 https://www.devze.com 2023-01-15 20:20 出处:网络
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

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.


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

0

精彩评论

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