ProviderNetworkUsage ProviderNetworkUsage ProviderNetworkUsage ProviderNetworkUsage Class

Definition

Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Prerelease APIs are identified by a Prerelease label.

public : sealed class ProviderNetworkUsage : IProviderNetworkUsagepublic sealed class ProviderNetworkUsage : IProviderNetworkUsagePublic NotInheritable Class ProviderNetworkUsage Implements IProviderNetworkUsage// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Insider Preview (introduced v10.0.16257.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Properties

BytesReceived BytesReceived BytesReceived BytesReceived

Prerelease. Gets a value indicating the number of bytes received by a connection over a specific period of time.

public : ulong BytesReceived { get; }public ulong BytesReceived { get; }Public ReadOnly Property BytesReceived As ulong// You can use this property in JavaScript.
Value
ulong ulong ulong ulong

The number of bytes received.

BytesSent BytesSent BytesSent BytesSent

Prerelease. Gets a value indicating the number of bytes sent by the connection over a specific period of time.

public : ulong BytesSent { get; }public ulong BytesSent { get; }Public ReadOnly Property BytesSent As ulong// You can use this property in JavaScript.
Value
ulong ulong ulong ulong

The number of bytes sent.

ProviderId ProviderId ProviderId ProviderId

Prerelease. Gets the ProviderId (a combination of MCC and MNC).

public : PlatForm::String ProviderId { get; }public string ProviderId { get; }Public ReadOnly Property ProviderId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The ProviderId (a combination of MCC and MNC).

Remarks

The MCC/MNC combo is expressed in the API as a single numeric (0-9) string named ProviderId that is a concatenation of a 3-digit MCC and a 2 or 3-digit MNC to be compliant with E.212.