W windowsdevelop New member Joined Nov 17, 2006 Messages 4 Programming Experience Beginner Feb 18, 2007 #1 I need a function which will tell me if there's any media connected to the network interface when it's invoked.
I need a function which will tell me if there's any media connected to the network interface when it's invoked.
J jwh Well-known member Joined Aug 18, 2006 Messages 155 Programming Experience 3-5 Feb 20, 2007 #2 VB.NET: My.Computer.Network.IsAvailable() Returns a Boolean Upvote 0 Downvote
M munkee Active member Joined Feb 20, 2007 Messages 43 Programming Experience Beginner Feb 28, 2007 #3 Well I'll be darned! Question: Would this work for a wireless adapter as well? Upvote 0 Downvote
JuggaloBrotha VB.NET Forum Moderator Staff member Joined Jun 3, 2004 Messages 4,530 Location Lansing, MI; USA Programming Experience 10+ Feb 28, 2007 #4 Network.IsAvailable() a wireless network connection is still a network connection, i'd bet that this works with usb to usb connections too Upvote 0 Downvote
Network.IsAvailable() a wireless network connection is still a network connection, i'd bet that this works with usb to usb connections too
M munkee Active member Joined Feb 20, 2007 Messages 43 Programming Experience Beginner Feb 28, 2007 #5 I'm going to try it here in a bit - I'll let you know of my findings! I love this forum - haha. Upvote 0 Downvote
M munkee Active member Joined Feb 20, 2007 Messages 43 Programming Experience Beginner Feb 28, 2007 #6 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! Upvote 0 Downvote
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!