VpnChannel.Configuration Property

Definition

Gets or sets a VpnChannelConfiguration object corresponding to the configuration of the VpnChannel and which dictates how to establish the communication with the VPN server.

public:
 property VpnChannelConfiguration ^ Configuration { VpnChannelConfiguration ^ get(); };
VpnChannelConfiguration Configuration();
public VpnChannelConfiguration Configuration { get; }
var vpnChannelConfiguration = vpnChannel.configuration;
Public ReadOnly Property Configuration As VpnChannelConfiguration

Property Value

A VpnChannelConfiguration object containing the configuration pertaining the VpnChannel object.

Windows requirements

App capabilities
networkingVpnProvider

Remarks

Note

Any call to this API outside of a connected VPN plug-in will fail, as activity and interactions between the VPN plug-in and the system are controlled by the VPN profile. There can only be one VPN profile per process because the VPN plug-in only has one VPN profile mapped to it, and if a caller were to create more than one profile object, they would all refer to the same settings.

Applies to