So, I have a 3 monitor setup on my windows machine, and whenever I'm performing graphically intense operations, such as rendering 3d models, playing video games, or rendering video footage, its taking a severe performance hit due to all the extra screens adding lots of overhead.
I can prevent this overhead by disconnecting/disabling my screens from control panel, or pulling the displayport cables out. Just turning the screens off doesn't help.
So I was wondering if .NET or atleast user32.dll or something had utilities for disconnecting a selected screen programmatically so it dissapears from the selectable monitors you can find in the Control Panel (settings in W10) ?
I tried looking for similar questions/answers and this is the closest I got: Turn on/off monitor
However trying that, it does disconnect both of my screens, but brings them back up after a few seconds