Answers for "shutdown system C#"

C#
0

shutdown system C#

Process.Start("shutdown","/s /t 0");
Posted by: Guest on November-04-2020
0

shutdown system C#

var psi = new ProcessStartInfo("shutdown","/s /t 0");
psi.CreateNoWindow = true;
psi.UseShellExecute = false;
Process.Start(psi);
// to avoid creating window
Posted by: Guest on November-04-2020

C# Answers by Framework

Browse Popular Code Answers by Language