DataPlanUsage DataPlanUsage DataPlanUsage DataPlanUsage DataPlanUsage Class


Represents data plan specific data usage information for a connection.

public : sealed class DataPlanUsage : IDataPlanUsage
struct winrt::Windows::Networking::Connectivity::DataPlanUsage : IDataPlanUsage
public sealed class DataPlanUsage : IDataPlanUsage
Public NotInheritable Class DataPlanUsage Implements IDataPlanUsage
// This class does not provide a public constructor.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


For more information on using cost data to manage connectivity, see Quickstart: Managing metered network cost constraints.


LastSyncTime LastSyncTime LastSyncTime LastSyncTime LastSyncTime

Gets a DateTime object indicating the date and time when the MegabytesUsed property was last updated.

MegabytesUsed MegabytesUsed MegabytesUsed MegabytesUsed MegabytesUsed

Gets a value indicating the total amount of data transferred, in megabytes, over the connection.

See Also