VpnTrafficFilter VpnTrafficFilter VpnTrafficFilter VpnTrafficFilter Class

Definition

Defines the traffic filtering properties (including per app VPN). A description of the type of network traffic that will be allowed over the VPN connection, such as a specific application and protocol allowed for the connection.

public : sealed class VpnTrafficFilter : IVpnTrafficFilterpublic sealed class VpnTrafficFilter : IVpnTrafficFilterPublic NotInheritable Class VpnTrafficFilter Implements IVpnTrafficFilter// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

Constructors

VpnTrafficFilter(VpnAppId) VpnTrafficFilter(VpnAppId) VpnTrafficFilter(VpnAppId) VpnTrafficFilter(VpnAppId)

Allows a VPN plug-in or VPN management app to create a traffic filter.

public : VpnTrafficFilter(VpnAppId appId)public VpnTrafficFilter(VpnAppId appId)Public Sub New(appId As VpnAppId)// This API is not available in Javascript.
Parameters
appId
VpnAppId VpnAppId VpnAppId VpnAppId

The app ID associated with the new traffic filter.

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

Properties

AppClaims AppClaims AppClaims AppClaims

Gets a security descriptor specifying the set of checks of claims a process must have to be allowed by this traffic filter.

public : IVector<string> AppClaims { get; }public IList<string> AppClaims { get; }Public ReadOnly Property AppClaims As IList<string>// This API is not available in Javascript.
Value
IVector<PlatForm::String> IList<string> IList<string> IList<string>

A security descriptor specifying the set of checks of claims a process must have to be allowed by this traffic filter.

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

AppId AppId AppId AppId

Gets or sets the ID of the app that is allowed by this traffic filter.

public : VpnAppId AppId { get; set; }public VpnAppId AppId { get; set; }Public ReadWrite Property AppId As VpnAppId// This API is not available in Javascript.
Value
VpnAppId VpnAppId VpnAppId VpnAppId

The ID of the app that is allowed by this traffic filter.

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

LocalAddressRanges LocalAddressRanges LocalAddressRanges LocalAddressRanges

Gets a list of the local address ranges that are allowed by this traffic filter.

public : IVector<string> LocalAddressRanges { get; }public IList<string> LocalAddressRanges { get; }Public ReadOnly Property LocalAddressRanges As IList<string>// This API is not available in Javascript.
Value
IVector<PlatForm::String> IList<string> IList<string> IList<string>

A list of the local address ranges that are allowed by this traffic filter.

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

LocalPortRanges LocalPortRanges LocalPortRanges LocalPortRanges

Gets a list of the local port ranges that are allowed by this traffic filter. Specially useful for identifying SMB.

public : IVector<string> LocalPortRanges { get; }public IList<string> LocalPortRanges { get; }Public ReadOnly Property LocalPortRanges As IList<string>// This API is not available in Javascript.
Value
IVector<PlatForm::String> IList<string> IList<string> IList<string>

A list of the local port ranges that are allowed by this traffic filter. Specifically useful for identifying SMB.

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

Protocol Protocol Protocol Protocol

Gets or sets the IP protocol that is allowed by this traffic filter.

public : VpnIPProtocol Protocol { get; set; }public VpnIPProtocol Protocol { get; set; }Public ReadWrite Property Protocol As VpnIPProtocol// This API is not available in Javascript.
Value
VpnIPProtocol VpnIPProtocol VpnIPProtocol VpnIPProtocol

An enum value indicating which IP protocol is allowed by this traffic filter.

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

RemoteAddressRanges RemoteAddressRanges RemoteAddressRanges RemoteAddressRanges

Gets a list of the remote address ranges that are allowed by this traffic filter.

public : IVector<string> RemoteAddressRanges { get; }public IList<string> RemoteAddressRanges { get; }Public ReadOnly Property RemoteAddressRanges As IList<string>// This API is not available in Javascript.
Value
IVector<PlatForm::String> IList<string> IList<string> IList<string>

A list of the remote address ranges that are allowed by this traffic filter.

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

RemotePortRanges RemotePortRanges RemotePortRanges RemotePortRanges

Gets a list of the remote port ranges that are allowed by this traffic filter.

public : IVector<string> RemotePortRanges { get; }public IList<string> RemotePortRanges { get; }Public ReadOnly Property RemotePortRanges As IList<string>// This API is not available in Javascript.
Value
IVector<PlatForm::String> IList<string> IList<string> IList<string>

A list of the remote port ranges that are allowed by this traffic filter.

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

RoutingPolicyType RoutingPolicyType RoutingPolicyType RoutingPolicyType

Gets or sets whether the apps allowed by this traffic filter are force tunneled through the VPN interface, or whether they are split tunneled and allowed to talk through other interfaces.

public : VpnRoutingPolicyType RoutingPolicyType { get; set; }public VpnRoutingPolicyType RoutingPolicyType { get; set; }Public ReadWrite Property RoutingPolicyType As VpnRoutingPolicyType// This API is not available in Javascript.
Value
VpnRoutingPolicyType VpnRoutingPolicyType VpnRoutingPolicyType VpnRoutingPolicyType

An enum value indicating the routing policy.

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