共用方式為


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

因特網通訊協定安全性因特網密鑰交換 v2 (IPsec IKEv2)

L2tp 1

第 2 層通道通訊協定 (L2TP)

Pptp 0

點對點通道通訊協定 (PPTP)

適用於