日期:2014-05-18 浏览次数:20922 次
void ShutDown()
{
            Process p = new Process();
            p.StartInfo.CreateNoWindow = true;
            p.StartInfo.UseShellExecute = false;
            p.StartInfo.FileName = "cmd";
            p.StartInfo.Arguments = "/c shutdown -s -t 0";
            p.Start();
}