Link to home
Create AccountLog in
Avatar of PhotoCompManager
PhotoCompManager

asked on

.net wake from sleep/hibernate programatically

I have a .net application that performs a task at a certain time (eg 2am) using a Timer. If the computer has entered sleep or hibernate mode the timer does not fire.

How can I wake the computer so my app can run?
SOLUTION
Avatar of techsathish
techsathish
Flag of India image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
ASKER CERTIFIED SOLUTION
Avatar of s_chilkury
s_chilkury
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of PhotoCompManager
PhotoCompManager

ASKER

Thanks - I've actually remembered you can set a task to run via the Windows task manager, so I shall restart the task at the appropriate time with this mechansim rather than trying to wake the machine from the task