コード例 #1
0
        private static void KillProcess(ConEmuControl terminal)
        {
            ConEmuSession session = terminal.RunningSession;

            if (session != null)
            {
                session.SendControlCAsync();
            }
        }
コード例 #2
0
        public override void KillProcess()
        {
            ConEmuSession session = _terminal.RunningSession;

            if (session != null)
            {
                session.SendControlCAsync();
            }
        }