VpnNativeProtocolType 枚举

定义

指定本机协议类型。

public enum class VpnNativeProtocolType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class VpnNativeProtocolType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum VpnNativeProtocolType
var value = Windows.Networking.Vpn.VpnNativeProtocolType.pptp
Public Enum VpnNativeProtocolType
继承
VpnNativeProtocolType
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
networkingVpnProvider

字段

IpsecIkev2 2

Internet 协议安全 Internet 密钥交换 v2 (IPsec IKEv2)

L2tp 1

第 2 层隧道协议 (L2TP)

Pptp 0

点到点隧道协议 (PPTP)

适用于