SmartCardEmulatorApduReceivedEventArgs.TryRespondWithCryptogramsAsync 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
TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>) |
Attempts to respond to an APDU, placing cryptograms in the outgoing message as instructed by the placement steps. |
TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>, IReference<UInt32>) |
Returns an asynchronous operation that completes with an operation status. |
TryRespondWithCryptogramsAsync(IBuffer, IIterable<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
A collection that contains the cryptogram steps.
Returns
Returns an asynchronous operation that completes with an operation status.
- Attributes
Windows 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, IIterable<SmartCardCryptogramPlacementStep>, IReference<UInt32>)
- Create an NFC Smart Card app (applies to Windows 10 Mobile only)
Applies to
TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>, IReference<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
A collection that contains the cryptogram steps.
- nextState
-
Windows.Foundation.IReference<unsigned int>
IReference<uint32_t>
A reference that contains the next state.
Returns
Returns an asynchronous operation that completes with an operation status.
- Attributes
Windows 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, IIterable<SmartCardCryptogramPlacementStep>)
- Create an NFC Smart Card app (applies to Windows 10 Mobile only)