DataUsage.BytesSent Propriété

Définition

Notes

DataUsage peut être modifié ou indisponible pour les versions après Windows 8.1. Utilisez plutôt NetworkUsage

Obtient une valeur indiquant le nombre d’octets envoyés par la connexion sur une période spécifique.

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

Valeur de propriété

UInt64

unsigned long long

uint64_t

Nombre d’octets envoyés.

Attributs

S’applique à

Voir aussi