VpnInterfaceId Class

Definition

Represents an interface ID used in the construction and assignment of an IPv6 address to the VPN interface. The ID contained in this class fills the interface ID portion of the IPv6 address.

public ref class VpnInterfaceId sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Networking.Vpn.IVpnInterfaceIdFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
/// [Windows.Foundation.Metadata.WebHostHidden]
class VpnInterfaceId final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
/// [Windows.Foundation.Metadata.WebHostHidden]
/// [Windows.Foundation.Metadata.Activatable(Windows.Networking.Vpn.IVpnInterfaceIdFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class VpnInterfaceId final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Networking.Vpn.IVpnInterfaceIdFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
[Windows.Foundation.Metadata.WebHostHidden]
public sealed class VpnInterfaceId
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
[Windows.Foundation.Metadata.WebHostHidden]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Networking.Vpn.IVpnInterfaceIdFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class VpnInterfaceId
Public NotInheritable Class VpnInterfaceId
Inheritance
VpnInterfaceId
Attributes

Windows 10 requirements

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

Constructors

VpnInterfaceId(Byte[])

Allows the VPN plug-in to construct this object and use it in the VpnChannel.Start method.

Methods

GetAddressInfo(Byte[])

Gets the address represented as the set of bytes to be used as the interface ID.

Applies to