Represents network usage statistics returned by the ConnectionProfile.[GetNetworkUsageAsync](connectionprofile_getnetworkusageasync.md) method.
public : sealed class NetworkUsage : INetworkUsage
struct winrt::Windows::Networking::Connectivity::NetworkUsage : INetworkUsage
public sealed class NetworkUsage : INetworkUsage
Public NotInheritable Class NetworkUsage Implements INetworkUsage
// This class does not provide a public constructor.
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.