Dela via


SmartCardEmulatorApduReceivedEventArgs Class

Definition

Provides data for the ApduReceived event.

public ref class SmartCardEmulatorApduReceivedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.SmartCards.SmartCardEmulatorContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SmartCardEmulatorApduReceivedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.SmartCards.SmartCardEmulatorContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SmartCardEmulatorApduReceivedEventArgs
Public NotInheritable Class SmartCardEmulatorApduReceivedEventArgs
Inheritance
Object Platform::Object IInspectable SmartCardEmulatorApduReceivedEventArgs
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Devices.SmartCards.SmartCardEmulatorContract (introduced in v1.0)

Remarks

The system generates an instance of this class and passes it as an argument to the application's ApduReceived event handler.

Version history

Windows version SDK version Value added
1511 10586 State
1511 10586 TryRespondAsync(IBuffer,Nullable<UInt32>)
1511 10586 TryRespondWithCryptogramsAsync(IBuffer,IEnumerable<SmartCardCryptogramPlacementStep>)
1511 10586 TryRespondWithCryptogramsAsync(IBuffer,IEnumerable<SmartCardCryptogramPlacementStep>,Nullable<UInt32>)

Properties

AutomaticResponseStatus

Gets a SmartCardAutomaticResponseStatus object indicating the automatic response was already successfully sent (Success), attempted but failed (UnknownError), or was not matched with any auto-responder rule (None).

CommandApdu

Represents an application protocol data unit (APDU) command sent by an NFC reader.

ConnectionProperties

Gets the connection properties of the smart card emulator.

State

Gets the state.

Methods

TryRespondAsync(IBuffer, IReference<UInt32>)

Attempts to respond to an APDU.

TryRespondAsync(IBuffer)

Attempts to respond to an APDU.

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.

Applies to

See also