Liviu Mandras
Liviu Mandras

Reputation: 6617

Notification when waking up from hibernation C#

Is there a way to get a notification (event) in my C# 2.0 application when the system wakes up from hibernation?

My application is running in system tray at the moment the system goes into hibernation.

Upvotes: 2

Views: 1094

Answers (1)

dtb
dtb

Reputation: 217263

Have a look at the SystemEvents.PowerModeChanged Event:

SystemEvents.PowerModeChanged Event

Occurs when the user suspends or resumes the system.

Upvotes: 6

Related Questions