Hermit
Sun Nov 21 12:33:10 CST 2004
This will help.. i was looking for something similar and found this link to
be very helpful
http://www.codeproject.com/csharp/timercomputershutdown.asp
--
Regards,
Hermit Dave (D'way)
http://hdave.blogspot.com
"Przemek Orlik" <PrzemekOrlik@discussions.microsoft.com> wrote in message
news:40690DCC-A72D-42B5-849D-192816E5100E@microsoft.com...
> What kind of event raises whe system is about to hibernate? I have tried
> SystemEvents.PowerModeChanged but it oly works for Stand By.
>
> Is there any .Net method which can be used to Shut Down or Restart
computer
> or I have to use Win32 API functions?