Represents network usage statistics returned by the ConnectionProfile.@Windows.Networking.Connectivity.ConnectionProfile.GetNetworkUsageAsync(Windows.Foundation.DateTime,Windows.Foundation.DateTime,Windows.Networking.Connectivity.DataUsageGranularity,Windows.Networking.Connectivity.NetworkUsageStates)?text=GetNetworkUsageAsync method.
public : sealed class NetworkUsage
public sealed class NetworkUsage
Public NotInheritable Class NetworkUsage
// This class does not provide a public constructor.
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
Windows.Foundation.UniversalApiContract (introduced v1)
|BytesReceived BytesReceived BytesReceived BytesReceived BytesReceived||
Indicates the number of bytes received by the connection of a specific period of time.
|BytesSent BytesSent BytesSent BytesSent BytesSent||
Indicates the number of bytes sent by a connection over a specific period of time.
|ConnectionDuration ConnectionDuration ConnectionDuration ConnectionDuration ConnectionDuration||
Indicates the duration of connectivity.