NetworkUsage NetworkUsage NetworkUsage NetworkUsage NetworkUsage Class

Definition

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.
Attributes
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)

Properties

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.