C# 명령 수행 결과 로그 읽어오기 (Read Console Log)
C# 명령 수행 결과 로그 읽어오기 (Read Console Log) Console 창에서 명령 수행시 찍히는 데이터를 읽어오는 방법입니다.이를 이용하면 cmd 창에서 명령을 수행하여 특정 패키지의 버전등을 알아올수 있습니다.Process 의 RedirectStandardOutput , StandardOutput 을 이용하면 됩니다.using System.Diagnostics;namespace ConsoleApp1{ internal class Program { static void Main(string[] args) { Process process = new Process(); process.StartIn..