VpnCredential
VpnCredential
VpnCredential
VpnCredential
Class
Definition
Represents the credentials requested and provided by the platform. This class holds username, password, PIN, OTP, and any additional PIN or certificate to which access has been granted.
public : sealed class VpnCredential : IVpnCredentialpublic sealed class VpnCredential : IVpnCredentialPublic NotInheritable Class VpnCredential Implements IVpnCredential// This API is not available in Javascript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
Properties
AdditionalPin AdditionalPin AdditionalPin AdditionalPin
Gets an additional PIN provided by the user, typically used when requesting a credential type of username, password, and PIN.
public : PlatForm::String AdditionalPin { get; }public string AdditionalPin { get; }Public ReadOnly Property AdditionalPin As string// This API is not available in Javascript.
- Value
- PlatForm::String string string string
An additional PIN provided by the user.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
CertificateCredential CertificateCredential CertificateCredential CertificateCredential
Gets the certificate to which we were granted access for use in the VPN connection.
public : Certificate CertificateCredential { get; }public Certificate CertificateCredential { get; }Public ReadOnly Property CertificateCredential As Certificate// This API is not available in Javascript.
The certificate to which we were granted access for use in the VPN connection.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
OldPasswordCredential OldPasswordCredential OldPasswordCredential OldPasswordCredential
Gets the previous credential the user used to log on to the VPN server, as in the case of a password change.
public : PasswordCredential OldPasswordCredential { get; }public PasswordCredential OldPasswordCredential { get; }Public ReadOnly Property OldPasswordCredential As PasswordCredential// This API is not available in Javascript.
The previous credential the user used to log in to the VPN server.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
PasskeyCredential PasskeyCredential PasskeyCredential PasskeyCredential
Gets the current password credential used by the user to log on to the VPN server.
public : PasswordCredential PasskeyCredential { get; }public PasswordCredential PasskeyCredential { get; }Public ReadOnly Property PasskeyCredential As PasswordCredential// This API is not available in Javascript.
The current password credential used by the user to log in to the VPN server.
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|