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
 
Back
Top