Share via


SmartCardAutomaticResponseApdu 類別

定義

表示智慧卡自動回應應用程式通訊協定資料單位 (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
繼承
Object Platform::Object IInspectable SmartCardAutomaticResponseApdu
屬性

Windows 需求

裝置系列
Windows Mobile Extension SDK (已於 10.0.10240.0 引進)
API contract
Windows.Devices.SmartCards.SmartCardEmulatorContract (已於 v1.0 引進)

備註

版本歷程記錄

Windows 版本 SDK 版本 已新增值
1511 10586 InputState
1511 10586 OutputState
1607 14393 AllowWhenCryptogramGeneratorNotPrepared

建構函式

SmartCardAutomaticResponseApdu(IBuffer, IBuffer)

初始化類別的新執行個體。

屬性

AllowWhenCryptogramGeneratorNotPrepared

取得或設定 Boolean 值,指出如果密碼編譯報材質在使用者授權的情況下無法準備使用,是否要繼續進行自動 APDU 處理。

AppletId

取得或設定這個 APDU 的 Applet 識別碼。

CommandApdu

取得或設定這個 APDU 的命令。

CommandApduBitMask

取得或設定 APDU 命令的位元遮罩。

InputState

取得並放置輸入狀態。

OutputState

取得並放置輸出狀態。

ResponseApdu

取得或設定來自應用程式通訊協定資料單位 (APDU) 的回應。

ShouldMatchLength

取得或設定布林值,指出 CommandApdu 和傳入命令是否應該完全符合長度。

適用於

另請參閱