INetworkCostManager interface (netlistmgr.h)

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.

Inheritance

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

Methods

The INetworkCostManager interface has these methods.

 
INetworkCostManager::GetCost

GetCost method retrieves the current cost of either a machine-wide internet connection, or the first-hop of routing to a specific destination on a connection.
INetworkCostManager::GetDataPlanStatus

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.
INetworkCostManager::SetDestinationAddresses

SetDestinationAddresses method registers specified destination IPv4/IPv6 addresses to receive cost or data plan status change notifications.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header netlistmgr.h

See also

INetworkCostManagerEvents

IUnknown