SmartCardEmulatorApduReceivedEventArgs.TryRespondWithCryptogramsAsync Method
Definition
Overloads
TryRespondWithCryptogramsAsync(IBuffer, IEnumerable<SmartCardCryptogramPlacementStep>) |
Attempts to respond to an APDU, placing cryptograms in the outgoing message as instructed by the placement steps. |
TryRespondWithCryptogramsAsync(IBuffer, IEnumerable<SmartCardCryptogramPlacementStep>, Nullable<UInt32>) |
Returns an asynchronous operation that completes with an operation status. |
TryRespondWithCryptogramsAsync(IBuffer, IEnumerable<SmartCardCryptogramPlacementStep>)
Attempts to respond to an APDU, placing cryptograms in the outgoing message as instructed by the placement steps.
public:
virtual IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> ^ TryRespondWithCryptogramsAsync(IBuffer ^ responseTemplate, IIterable<SmartCardCryptogramPlacementStep ^> ^ cryptogramPlacementSteps) = TryRespondWithCryptogramsAsync;
/// [Windows.Foundation.Metadata.Overload("TryRespondWithCryptogramsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer const & responseTemplate, IIterable<SmartCardCryptogramPlacementStep> const & cryptogramPlacementSteps);
[Windows.Foundation.Metadata.Overload("TryRespondWithCryptogramsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer responseTemplate, IEnumerable<SmartCardCryptogramPlacementStep> cryptogramPlacementSteps);
function tryRespondWithCryptogramsAsync(responseTemplate, cryptogramPlacementSteps)
Public Function TryRespondWithCryptogramsAsync (responseTemplate As IBuffer, cryptogramPlacementSteps As IEnumerable(Of SmartCardCryptogramPlacementStep)) As IAsyncOperation(Of SmartCardCryptogramGeneratorOperationStatus)
Parameters
- responseTemplate
- IBuffer
A buffer containing a template response.
- cryptogramPlacementSteps
- IEnumerable<SmartCardCryptogramPlacementStep>
A collection that contains the cryptogram steps.
Returns
Returns an asynchronous operation that completes with an operation status.
- Attributes
Windows 10 requirements
Device family |
Windows Mobile Extension SDK (introduced in 10.0.10586.0)
|
API contract |
Windows.Devices.SmartCards.SmartCardEmulatorContract (introduced in v2.0)
|
See also
- TryRespondWithCryptogramsAsync(IBuffer, IEnumerable<SmartCardCryptogramPlacementStep>, Nullable<UInt32>)
- Create an NFC Smart Card app (applies to Windows 10 Mobile only)
Applies to
TryRespondWithCryptogramsAsync(IBuffer, IEnumerable<SmartCardCryptogramPlacementStep>, Nullable<UInt32>)
Returns an asynchronous operation that completes with an operation status.
public:
virtual IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> ^ TryRespondWithCryptogramsAsync(IBuffer ^ responseTemplate, IIterable<SmartCardCryptogramPlacementStep ^> ^ cryptogramPlacementSteps, IReference<unsigned int> ^ nextState) = TryRespondWithCryptogramsAsync;
/// [Windows.Foundation.Metadata.Overload("TryRespondWithCryptogramsAndStateAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer const & responseTemplate, IIterable<SmartCardCryptogramPlacementStep> const & cryptogramPlacementSteps, IReference<uint32_t> const & nextState);
[Windows.Foundation.Metadata.Overload("TryRespondWithCryptogramsAndStateAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer responseTemplate, IEnumerable<SmartCardCryptogramPlacementStep> cryptogramPlacementSteps, System.Nullable<uint> nextState);
function tryRespondWithCryptogramsAsync(responseTemplate, cryptogramPlacementSteps, nextState)
Public Function TryRespondWithCryptogramsAsync (responseTemplate As IBuffer, cryptogramPlacementSteps As IEnumerable(Of SmartCardCryptogramPlacementStep), nextState As Nullable(Of UInteger)) As IAsyncOperation(Of SmartCardCryptogramGeneratorOperationStatus)
Parameters
- responseTemplate
- IBuffer
A buffer that contains a template response.
- cryptogramPlacementSteps
- IEnumerable<SmartCardCryptogramPlacementStep>
A collection that contains the cryptogram steps.
Returns
Returns an asynchronous operation that completes with an operation status.
- Attributes
Windows 10 requirements
Device family |
Windows Mobile Extension SDK (introduced in 10.0.10586.0)
|
API contract |
Windows.Devices.SmartCards.SmartCardEmulatorContract (introduced in v2.0)
|
See also
- TryRespondWithCryptogramsAsync(IBuffer, IEnumerable<SmartCardCryptogramPlacementStep>)
- Create an NFC Smart Card app (applies to Windows 10 Mobile only)