locked
How to programatically detect if the user turned off monitor or tuned it to a different channel? RRS feed

  • Question

  • I am developing a windows application in .NET (c#) and I need to find out how I can programmatically detect if the monitors connected to the desktop that the app is running on have been turned off either by the user or OS or if the user tuned the tv/monitor to a different channel, so the output from my app cannot be seen on the monitor. Is there a .net library or WIN32 API that i can use to get monitor status?

    Thank you.
    -Yuliya,
    Thursday, October 22, 2009 2:01 AM