Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Get "Control Panel\Network and Internet\Network Connections" Information in VB.Net

$
0
0

I want to display all the information shows in the "Control Panel\Network and Internet\Network Connections" using VB.Net (NetworkName,Status,DeviceName, etc.)

This is what i did but i think this is not what i need.

  Dim adapters As NetworkInterface() = NetworkInterface.GetAllNetworkInterfaces()
        Dim adapter As NetworkInterface
        For Each adapter In adapters
            Dim properties As IPInterfaceProperties = adapter.GetIPProperties()
            ComboBox1.Items.Add(adapter.Description)
            ComboBox2.Items.Add(adapter.Name)
            ComboBox3.Items.Add(properties.DnsSuffix)
            ComboBox4.Items.Add(properties.IsDnsEnabled)
            ComboBox5.Items.Add(properties.IsDynamicDnsEnabled)

        Next adapter



Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>