共用方式為


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,Nullable < UInt32 >)
1511 10586 TryRespondWithCryptogramsAsync (IBuffer,IEnumerable < SmartCardCryptogramPlacementStep >)
1511 10586 TryRespondWithCryptogramsAsync (IBuffer,IEnumerable SmartCardCryptogramPlacementStep > ,Nullable << UInt32 >)

屬性

AutomaticResponseStatus

會取得 SmartCardAutomaticResponseStatus 物件,指出自動回應已順利傳送 (成功) 、嘗試但失敗 (UnknownError) ,或不符合任何自動回應程式規則 (None) 。

CommandApdu

表示 NFC 讀取器所傳送的應用程式通訊協定資料單位 (APDU) 命令。

ConnectionProperties

取得智慧卡模擬器的連線屬性。

State

取得狀態。

方法

TryRespondAsync(IBuffer)

嘗試回應 APDU。

TryRespondAsync(IBuffer, IReference<UInt32>)

嘗試回應 APDU。

TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>)

嘗試回應 APDU,並將密碼編譯器放在傳出訊息中,如放置步驟指示。

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

傳回以作業狀態完成的非同步作業。

適用於

另請參閱