DataUsageGranularity DataUsageGranularity DataUsageGranularity DataUsageGranularity DataUsageGranularity Enum


Defines levels of granularity used when retrieving data usage statistics with GetNetworkUsageAsync.

public : enum class DataUsageGranularity
enum class winrt::Windows::Networking::Connectivity::DataUsageGranularity : int32_t
public enum DataUsageGranularity
Public Enum DataUsageGranularity
var value = Windows.Networking.Connectivity.DataUsageGranularity.perDay;

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


PerDay PerDay PerDay PerDay PerDay 2

Provide data usage per day.

PerHour PerHour PerHour PerHour PerHour 1

Provide data usage per hour.

PerMinute PerMinute PerMinute PerMinute PerMinute 0

Provide data usage per minute.

Total Total Total Total Total 3

Provide data usage overall.