AttributedNetworkUsage AttributedNetworkUsage AttributedNetworkUsage AttributedNetworkUsage AttributedNetworkUsage Class


Provides access to property values containing information on current usage of the attributed network connection.

public : sealed class AttributedNetworkUsage
struct winrt::Windows::Networking::Connectivity::AttributedNetworkUsage
public sealed class AttributedNetworkUsage
Public NotInheritable Class AttributedNetworkUsage
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


The AttributedNetworkUsage class is retrieved from a ConnectionProfile by calling the GetAttributedNetworkUsageAsync method.


Data usage tracking is not supported when an app is run on the emulator under Microsoft Visual Studio 2013 Update 2 instead of an actual device. As a result, the GetAttributedNetworkUsageAsync method in a Windows Phone 8.x app will fail when run on the emulator.


AttributionId AttributionId AttributionId AttributionId AttributionId

Gets the Id of the of the app.

AttributionName AttributionName AttributionName AttributionName AttributionName

Gets the name of the app.

AttributionThumbnail AttributionThumbnail AttributionThumbnail AttributionThumbnail AttributionThumbnail

Gets the thumbnail of the app.

BytesReceived BytesReceived BytesReceived BytesReceived BytesReceived

Gets the number of bytes received by the app over the network.

BytesSent BytesSent BytesSent BytesSent BytesSent

Gets the number of bytes sent by the app over the network.

See also