SmartCardEmulatorApduReceivedEventArgs Klasse

Definition

Stellt Daten für das ApduReceived-Ereignis bereit.

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
Vererbung
Object Platform::Object IInspectable SmartCardEmulatorApduReceivedEventArgs
Attribute

Windows-Anforderungen

Gerätefamilie
Windows Mobile Extension SDK (eingeführt in 10.0.10240.0)
API contract
Windows.Devices.SmartCards.SmartCardEmulatorContract (eingeführt in v1.0)

Hinweise

Das System generiert eine instance dieser Klasse und übergibt sie als Argument an den ApduReceived-Ereignishandler der Anwendung.

Versionsverlauf

Windows-Version SDK-Version Mehrwert
1511 10586 State
1511 10586 TryRespondAsync(IBuffer,Nullable<UInt32>)
1511 10586 TryRespondWithCryptogramsAsync(IBuffer,IEnumerable<SmartCardCryptogramPlacementStep>)
1511 10586 TryRespondWithCryptogramsAsync(IBuffer,IEnumerable<SmartCardCryptogramPlacementStep,Nullable<> UInt32>)

Eigenschaften

AutomaticResponseStatus

Ruft ein SmartCardAutomaticResponseStatus-Objekt ab, das angibt, dass die automatische Antwort bereits erfolgreich gesendet wurde (Success), versucht, aber fehlgeschlagen (UnknownError) oder nicht mit einer Auto-Responder-Regel (None) abgeglichen wurde.

CommandApdu

Stellt einen APDU-Befehl (Application Protocol Data Unit) dar, der von einem NFC-Reader gesendet wird.

ConnectionProperties

Ruft die Verbindungseigenschaften des Smart Karte Emulators ab.

State

Ruft den Zustand ab.

Methoden

TryRespondAsync(IBuffer)

Versucht, auf eine APDU zu reagieren.

TryRespondAsync(IBuffer, IReference<UInt32>)

Versucht, auf eine APDU zu reagieren.

TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>)

Versucht, auf eine APDU zu reagieren, wobei Kryptogramme in der ausgehenden Nachricht platziert werden, wie in den Platzierungsschritten angegeben.

TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>, IReference<UInt32>)

Gibt einen asynchronen Vorgang zurück, der mit einem Vorgang status abgeschlossen wird.

Gilt für:

Weitere Informationen