Để tắt máy tính trong C# ta dùng hàm sau:
1 |
System.Diagnostics.Process.Start("shutdown", "/s /f /t 0"); |
nosomovo
Xem thêm Code C# tắt máy tính – Code Shutdown computer in C#Để tắt máy tính trong C# ta dùng hàm sau:
1 |
System.Diagnostics.Process.Start("shutdown", "/s /f /t 0"); |
nosomovo
Xem thêm Code C# tắt máy tính – Code Shutdown computer in C#