-api-id | -api-type |
---|---|
M:Windows.Networking.Connectivity.ConnectionProfile.GetLocalUsage(Windows.Foundation.DateTime,Windows.Foundation.DateTime) |
winrt method |
Note
GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync
Gets the estimated data usage for a connection during over a specific period of time.
The start date/time for the usage data request.
The end date/time for the usage data request.
The requested local data usage information.
For an example of how this method is used, see How to retrieve connection usage data for a specific period of time.