[Mono-list] Detect plug/unplug ethernet cable

Adam Tauno Williams awilliam at whitemice.org
Fri Nov 28 17:05:42 EST 2008


>there is a way in mono to detect the unplug of the network cable?
>...or an equivalent event in linux of the WMI events in windows?

These types of messages are available on the system D-Bus.

>...if there isn't a way to do this... there is a workaround to know this
>event for example reading a particular file or execute a shell command

Ugh,  don't do that.
___
Sent with SnapperMail
www.snappermail.com




More information about the Mono-list mailing list