IVpnRouteFactory IVpnRouteFactory IVpnRouteFactory IVpnRouteFactory Interface

Definition

Factory to create VpnRoute objects.

public : interface IVpnRouteFactorypublic interface IVpnRouteFactoryPublic Interface IVpnRouteFactory// 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

Methods

CreateVpnRoute(HostName, Byte) CreateVpnRoute(HostName, Byte) CreateVpnRoute(HostName, Byte) CreateVpnRoute(HostName, Byte)

Creates VpnRoute objects.

public : VpnRoute CreateVpnRoute(HostName address, Byte prefixSize)public VpnRoute CreateVpnRoute(HostName address, Byte prefixSize)Public Function CreateVpnRoute(address As HostName, prefixSize As Byte) As VpnRoute// You can use this method in JavaScript.
Parameters
address
HostName HostName HostName HostName

Represents the ID or the address of the subnet under the route control.

prefixSize
Byte Byte Byte Byte

The size (in bits) to be considered by the subnet.

Returns

Represents a route relative to the VPN channel. It is composed of an address and a prefix size to identify the subnet being routed.

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