会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
学习路上
谋事在人,成事在天
博客园
首页
新随笔
联系
管理
订阅
2012年2月8日
C# 利用WMI重启进程与重启操作系统
摘要: 1 /// <summary> 2 /// 重启指定进程 3 /// </summary> 4 private void RestartProcess() 5 { 6 if (AppProperty.ProcessSet.Count > 0) 7 { 8 string processPath = ""; 9 string processName = (AppProperty.ProcessSet[0] as string[])[0];10 ...
阅读全文
posted @ 2012-02-08 14:58 学习路上
阅读(702)
评论(0)
推荐(1)
编辑
公告