This is our old Q&A Site. Please post any new questions and answers at

Hi, i have a problem with versions 1.6.11 and 1.8.3, i am trying to get the list of the interfaces and instead of getting the list to standard output, i get it on the std error. I don't have this error on version 1.4.1 and it is works with the same code. Thanks My code:

    ProcessStartInfo startInfo = new ProcessStartInfo(m_sTsharkPath);
    startInfo.Arguments = "-D";

    startInfo.RedirectStandardError = true;
    startInfo.RedirectStandardOutput = true;
    startInfo.UseShellExecute = false;
    startInfo.CreateNoWindow = true;

    Process p = Process.Start(startInfo);

    String output = p.StandardOutput.ReadToEnd();
    String error = p.StandardError.ReadToEnd();


asked 19 Nov '12, 02:08

aaa's gravatar image

accept rate: 0%

Yes, it would appear that Wireshark was intentionally changed to send this output to stderr; the change came in revision 36387. Apparently it was necessary for "-D" to work on Windows.

permanent link

answered 19 Nov '12, 10:25

JeffMorriss's gravatar image

JeffMorriss ♦
accept rate: 27%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 19 Nov '12, 02:08

question was seen: 1,584 times

last updated: 19 Nov '12, 10:25

p​o​w​e​r​e​d by O​S​Q​A