Interop

  • Thread starter Thread starter Ira Davis
  • Start date Start date
I

Ira Davis

Sorry if this question has been answered before. I've searched high and low
for how to do this but have found nothing yet.

Is there a way to call a Win32/Win64 executable (NOT A DLL) from .NET and
access the output like what can be done from VBScript using the
WScript.WShell Exec or Run functions?

Example: From a .NET app, launch a Win32 executable such as "ipconfig /all"
and have the .NET app read the process output. I don't want to send the
output to a file and then process the file.
 
Back
Top