Process.Start("shutdown.exe", "-s");//关机
Process.Start("shutdown.exe", "-s -t "+"120");//延时120秒后关机
Process.Start("shutdown.exe", "-a");//取消关机
Process.Start("shutdown.exe", "-s");//关机
Process.Start("shutdown.exe", "-s -t "+"120");//延时120秒后关机
Process.Start("shutdown.exe", "-a");//取消关机