Udostępnij za pośrednictwem


IVpnProfile Interface

Definition

Exposes the VpnProfile base object.

public interface class IVpnProfile
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2020980561, 45271, 17371, 138, 147, 211, 254, 36, 121, 229, 106)]
struct IVpnProfile
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2020980561, 45271, 17371, 138, 147, 211, 254, 36, 121, 229, 106)]
public interface IVpnProfile
Public Interface IVpnProfile
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
networkingVpnProvider

Properties

AlwaysOn

Gets or sets the AlwayOn property. If true, indicates that the VPN profile is always connected.

AppTriggers

Gets a list of apps that will trigger the VPN connection to connect.

DomainNameInfoList

Gets a list of Name Resolution Policy Table (NRPT) rules for the VPN plug-in profile.

ProfileName

Gets or sets the name of the VPN profile.

RememberCredentials

Gets or sets whether the credentials for the VPN profile will be cached. If TRUE, the credentials for the VPN profile will be cached where applicable.

Routes

Gets a list of routes that must go over the VPN interface in the case of a Split Tunneled VPN.

TrafficFilters

Gets a list of Traffic Filters (including per App) included in the VPN profile.

Applies to