foreach (ConnectionProfile profile in NetworkInformation.GetConnectionProfiles()) //Get all active profiles (LAN, bluetooth, wifi, Cellular data, etc..)
{
NetworkConnectivityLevel level = profile.GetNetworkConnectivityLevel(); //Get connectivity level for profile
/*NetworkConnectivityLevel.InternetAccess
ConstrainedInternetAccess
LocalAccess
None*/
Byte signal = profile.GetSignalBars(); //Returns the signal level
bool isWifi = profile.IsWlanConnectionProfile;
bool isCellularData = profile.IsWwanConnectionProfile;
}