摘要:
//检测系统进程是否启动 public virtual bool CheckProcess(string processName) { Process[] p = Process.GetProcessesByName(processName); bool isOK = false; if (p != null) { if (p.Length 0) { isOK = true; } } return isOK; } ///启动进程 public virtual bool StartProcess(stringProcessPath,stringProcessName) { bool ret 阅读全文
posted @ 2011-01-17 15:35 愚见未来 阅读(717) 评论(0) 推荐(0) 编辑