|
-
March 3rd, 2012, 04:39 PM
#1
Test for tunnel adapters
In my application I list all available network adapters...
Code:
..
foreach (NetworkInterface ni in NetworkInterface.GetAllNetworkInterfaces())
{
//add it to UI combobox
}
..
As my app is now being used more and more on Win7, users complain that a lot of 'unknown' network adapters are listed.
It appears these are IPv6 so-called tunnel adapters .
Does anyone know of a way to programmatically detect wether NetworkInterface is such a tunnel adapter ?
-
March 3rd, 2012, 06:45 PM
#2
Re: Test for tunnel adapters
Look at the NetworkInterfaceType property, and check it isn't 'Tunnel'
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|