Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

KeyCredentialManager.RequestCreateAsync | requestCreateAsync method

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

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

Syntax

Windows.Security.Credentials.KeyCredentialManager.requestCreateAsync(id, overwriteExisted).done( /* Your success and error handlers */ );
public static IAsyncOperation<KeyCredentialRequestResult> RequestCreateAsync(
 string id, 
 bool overwriteExisted
)
Public Shared Function RequestCreateAsync(
 id As String, 
 overwriteExisted As Boolean 
) As IAsyncOperation(Of KeyCredentialRequestResult)
public:
static IAsyncOperation<KeyCredentialRequestResult>^ RequestCreateAsync(
 String^ id, 
 bool overwriteExisted
)

Parameters

Return value

Type: IAsyncOperation<KeyCredentialRequestResult>

The results of the key credential request.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Security.Credentials Windows::Security::Credentials [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

See also

KeyCredentialManager

Additional resources