IVpnProfile IVpnProfile IVpnProfile IVpnProfile Interface

Definition

Exposes the VpnProfile base object.

public : interface IVpnProfilepublic interface IVpnProfilePublic Interface IVpnProfile// You can use this interface in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

Properties

AlwaysOn AlwaysOn AlwaysOn AlwaysOn

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

public : PlatForm::Boolean AlwaysOn { get; set; }public bool AlwaysOn { get; set; }Public ReadWrite Property AlwaysOn As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

If the VPN profile is an AlwaysOn profile, it is TRUE; otherwise , it is FALSE.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

AppTriggers AppTriggers AppTriggers AppTriggers

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

public : IVector<VpnAppId> AppTriggers { get; }public IList<VpnAppId> AppTriggers { get; }Public ReadOnly Property AppTriggers As IList<VpnAppId>// You can use this property in JavaScript.
Value
IVector<VpnAppId> IList<VpnAppId> IList<VpnAppId> IList<VpnAppId>

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

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

DomainNameInfoList DomainNameInfoList DomainNameInfoList DomainNameInfoList

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

public : IVector<VpnDomainNameInfo> DomainNameInfoList { get; }public IList<VpnDomainNameInfo> DomainNameInfoList { get; }Public ReadOnly Property DomainNameInfoList As IList<VpnDomainNameInfo>// You can use this property in JavaScript.
Value
IVector<VpnDomainNameInfo> IList<VpnDomainNameInfo> IList<VpnDomainNameInfo> IList<VpnDomainNameInfo>

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

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

ProfileName ProfileName ProfileName ProfileName

Gets or sets the name of the VPN profile.

public : PlatForm::String ProfileName { get; set; }public string ProfileName { get; set; }Public ReadWrite Property ProfileName As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The name of the VPN profile.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

RememberCredentials RememberCredentials RememberCredentials 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.

public : PlatForm::Boolean RememberCredentials { get; set; }public bool RememberCredentials { get; set; }Public ReadWrite Property RememberCredentials As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

If the credentials for the VPN profile will be cached, it is TRUE; otherwise , it is FALSE.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

Routes Routes Routes Routes

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

public : IVector<VpnRoute> Routes { get; }public IList<VpnRoute> Routes { get; }Public ReadOnly Property Routes As IList<VpnRoute>// You can use this property in JavaScript.
Value
IVector<VpnRoute> IList<VpnRoute> IList<VpnRoute> IList<VpnRoute>

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

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

TrafficFilters TrafficFilters TrafficFilters TrafficFilters

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

public : IVector<VpnTrafficFilter> TrafficFilters { get; }public IList<VpnTrafficFilter> TrafficFilters { get; }Public ReadOnly Property TrafficFilters As IList<VpnTrafficFilter>// You can use this property in JavaScript.
Value
IVector<VpnTrafficFilter> IList<VpnTrafficFilter> IList<VpnTrafficFilter> IList<VpnTrafficFilter>

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

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider