That would definitely be easier. I'd imagine that WMI could provide more information but if you don't need that extra information then sticking to managed code would be preferable.NetworkInterface class also provides info about the adapters: NetworkInterface Class (System.Net.NetworkInformation)
Were you really tired and unable to type more than those four words? You couldn't find what exactly? How exactly did you try to find what it was that you couldn't? If you're talking about the NetworkInterface class then there's nothing to find; you just click on the link provided by JohnH.I can not find.
MessageBox.show(ni.Description)
MessageBox.show(ni.IP)
I suggest that you do what you should have done in the first place and follow the link that JohnH provided and read it top to bottom. Of particular interest will be the quote that I posted above and the subsequent code example. It's only provided in C# and C++ but you should be able to get the idea from the C# code, plus there are various online code converters that will give you the equivalent VB code.This class encapsulates data for network interfaces, also known as adapters, on the local computer. You do not create instances of this class; the GetAllNetworkInterfaces method returns an array that contains one instance of this class for each network interface on the local computer.
Here's the link:Please give the link. I can not find any examples. Thank you
NetworkInterface class also provides info about the adapters: NetworkInterface Class (System.Net.NetworkInformation)
Please give the link. I can not find any examples. Thank you