调用win2000,winxp的shutdown.exe程序进行关机,方法非常简单;
System.Diagnostics.Process.Start("cmd.exe", "/c shutdown.exe -s -t 0");