How to identify connectivity status of a specific NetworkInterface ?
NetworkInterface[] nets = NetworkInterface.GetAllNetworkInterfaces();
foreach (var n in nets)
{
// TODO: determine connectivity status of each network interface
// ( mainly interested in IPv4 connectivity )
}
- This question is not about general internet connectivity and as such using say
GetIsNetworkAvailable()is not a solution OperationalStatus.Upcan be used to filter out some inactive network interfaces, but not all – OperationalStatus.Up leaves in some interfaces that show “No network access” for both IPv4 and IPv6- I’m also aware how to get the IPv4
UnicastAddresses, but then what / is that useful? - I could not find anything relevant in these sections of WMI
i.e. extracting per interface status as Internet, Local, Limited or None

I think the Microsoft dialog you show above is using information gained by coding against the Network Location Awareness API.
http://msdn.microsoft.com/en-us/library/ee264321%28v=VS.85%29.aspx