Bagikan melalui


SmartCardEmulatorApduReceivedEventArgs Kelas

Definisi

Menyediakan data untuk peristiwa 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
Warisan
Object Platform::Object IInspectable SmartCardEmulatorApduReceivedEventArgs
Atribut

Persyaratan Windows

Rangkaian perangkat
Windows Mobile Extension SDK (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Devices.SmartCards.SmartCardEmulatorContract (diperkenalkan dalam v1.0)

Keterangan

Sistem menghasilkan instans kelas ini dan meneruskannya sebagai argumen ke penanganan aktivitas ApduReceived aplikasi.

Riwayat versi

Versi Windows Versi SDK Nilai ditambahkan
1511 10586 Provinsi
1511 10586 TryRespondAsync(IBuffer,Nullable<UInt32>)
1511 10586 TryRespondWithCryptogramsAsync(IBuffer,IEnumerable<SmartCardCryptogramPlacementStep>)
1511 10586 TryRespondWithCryptogramsAsync(IBuffer,IEnumerable<SmartCardCryptogramPlacementStep,Nullable<> UInt32>)

Properti

AutomaticResponseStatus

Mendapatkan objek SmartCardAutomaticResponseStatus yang menunjukkan respons otomatis sudah berhasil dikirim (Berhasil), dicoba tetapi gagal (UnknownError), atau tidak cocok dengan aturan penanggap otomatis (Tidak Ada).

CommandApdu

Mewakili perintah unit data protokol aplikasi (APDU) yang dikirim oleh pembaca NFC.

ConnectionProperties

Mendapatkan properti koneksi emulator kartu pintar.

State

Mendapatkan status.

Metode

TryRespondAsync(IBuffer)

Mencoba menanggapi APDU.

TryRespondAsync(IBuffer, IReference<UInt32>)

Mencoba menanggapi APDU.

TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>)

Mencoba menanggapi APDU, menempatkan kriptogram dalam pesan keluar seperti yang diinstruksikan oleh langkah-langkah penempatan.

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

Mengembalikan operasi asinkron yang selesai dengan status operasi.

Berlaku untuk

Lihat juga