I'm developing a Windows application that supports remote displays through VNC. Normally the remote displays will be the only visual interface. However, there will be cases where a user will want to view the application with a physical monitor. If a physically attached monitor is connected and switched to a specific input (could be DVI or HDMI), I need to be able to detect that and turn off VNC. Is it possible to detect whether an attached monitor is actively displaying a certain input?
I know that I can get some information about the attached monitors with Screen.AllScreens
but nothing therein seems to quite match what I need. Is there perhaps some method exposed by the Windows API that could give me this information? Can the necessary information be determined from VESA/DDC?