问题
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
来源:https://stackoverflow.com/questions/3705019/c-sharp-selectively-turn-off-monitor