I use the following code for shutdown the own System.It was working Fine.And I need to shut down another System, which is connected in LAN Connection. I'm unable to do it with this code. How to Shutdown another System using shutdown.exe? My OS is windows7.
using System.Diagnostics;
protected void Button1_Click(object sender, EventArgs e)
{
Process.Start("shutdown.exe", "-s -t 00");
}