문제

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.

도움이 되었습니까?

해결책

Have a look at the SystemEvents.PowerModeChanged Event:

SystemEvents.PowerModeChanged Event

Occurs when the user suspends or resumes the system.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top