Wie überprüfe ich den Status der Internetverbindung über eine 3G-Verbindung?

Ich habe folgende Methode:

public static bool IsNetworkConnected()
{
    ConnectionProfile InternetConnectionProfile = NetworkInformation.GetInternetConnectionProfile();
    IReadOnlyList<ConnectionProfile> connectionProfile = NetworkInformation.GetConnectionProfiles();
    if (InternetConnectionProfile == null)
        return false;
    else
        return true;
}

Es funktioniert einwandfrei, wenn ich auf typische Weise mit dem Internet verbunden bin - über LAN-Kabel oder WLAN. Wenn ich mein 3G-USB-Modem verwende, wird false zurückgegeben (InternectConnectionProfile ist Null). Warum das? Wie kann ich es reparieren?

Antworten auf die Frage(3)

Ihre Antwort auf die Frage