INetworkCostManager interface

Use this interface to query for machine-wide cost and data plan status information associated with either a connection used for machine-wide Internet connectivity, or the first-hop of routing to a specific destination on a connection. Additionally, this interface enables applications to specify destination IP addresses to receive cost or data plan status change notifications for.

Members

The INetworkCostManager interface inherits from the IUnknown interface. INetworkCostManager also has these types of members:

Methods

The INetworkCostManager interface has these methods.

MethodDescription
GetCost

Retrieves the current cost of either a machine-wide internet connection, or the first-hop of routing to a specific destination on a connection.

GetDataPlanStatus

Retrieves the data plan status for either a machine-wide internet connection , or the first-hop of routing to a specific destination on a connection.

SetDestinationAddresses

Registers specified destination IP addresses to receive cost or data plan status change notifications.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

None supported

Header

Netlistmgr.h

IDL

Netlistmgr.idl

See also

INetworkCostManagerEvents

 

 

Community Additions

ADD
Show:
© 2014 Microsoft