Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / September 2007

Tip: Looking for answers? Try searching our database.

Hosting Ethereal inside my .NET app

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Udi - 30 Aug 2007 07:21 GMT
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.
Ben Voigt [C++ MVP] - 30 Aug 2007 20:10 GMT
> 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?

> Thanks!
> Udi.
Udi - 02 Sep 2007 07:53 GMT
> > Hi All,
> > Do you know if its possible to use theEtherealas a GUI control
[quoted text clipped - 8 lines]
>
> - Show quoted text -

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?
Ben Voigt [C++ MVP] - 05 Sep 2007 01:27 GMT
> 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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.