Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to detect LAN connection break?

13 views
Skip to first unread message

itibira

unread,
Jun 9, 2007, 11:49:49 PM6/9/07
to
Hi,

How can the real-rime status of the LAN connection be determined? ie:
i would like to know (query) if there is a network cable attached or
not.

Thanks in advance.

itibira

unread,
Jun 10, 2007, 1:27:29 AM6/10/07
to

P.S.:

i would like to use an API or WMI directly and not third party
components to do this. Windows XP and 2000 for example, have a Local
Area Connection icon in the System Tray that will show a message of
whether the Network cable is unplugged or not and it will notify the
user immediately when a change occurs. i would like to capture this
event programatically. How can this be done?

Thanks.

0 new messages