Share via


DataUsage.BytesSent Property

Definition

Note

DataUsage may be altered or unavailable for releases after Windows 8.1. Instead, use NetworkUsage

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

public:
 property unsigned long long BytesSent { unsigned long long get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("IDataUsage may be altered or unavailable for releases after Windows 8.1. Instead, use INetworkUsage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
uint64_t BytesSent();
/// [get: Windows.Foundation.Metadata.Deprecated("IDataUsage may be altered or unavailable for releases after Windows 8.1. Instead, use INetworkUsage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
uint64_t BytesSent();
public ulong BytesSent { [Windows.Foundation.Metadata.Deprecated("IDataUsage may be altered or unavailable for releases after Windows 8.1. Instead, use INetworkUsage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; }
public ulong BytesSent { [Windows.Foundation.Metadata.Deprecated("IDataUsage may be altered or unavailable for releases after Windows 8.1. Instead, use INetworkUsage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; }
var uInt64 = dataUsage.bytesSent;
Public ReadOnly Property BytesSent As ULong

Property Value

UInt64

unsigned long long

uint64_t

The number of bytes sent.

Attributes

Applies to

See also