Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
The connection profile API, which is part of Windows.Networking.Connectivity.NetworkInformation, provides connectivity, usage, and data plan information for established network connections. The connection profiles associated with a given mobile account can be retrieved by using the MobileBroadbandAccount API. L'API del profilo di connessione consente all'app mobile broadband di eseguire query su diverse proprietà della connessione di rete nell'interfaccia mobile broadband, tra cui:
GetNetworkConnectivityLevel Indicates whether the network is connected and if the network provides internet connectivity.
GetSignalBars Indicates the current number of signal bars displayed by the Windows UI for the connection.
GetNetworkUsageAsync Provides bytes sent, bytes received, and connectivity times for a connection profile.
Questa API include anche un evento di modifica dello stato che notifica all'applicazione ogni volta che la connettività nell'interfaccia dell'operatore è cambiata. For more info about the NetworkStatusChanged event, see NetworkStatusChangedEventHandler delegate.
Related topics
Elenco delle API Windows Runtime a banda larga per dispositivi mobili