By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,747 Members | 1,782 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,747 IT Pros & Developers. It's quick & easy.

Network Connectivity

P: n/a
In VB .Net, is there a quick and easy way to determine if the network cable
is unplugged? Without having to wait for a network access timeout? Thanks.

Jerry
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
* "Jerry Camel" <rl*****@msn.com> scripsit:
In VB .Net, is there a quick and easy way to determine if the network cable
is unplugged? Without having to wait for a network access timeout? Thanks.


Maybe it's possible to translate this sample, but I am not sure if it
will fit your needs:

<URL:http://www.vbip.com/wininet/wininet_connection_01.asp>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2

P: n/a
Am I missing something...? This seems to determine Internedt connectivity
(online/offline state) but not sure how to use it to determine if there's a
network cable plugged into the adapter or not...
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2h************@uni-berlin.de...
* "Jerry Camel" <rl*****@msn.com> scripsit:
In VB .Net, is there a quick and easy way to determine if the network cable is unplugged? Without having to wait for a network access timeout?
Thanks.
Maybe it's possible to translate this sample, but I am not sure if it
will fit your needs:

<URL:http://www.vbip.com/wininet/wininet_connection_01.asp>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.