Hosting Ethereal inside my .NET app

U

Udi

Hi All,
Do you know if its possible to use the Ethereal as a GUI control
inside my C# app?
My application has a docking manager control in it and I'd like to
embed the Ethereal in of the panes.

Thanks!
Udi.
 
B

Ben Voigt [C++ MVP]

Udi said:
Hi All,
Do you know if its possible to use the Ethereal as a GUI control
inside my C# app?
My application has a docking manager control in it and I'd like to
embed the Ethereal in of the panes.

Do you mean wireshark or some other ethereal?
 
B

Ben Voigt [C++ MVP]

I'm not sure, although i've heard the name.
I'm using the Ethereal downloaded from:
http://www.ethereal.com/
Is this what you mean?

Ah, yes, guess you never wondered why all the dates on that website are over
a year old?

See http://wireshark.org/migration.html

Wireshark actually has really good capabilities for writing extensions, but
they aren't so much oriented toward embedding wireshark in another program.
You might have better luck writing an extension in wireshark which forwards
the data to your program for display.

If you must have wireshark embedded, I think you'll need to start by using
Gtk# for your GUI. Then you would have to recompile wireshark as a DLL and
add an alternate entry point which creates the main window as a child of an
existing Gtk window which your .NET app creates. Probably not too
difficult, but you won't have a clear upgrade path to incorporate future
wireshark features and bugfixes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top