IVpnInterfaceIdFactory.CreateVpnInterfaceId(Byte[]) 方法

定义

创建 VpnInterfaceId 对象。

public:
 VpnInterfaceId ^ CreateVpnInterfaceId(Platform::Array <byte> ^ address);
VpnInterfaceId CreateVpnInterfaceId(winrt::array_view <byte> const& address);
public VpnInterfaceId CreateVpnInterfaceId(byte[] address);
function createVpnInterfaceId(address)
Public Function CreateVpnInterfaceId (address As Byte()) As VpnInterfaceId

参数

address

Byte[]

byte[]

表示为一组字节的地址。

返回

表示用于构造 IPv6 地址并将其分配给 VPN 接口的接口 ID。 此类中包含的 ID 填充 IPv6 地址的接口 ID 部分。

Windows 要求

应用功能
networkingVpnProvider

适用于