Bagikan melalui


SmartCardAutomaticResponseApdu Kelas

Definisi

Mewakili respons otomatis kartu pintar Unit Data Protokol Aplikasi (APDU).

public ref class SmartCardAutomaticResponseApdu sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.SmartCards.ISmartCardAutomaticResponseApduFactory, 65536, Windows.Devices.SmartCards.SmartCardEmulatorContract)]
/// [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 SmartCardAutomaticResponseApdu final
/// [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)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.SmartCards.ISmartCardAutomaticResponseApduFactory, 65536, "Windows.Devices.SmartCards.SmartCardEmulatorContract")]
class SmartCardAutomaticResponseApdu final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.SmartCards.ISmartCardAutomaticResponseApduFactory), 65536, typeof(Windows.Devices.SmartCards.SmartCardEmulatorContract))]
[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 SmartCardAutomaticResponseApdu
[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)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.SmartCards.ISmartCardAutomaticResponseApduFactory), 65536, "Windows.Devices.SmartCards.SmartCardEmulatorContract")]
public sealed class SmartCardAutomaticResponseApdu
function SmartCardAutomaticResponseApdu(commandApdu, responseApdu)
Public NotInheritable Class SmartCardAutomaticResponseApdu
Warisan
Object Platform::Object IInspectable SmartCardAutomaticResponseApdu
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

Riwayat versi

Versi Windows Versi SDK Nilai ditambahkan
1511 10586 InputState
1511 10586 OutputState
1607 14393 AllowWhenCryptogramGeneratorNotPrepared

Konstruktor

SmartCardAutomaticResponseApdu(IBuffer, IBuffer)

Menginisialisasi instans baru kelas.

Properti

AllowWhenCryptogramGeneratorNotPrepared

Mendapatkan atau menetapkan nilai Boolean yang menunjukkan apakah akan melanjutkan pemrosesan APDU Otomatis jika Materi Kriptogram tidak dapat disiapkan untuk digunakan tanpa otorisasi pengguna.

AppletId

Mendapatkan atau mengatur pengidentifikasi applet untuk APDU ini.

CommandApdu

Mendapatkan atau mengatur perintah untuk APDU ini.

CommandApduBitMask

Mendapatkan atau mengatur bitmask untuk perintah APDU.

InputState

Mendapatkan dan menempatkan status input.

OutputState

Mendapatkan dan menempatkan status output.

ResponseApdu

Mendapatkan atau mengatur respons dari Unit Data Protokol Aplikasi (APDU).

ShouldMatchLength

Mendapatkan atau menetapkan nilai Boolean yang menunjukkan apakah CommandApdu dan perintah masuk harus memiliki panjang yang sama persis.

Berlaku untuk

Lihat juga