CC#•Created by goooosee on 5/7/2023 in #help ❔ how to turn off computer 1 from computer 2 with his ip and connected to the same network
Process process = new Process();
process.StartInfo.FileName = "cmd.exe";
process.StartInfo.Arguments = $"/c shutdown /m \\{ip} /s /t 3";
process.Start();
thats how i do that