Dela via


KeyCredentialManager.OpenAsync(String) Method

Definition

Retrieves a key credential for the current user and application.

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)

Parameters

name
String

Platform::String

winrt::hstring

The name of the key credential to open.

Returns

When this method completes, it returns the results of the key credential retrieval.

Attributes

Applies to