Udostępnij za pośrednictwem


VpnAuthenticationMethod Enum

Definition

Specifies the type of authentication methods allowed by the operating system native VPN protocols.

public enum class VpnAuthenticationMethod
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class VpnAuthenticationMethod
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum VpnAuthenticationMethod
var value = Windows.Networking.Vpn.VpnAuthenticationMethod.mschapv2
Public Enum VpnAuthenticationMethod
Inheritance
VpnAuthenticationMethod
Attributes

Windows requirements

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

Fields

Name Value Description
Mschapv2 0

Microsoft Challenge-Handshake Authentication Protocol v2

Eap 1

Extensible Authentication Protocol

Certificate 2

Certificate

PresharedKey 3

Preshared key

Applies to