SmartCardEmulatorApduReceivedEventArgs Класс

Определение

Предоставляет данные для события 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
Наследование
Object Platform::Object IInspectable SmartCardEmulatorApduReceivedEventArgs
Атрибуты

Требования к Windows

Семейство устройств
Windows Mobile Extension SDK (появилось в 10.0.10240.0)
API contract
Windows.Devices.SmartCards.SmartCardEmulatorContract (появилось в v1.0)

Комментарии

Система создает экземпляр этого класса и передает его в качестве аргумента обработчику событий ApduReceived приложения.

Журнал версий

Версия Windows Версия пакета SDK Добавленная стоимость
1511 10586 Состояние
1511 10586 TryRespondAsync(IBuffer;UInt32>, допускающий значение<NULL)
1511 10586 TryRespondWithCryptogramsAsync(IBuffer,IEnumerable<SmartCardCryptogramPlacementStep>)
1511 10586 TryRespondWithCryptogramsAsync(IBuffer,IEnumerable<SmartCardCryptogramPlacementStep,UInt32>>, допускающий<значение NULL)

Свойства

AutomaticResponseStatus

Возвращает объект SmartCardAutomaticResponseStatus , указывающий, что автоматический ответ уже успешно отправлен (успешно), предпринятая попытка, но неудачная попытка (UnknownError) или не соответствует ни одному правилу автоответчика (None).

CommandApdu

Представляет команду единицы данных протокола приложения (APDU), отправленную устройством чтения NFC.

ConnectionProperties

Возвращает свойства подключения эмулятора смарт-карта.

State

Получает состояние.

Методы

TryRespondAsync(IBuffer)

Пытается ответить на APDU.

TryRespondAsync(IBuffer, IReference<UInt32>)

Пытается ответить на APDU.

TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>)

Пытается ответить на APDU, помещая криптограммы в исходящее сообщение, как указано в шагах размещения.

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

Возвращает асинхронную операцию, которая завершается с состоянием операции.

Применяется к

См. также раздел