Detect hibernation

  • Thread starter Thread starter johnsto
  • Start date Start date
J

johnsto

Anyone know if it's possible for a .NET program to detect if the system
has just come out of hibernation? If so, how? :) I'm using C#.

TIA
 
Anyone know if it's possible for a .NET program to detect if the system
has just come out of hibernation? If so, how? :) I'm using C#.

I haven't tried this myself, but check if the
Microsoft.Win32.SystemEvents.PowerModeChanged event fires.



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top