Поделиться через


DataUsage.BytesReceived Свойство

Определение

Примечание

DataUsage может быть изменен или недоступно для выпусков после Windows 8.1. Вместо этого используйте NetworkUsage.

Возвращает значение, указывающее количество байтов, полученных соединением за определенный период времени.

public:
 property unsigned long long BytesReceived { 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 BytesReceived();
/// [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 BytesReceived();
public ulong BytesReceived { [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 BytesReceived { [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.bytesReceived;
Public ReadOnly Property BytesReceived As ULong

Значение свойства

UInt64

unsigned long long

uint64_t

Количество полученных байтов.

Атрибуты

Применяется к