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

Provide data usage per day.

PerHour PerHour PerHour PerHour PerHour

Provide data usage per hour.

PerMinute PerMinute PerMinute PerMinute PerMinute

Provide data usage per minute.

Total Total Total Total Total

Provide data usage overall.