ttnhatan
asked on
Shutdown Computing
In window, if i use a command: "shutdown -t 00 -s" then it will shutdown my computer.
Now, I want to use that command into C# program, How to?
Or have any another way to replace?
Thanks!
Now, I want to use that command into C# program, How to?
Or have any another way to replace?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Process.Start("shutdown", "-t 00 -s");