LAN connection status

windowsdevelop

New member
Joined
Nov 17, 2006
Messages
4
Programming Experience
Beginner
I need a function which will tell me if there's any media connected to the network interface when it's invoked.
 
VB.NET:
My.Computer.Network.IsAvailable()

Returns a Boolean
 
Network.IsAvailable()

a wireless network connection is still a network connection, i'd bet that this works with usb to usb connections too
 
Okay, so it does work with a wireless network connection as well. I kind of figured it would - I just wanted to ask.

I just wasn't sure how VB handled Network.IsAvailable(). Now I know!
 
Back
Top