VpnCredentialType Enum

Definition

Specifies the types of credentials that can be requested by the VPN platform.

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

Windows 10 requirements

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

Fields

ProtectedCertificate 5

Represents a credential type of a protected certificate.

SmartCard 4

Represents a credential type of smart card.

UnProtectedCertificate 6

Represents a credential type of a certificate.

UsernameOtpPin 1

Represents a credential type of username, and a PIN or OTP.

UsernamePassword 0

Represents a credential of type Username and Password.

UsernamePasswordAndPin 2

Represents a credential type of username, password, and PIN.

UsernamePasswordChange 3

Represents a password change. The current password, new password, and a confirmation of the new password will be collected.

Applies to