当前位置:网站首页>C # close current computer command
C # close current computer command
2022-07-23 15:43:00 【juncaixingchilove】
if(CommonTools.ShowSLMessgeBox(" Are you sure you want to shut down the computer ?", "", MessageBoxIcon.Question) == DialogResult.OK)
{
Process.Start($"{Environment.GetFolderPath(Environment.SpecialFolder.SystemX86)}\\shutdown.exe", "-s -t 0");
}边栏推荐
猜你喜欢

什么是服务器托管及和虚拟主机的区别

C语言经典例题-商品检验码

奔驰新能源产品线:豪华新能源市场或将改变格局

深入理解L1、L2正则化

Start process of activity

The official redis visualization tool is coming. The needle doesn't poke

Cloud native observability tracking technology in the eyes of Baidu engineers

Error | cannot read property '_ normalized‘ of undefined

安全7.18作业

SCA在得物DevSecOps平台上应用
随机推荐
【Try to Hack】sql注入 Less7 (into outfile和布尔盲注)
Force buckle monotone stack
Batch deletion with RPM -e --nodeps
PHP代码审计4—Sql注入漏洞
BGP联邦实验
Xlswriter - Excel export
C语言经典例题-switch case语句转换日期格式
Time series data in industrial Internet of things
Kirin V10 source code compilation qtcreater4.0.3 record
Safe operation 7.22
[solve the exception] Flink uploads the jar package to the cluster environment, and the operation report does not serialize the exception
Go: Gin urlencoded format
Cookie和Session的区别
xxl-job 实现email发送警告的代码解析(一行一行代码解读)
MySQL执行顺序
946. 验证栈序列 ●● & 剑指 Offer 31. 栈的压入、弹出序列 ●●
The exclamation point of vscode +tab shortcut key cannot be used, and the solution to the problem of a-soul-live2d plug-in
在一个有序数组中查找具体的某个数字(二分查找or折半查找)
xlswriter - excel导出
Dynamic planning - force buckle