Upgrade.
Juan M. Oviedo > Date: Tue, 9 Jun 2009 09:44:50 -0700 > Subject: [DotNetDevelopment] How do I get the on/off status of the monitor in > .Net 2.0 > From: [email protected] > To: [email protected] > > > I am trying to get the status off the monitor from my c# application. > I need to know wether it is on or off. > I have found an example of how to do this with HwndSource.FromHwnd and > WindowInteropHelper (present in .Net 3.0 and forward). > The example is available at > http://channel9vip.orcsweb.com/posts/jmazner/How-To-Use-Vistas-Power-Management-APIs-to-Be-A-Good-Laptop-Citizen/ > > Unfourtunately I need to get the status of the monitor in .Net 2.0. > > I have googled for hours about this. Does someone know of a way? > Managed or unmanaged > > Thanks > Marcus >
