VpnCredentialType VpnCredentialType VpnCredentialType VpnCredentialType VpnCredentialType Enum


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

public : enum class VpnCredentialType
enum class winrt::Windows::Networking::Vpn::VpnCredentialType : int32_t
public enum VpnCredentialType
Public Enum VpnCredentialType
var value = Windows.Networking.Vpn.VpnCredentialType.protectedCertificate;

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


ProtectedCertificate ProtectedCertificate ProtectedCertificate ProtectedCertificate ProtectedCertificate 5

Represents a credential type of a protected certificate.

SmartCard SmartCard SmartCard SmartCard SmartCard 4

Represents a credential type of smart card.

UnProtectedCertificate UnProtectedCertificate UnProtectedCertificate UnProtectedCertificate UnProtectedCertificate 6

Represents a credential type of a certificate.

UsernameOtpPin UsernameOtpPin UsernameOtpPin UsernameOtpPin UsernameOtpPin 1

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

UsernamePassword UsernamePassword UsernamePassword UsernamePassword UsernamePassword 0

Represents a credential of type Username and Password.

UsernamePasswordAndPin UsernamePasswordAndPin UsernamePasswordAndPin UsernamePasswordAndPin UsernamePasswordAndPin 2

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

UsernamePasswordChange UsernamePasswordChange UsernamePasswordChange UsernamePasswordChange UsernamePasswordChange 3

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