Quote:
Originally Posted by prometka
Hi,
I'm new here and I need a small advice
Do you know how to wake up computer from hibernation or sleeping mode(in windows) by programming under C#?
Let me explain my problem. I created a simple programme which I want to run in the morning in different time. My problem is I don't know how to programme it to wake up computer and run programme . Every evening I want just add to my programme time to wake up. I know that under windows it's possible to do it by schedule task, but I want to do it automaticly.
Will you help me?
I hate to be the one that says something is not possible...but I'm not convinced this is possible with software. I've not been able to get Windows Scheduler to even do this - Windows Scheduler will run if the computer is on or awake, but if it's in suspend or hibernate mode it doesn't wake the computer up. The Wake-On-LAN feature is something that's hardware triggered - the BIOS must support Wake-On-LAN in order for traffic to the network card to wake up the motherboard which in turn triggers the computer to boot. When the computer is in suspend/hibernate there is no software processing completed so the only way I can see this being possible is by hardware.
I would love to hear from someone else that this is possible, but I can't see how logically it can.