Share via


SmartCardProvisioning.RequestVirtualSmartCardCreationAsync Method

Definition

Overloads

RequestVirtualSmartCardCreationAsync(String, IBuffer, SmartCardPinPolicy)

Creates a Trusted Platform Module (TPM) virtual smart card with a given human-readable name, admin key, and personal identification number (PIN) rules set.

RequestVirtualSmartCardCreationAsync(String, IBuffer, SmartCardPinPolicy, Guid)

Creates a Trusted Platform Module (TPM) virtual smart card with a given human-readable name, admin key, personal identification number (PIN) rules set, and ID.

RequestVirtualSmartCardCreationAsync(String, IBuffer, SmartCardPinPolicy)

Creates a Trusted Platform Module (TPM) virtual smart card with a given human-readable name, admin key, and personal identification number (PIN) rules set.

public:
 static IAsyncOperation<SmartCardProvisioning ^> ^ RequestVirtualSmartCardCreationAsync(Platform::String ^ friendlyName, IBuffer ^ administrativeKey, SmartCardPinPolicy ^ pinPolicy);
/// [Windows.Foundation.Metadata.Overload("RequestVirtualSmartCardCreationAsync")]
 static IAsyncOperation<SmartCardProvisioning> RequestVirtualSmartCardCreationAsync(winrt::hstring const& friendlyName, IBuffer const& administrativeKey, SmartCardPinPolicy const& pinPolicy);
[Windows.Foundation.Metadata.Overload("RequestVirtualSmartCardCreationAsync")]
public static IAsyncOperation<SmartCardProvisioning> RequestVirtualSmartCardCreationAsync(string friendlyName, IBuffer administrativeKey, SmartCardPinPolicy pinPolicy);
function requestVirtualSmartCardCreationAsync(friendlyName, administrativeKey, pinPolicy)
Public Shared Function RequestVirtualSmartCardCreationAsync (friendlyName As String, administrativeKey As IBuffer, pinPolicy As SmartCardPinPolicy) As IAsyncOperation(Of SmartCardProvisioning)

Parameters

friendlyName
String

Platform::String

winrt::hstring

The smart card's human-readable name.

administrativeKey
IBuffer

The smart card's admin key (also known as an administrator PIN or unblock PIN).

pinPolicy
SmartCardPinPolicy

The smart card's PIN rules set.

Returns

After the operation completes, returns an instance of SmartCardProvisioning, representing the configured TPM virtual smart card.

Attributes

Remarks

When this method is called, it displays a UI to get the PIN from the user.

See also

Applies to

RequestVirtualSmartCardCreationAsync(String, IBuffer, SmartCardPinPolicy, Guid)

Creates a Trusted Platform Module (TPM) virtual smart card with a given human-readable name, admin key, personal identification number (PIN) rules set, and ID.

public:
 static IAsyncOperation<SmartCardProvisioning ^> ^ RequestVirtualSmartCardCreationAsync(Platform::String ^ friendlyName, IBuffer ^ administrativeKey, SmartCardPinPolicy ^ pinPolicy, Platform::Guid cardId);
/// [Windows.Foundation.Metadata.Overload("RequestVirtualSmartCardCreationAsyncWithCardId")]
 static IAsyncOperation<SmartCardProvisioning> RequestVirtualSmartCardCreationAsync(winrt::hstring const& friendlyName, IBuffer const& administrativeKey, SmartCardPinPolicy const& pinPolicy, winrt::guid const& cardId);
[Windows.Foundation.Metadata.Overload("RequestVirtualSmartCardCreationAsyncWithCardId")]
public static IAsyncOperation<SmartCardProvisioning> RequestVirtualSmartCardCreationAsync(string friendlyName, IBuffer administrativeKey, SmartCardPinPolicy pinPolicy, Guid cardId);
function requestVirtualSmartCardCreationAsync(friendlyName, administrativeKey, pinPolicy, cardId)
Public Shared Function RequestVirtualSmartCardCreationAsync (friendlyName As String, administrativeKey As IBuffer, pinPolicy As SmartCardPinPolicy, cardId As Guid) As IAsyncOperation(Of SmartCardProvisioning)

Parameters

friendlyName
String

Platform::String

winrt::hstring

The smart card's human-readable name.

administrativeKey
IBuffer

The smart card's admin key (also known as an administrator PIN or unblock PIN).

pinPolicy
SmartCardPinPolicy

The smart card's PIN rules set.

cardId
Guid

Platform::Guid

winrt::guid

The smart card's ID.

Returns

After the operation completes, returns an instance of SmartCardProvisioning, representing the configured TPM virtual smart card.

Attributes

Remarks

When this method is called, it displays a UI to get the PIN from the user.

See also

Applies to