Dela via


ProviderNetworkUsage Class

Definition

Represents provider network usage statistics returned by the ConnectionProfile.GetProviderNetworkUsageAsync method.

public ref class ProviderNetworkUsage sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ProviderNetworkUsage final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ProviderNetworkUsage
Public NotInheritable Class ProviderNetworkUsage
Inheritance
Object Platform::Object IInspectable ProviderNetworkUsage
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Properties

BytesReceived

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

BytesSent

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

ProviderId

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

Applies to

See also