You can call NetworkInformation::GetConnectionProfiles to get the list of connections for the local machine.
You can look at the ConnectionProfile's
GetNetworkConnectivityLevel to find if the connection is currently connected.
If the user disabled the adapter then it won't be available to your app at all.
--Rob
Marked as answer byMin ZhuMemberWednesday, October 24, 2012 9:19 AM