IVpnCredential 介面

定義

提供 VPN 平臺的介面,以支援要求的認證。

public interface class IVpnCredential
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3085404915, 42093, 16459, 135, 41, 24, 50, 82, 40, 83, 172)]
struct IVpnCredential
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3085404915, 42093, 16459, 135, 41, 24, 50, 82, 40, 83, 172)]
public interface IVpnCredential
Public Interface IVpnCredential
衍生
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
networkingVpnProvider

屬性

AdditionalPin

取得使用者提供的額外 PIN,通常是在要求使用者名稱、密碼和 PIN 時。

CertificateCredential

取得在要求外掛程式之後授與存取權的憑證。

OldPasswordCredential

取得使用者用來登入 VPN 伺服器的先前認證,如同密碼變更的情況。

PasskeyCredential

取得對應至此認證要求的密碼或 PIN。

適用於