SmartCardEmulatorApduReceivedEventArgs.TryRespondWithCryptogramsAsync Method

Definition

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

IIterable<SmartCardCryptogramPlacementStep>

IEnumerable<SmartCardCryptogramPlacementStep>

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

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

IIterable<SmartCardCryptogramPlacementStep>

IEnumerable<SmartCardCryptogramPlacementStep>

A collection that contains the cryptogram steps.

nextState

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference

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

Applies to