示例#1
0
        public string ExtractText()
        {
            var text = WindowUtils.ExtractTextFromConsoleWindow(ProcessId);

            text = text ?? WindowUtils.ExtractTextFromWindow(Handle);
            return(text);
        }