INetworkListManager::SetSimulatedProfileInfo method (netlistmgr.h)

The SetSimulatedProfileInfo method applies a specific set of connection profile values to the internet connection profile in support of the simulation of specific metered internet connection conditions.

The simulation only applies in an RDP Child Session and does not affect the primary user session. The simulated internet connection profile is returned via the Windows Runtime API GetInternetConnectionProfile.

Syntax

HRESULT SetSimulatedProfileInfo(
  NLM_SIMULATED_PROFILE_INFO *pSimulatedInfo
);

Parameters

pSimulatedInfo

Specific connection profile values to simulate on the current internet connection profile when calling GetInternetConnectionProfile from an RDP Child Session

Return value

Returns S_OK on success.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header netlistmgr.h

See also

Child Sessions (Windows)

ClearSimulatedProfileInfo

INetworkListManager

NLM_SIMULATED_PROFILE_INFO