KeyCredentialManager.RequestCreateAsync(String, KeyCredentialCreationOption) KeyCredentialManager.RequestCreateAsync(String, KeyCredentialCreationOption) KeyCredentialManager.RequestCreateAsync(String, KeyCredentialCreationOption) KeyCredentialManager.RequestCreateAsync(String, KeyCredentialCreationOption) KeyCredentialManager.RequestCreateAsync(String, KeyCredentialCreationOption) Method

Definition

Creates a new key credential for the current user and application.

public : static IAsyncOperation<KeyCredentialRetrievalResult> RequestCreateAsync(Platform::String name, KeyCredentialCreationOption option)
static IAsyncOperation<KeyCredentialRetrievalResult> RequestCreateAsync(winrt::hstring name, KeyCredentialCreationOption option) const;
public static IAsyncOperation<KeyCredentialRetrievalResult> RequestCreateAsync(String name, KeyCredentialCreationOption option)
Public Shared Function RequestCreateAsync(name As String, option As KeyCredentialCreationOption) As IAsyncOperation(Of KeyCredentialRetrievalResult)
Windows.Security.Credentials.KeyCredentialManager.requestCreateAsync(name, option).done( /* Your success and error handlers */ );

Parameters

name
String String String

The name of the key credential to create.

Returns