ConnectionProfile.GetLocalUsage | getLocalUsage methods

Applies to Windows and Windows Phone

[GetLocalUsage may be altered or unavailable for releases after Windows 8.1. Instead, use GetNetworkUsageAsync]

Gets the estimated local usage data for a connection.

Overload list

MethodDescription
GetLocalUsage(DateTime, DateTime) Gets the estimated data usage for a connection during over a specific period of time.
GetLocalUsage(DateTime, DateTime, RoamingStates) Gets the estimated data usage for a connection over a specific period of time and roaming state.

Remarks

For an example of how these methods are used, see How to retrieve connection usage data for a specific period of time.

Requirements

Minimum supported client

Windows 8

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Networking.Connectivity
Windows::Networking::Connectivity [C++]

Metadata

Windows.winmd

See also

ConnectionProfile

 

 

Show:
© 2014 Microsoft