共用方式為


KeyCredentialManager.OpenAsync(String) 方法

定義

擷取目前使用者和應用程式的金鑰認證。

public:
 static IAsyncOperation<KeyCredentialRetrievalResult ^> ^ OpenAsync(Platform::String ^ name);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<KeyCredentialRetrievalResult> OpenAsync(winrt::hstring const& name);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<KeyCredentialRetrievalResult> OpenAsync(string name);
function openAsync(name)
Public Shared Function OpenAsync (name As String) As IAsyncOperation(Of KeyCredentialRetrievalResult)

參數

name
String

Platform::String

winrt::hstring

要開啟的金鑰認證名稱。

傳回

此方法完成時,它會傳回金鑰認證擷取的結果。

屬性

適用於