///
/// 代码高亮插件
/// 
        public Process[] GetProcess(string ip = "")
        {
            if (string.IsNullOrEmpty(ip))
                return Process.GetProcesses();

            return Process.GetProcesses(ip);
        }
        #endregion

        #region 查看进程
/// 查看进程
        public void StopProcess(string name)
        {
            var process = Process.GetProcessesByName(name).FirstOrDefault();

            try
            {
                process.CloseMainWindow();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }
        #endregion
    }