N
Nuno Magalhaes
In a sample code I do something like this:
//Populate IP List
IPHost=Dns.GetHostByName(Dns.GetHostName());
DefaultIPCombo.Items.Clear();
DefaultIPCombo.Items.Add(IPHost.AddressList[0].ToString());
DefaultIPCombo.SelectedIndex=0;
How can I get all the IP adapters since this does only give me the IP
address of the default adapter. I have a wireless connection also and
would like to populate the DefaultIPCombo with all my network IPs. Is
this possible under C# .NET? Changing the IP manually and using the
connection at a specific adapter is possible but now... how to get all
the IPs?
I don't get it.
Thank you very much.
//Populate IP List
IPHost=Dns.GetHostByName(Dns.GetHostName());
DefaultIPCombo.Items.Clear();
DefaultIPCombo.Items.Add(IPHost.AddressList[0].ToString());
DefaultIPCombo.SelectedIndex=0;
How can I get all the IP adapters since this does only give me the IP
address of the default adapter. I have a wireless connection also and
would like to populate the DefaultIPCombo with all my network IPs. Is
this possible under C# .NET? Changing the IP manually and using the
connection at a specific adapter is possible but now... how to get all
the IPs?
I don't get it.
Thank you very much.