简体   繁体   中英

C# selectively turn off monitor

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM