VpnRouteAssignment VpnRouteAssignment VpnRouteAssignment VpnRouteAssignment Class

Definition

Represents the list of routes assigned to the VPN channel for the correct flow and redirection of traffic.

public : sealed class VpnRouteAssignment : IVpnRouteAssignmentpublic sealed class VpnRouteAssignment : IVpnRouteAssignmentPublic NotInheritable Class VpnRouteAssignment Implements IVpnRouteAssignment// 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

VpnRouteAssignment() VpnRouteAssignment() VpnRouteAssignment() VpnRouteAssignment()

Allows a VPN plug-in to create the set of routing traffic policy to be set on a VPN channel.

public : VpnRouteAssignment()public VpnRouteAssignment()Public Sub New()// This API is not available in Javascript.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

Properties

ExcludeLocalSubnets ExcludeLocalSubnets ExcludeLocalSubnets ExcludeLocalSubnets

Gets or sets whether the physical infrastructure network, such as the local subnet, should always be exempted from flowing over the VPN interface.

public : PlatForm::Boolean ExcludeLocalSubnets { get; set; }public bool ExcludeLocalSubnets { get; set; }Public ReadWrite Property ExcludeLocalSubnets As bool// This API is not available in Javascript.
Value
PlatForm::Boolean bool bool bool

If local subnets are excluded, 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

Ipv4ExclusionRoutes Ipv4ExclusionRoutes Ipv4ExclusionRoutes Ipv4ExclusionRoutes

Gets or sets a list of IPv4 routes that should not sent traffic over the VPN interface.

public : IVector<VpnRoute> Ipv4ExclusionRoutes { get; set; }public IList<VpnRoute> Ipv4ExclusionRoutes { get; set; }Public ReadWrite Property Ipv4ExclusionRoutes As IList<VpnRoute>// This API is not available in Javascript.
Value
IVector<VpnRoute> IList<VpnRoute> IList<VpnRoute> IList<VpnRoute>

A list of IPv4 routes that should not sent traffic over the VPN interface.

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

Ipv4InclusionRoutes Ipv4InclusionRoutes Ipv4InclusionRoutes Ipv4InclusionRoutes

Gets or sets a list of IPv4 routes that should send traffic over the VPN interface.

public : IVector<VpnRoute> Ipv4InclusionRoutes { get; set; }public IList<VpnRoute> Ipv4InclusionRoutes { get; set; }Public ReadWrite Property Ipv4InclusionRoutes As IList<VpnRoute>// This API is not available in Javascript.
Value
IVector<VpnRoute> IList<VpnRoute> IList<VpnRoute> IList<VpnRoute>

A list of IPv4 routes that should send traffic over the VPN interface.

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

Ipv6ExclusionRoutes Ipv6ExclusionRoutes Ipv6ExclusionRoutes Ipv6ExclusionRoutes

Gets or sets a list of IPv6 routes that should not sent traffic over the VPN interface.

public : IVector<VpnRoute> Ipv6ExclusionRoutes { get; set; }public IList<VpnRoute> Ipv6ExclusionRoutes { get; set; }Public ReadWrite Property Ipv6ExclusionRoutes As IList<VpnRoute>// This API is not available in Javascript.
Value
IVector<VpnRoute> IList<VpnRoute> IList<VpnRoute> IList<VpnRoute>

The list of IPv6 routes that should not sent traffic over the VPN interface.

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

Ipv6InclusionRoutes Ipv6InclusionRoutes Ipv6InclusionRoutes Ipv6InclusionRoutes

Gets or sets a list of IPv6 routes that should always sent traffic over the VPN interface.

public : IVector<VpnRoute> Ipv6InclusionRoutes { get; set; }public IList<VpnRoute> Ipv6InclusionRoutes { get; set; }Public ReadWrite Property Ipv6InclusionRoutes As IList<VpnRoute>// This API is not available in Javascript.
Value
IVector<VpnRoute> IList<VpnRoute> IList<VpnRoute> IList<VpnRoute>

The list of IPv6 routes that should always sent traffic over the VPN interface.

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