SmartCardEmulatorApduReceivedEventArgs Classe

Définition

Fournit des données pour l’événement ApduReceived .

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
Héritage
Object Platform::Object IInspectable SmartCardEmulatorApduReceivedEventArgs
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows Mobile Extension SDK (introduit dans 10.0.10240.0)
API contract
Windows.Devices.SmartCards.SmartCardEmulatorContract (introduit dans v1.0)

Remarques

Le système génère une instance de cette classe et la transmet en tant qu’argument au gestionnaire d’événements ApduReceived de l’application.

Historique des versions

Version de Windows Version du SDK Valeur ajoutée
1511 10586 State
1511 10586 TryRespondAsync(IBuffer,Nullable<UInt32>)
1511 10586 TryRespondWithCryptogramsAsync(IBuffer,IEnumerable<SmartCardCryptogramPlacementStep>)
1511 10586 TryRespondWithCryptogramsAsync(IBuffer,IEnumerable<SmartCardCryptogramPlacementStep,Nullable<> UInt32>)

Propriétés

AutomaticResponseStatus

Obtient un objet SmartCardAutomaticResponseStatus indiquant que la réponse automatique a déjà été envoyée avec succès (Réussite), a tenté mais échoué (UnknownError) ou n’a pas été mise en correspondance avec une règle de répondeur automatique (Aucun).

CommandApdu

Représente une commande APDU (Application Protocol Data Unit) envoyée par un lecteur NFC.

ConnectionProperties

Obtient les propriétés de connexion de l’émulateur smart carte.

State

Obtient l'état.

Méthodes

TryRespondAsync(IBuffer)

Tente de répondre à une API.

TryRespondAsync(IBuffer, IReference<UInt32>)

Tente de répondre à une API.

TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>)

Tente de répondre à une API, en plaçant des cryptogrammes dans le message sortant comme indiqué par les étapes de placement.

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

Retourne une opération asynchrone qui se termine par une opération status.

S’applique à

Voir aussi