NetworkInterface
NetworkInterface[] nets = NetworkInterface.GetAllNetworkInterface
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