SmartCardProvisioning.RequestVirtualSmartCardCreationAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- RequestVirtualSmartCardCreationAsync(String, IBuffer, SmartCardPinPolicy, Guid)
- Create an NFC Smart Card app (applies to Windows 10 Mobile only)
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
- RequestVirtualSmartCardCreationAsync(String, IBuffer, SmartCardPinPolicy)
- Create an NFC Smart Card app (applies to Windows 10 Mobile only)