How to shutdown the system Programatically?URGENT!!!

May 22 2006 1:17 AM
Hai Friends,

How to shut down the system programatically using C#?
iam using ExitWindowsEx of VC++ function(by Interop Services)....
But I need a pure c# function......
Please help me in this issue...itz a bit urgent!!!!

Thanx.

regards,


Answers (1)