Compartilhar via


VpnInterfaceId Classe

Definição

Representa uma ID de interface usada na construção e atribuição de um endereço IPv6 para a interface VPN. A ID contida nessa classe preenche a parte da ID da interface do endereço IPv6.

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)]
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.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)]
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.Activatable(typeof(Windows.Networking.Vpn.IVpnInterfaceIdFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class VpnInterfaceId
Public NotInheritable Class VpnInterfaceId
Herança
Object Platform::Object IInspectable VpnInterfaceId
Atributos

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v1.0)
Funcionalidades do aplicativo
networkingVpnProvider

Construtores

VpnInterfaceId(Byte[])

Permite que o plug-in VPN construa esse objeto e o use no método VpnChannel.Start.

Métodos

GetAddressInfo(Byte[])

Obtém o endereço representado como o conjunto de bytes a ser usado como a ID da interface.

Aplica-se a