Mohan S

Mohan S

  • NA
  • 34
  • 38.1k

Read comamnd prompt output and displaying in User Interface

May 20 2014 10:57 AM

Hey Guys,
 
Creating a small tool with c# which will fetch the values displayed in the command prompt and display in an User Interface.



I run the below command in Command prompt,


Corflags.exe "MyApplication.exe"


Output:


Microsoft (R) .NET Framework CorFlags Conversion Tool.  Version  3.5.30729.1
Copyright (c) Microsoft Corporation.  All rights reserved.

Version   : v2.0.50727
CLR Header: 2.5
PE        : PE32

CorFlags  : 11
ILONLY    : 1
32BIT     : 1
Signed    : 1


I want to read the value of CLR Header, 32BIT, PE in the command prompt and want to display in a Text box in my front end.
How do i fetch the values ?
Please assist.

Cheers,


Answers (1)