How can I shutdown the computer in C#????

Mar 20 2006 7:45 AM
Hi, I want shutdown the computer using C# but don´t using

System.Diagnostics.Process.Start("Shutdown", "-s -t 10");

Anybody know how i can do it using the API ??????
Thanks in advance.

Answers (7)