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

要打开的密钥凭据的名称。

返回

此方法完成后,它将返回密钥凭据检索的结果。

属性

适用于