Connection Profile API

Applies To: Windows 8, Windows 8.1

The connection profile API, which is part of Windows.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. The connection profile API allows your mobile broadband app to query several properties of the network connection on the mobile broadband interface, including the following:

  • Network Connectivity Level Indicates whether the network is connected and if the network provides internet connectivity.

  • Signal Bars Indicates the current number of signal bars displayed by the Windows UI for the connection.

  • Network Usage and Connectivity Intervals Provides bytes sent, bytes received, and connectivity times for a connection profile.

This API also includes a status change event that notifies the application whenever connectivity on the operator’s interface has changed. For more info about the NetworkStatusChanged event, see NetworkStatusChangedEventHandler delegate.

See Also

Concepts

List of mobile broadband Windows Runtime APIs

Other Resources

Network Information sample
NetworkStatusChangedEventHandler delegate