SmartCardEmulator クラス

定義

スマート カード エミュレーター デバイスを表します。

public ref class SmartCardEmulator 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 SmartCardEmulator 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 SmartCardEmulator
Public NotInheritable Class SmartCardEmulator
継承
Object Platform::Object IInspectable SmartCardEmulator
属性

Windows の要件

デバイス ファミリ
Windows Mobile Extension SDK (10.0.10240.0 で導入)
API contract
Windows.Devices.SmartCards.SmartCardEmulatorContract (v1.0 で導入)

注釈

バージョン履歴

Windows のバージョン SDK バージョン 追加された値
1709 16299 Issupported

プロパティ

EnablementPolicy

ユーザーによって設定された現在のカード エミュレーション ポリシーを取得します。

MaxAppletIdGroupRegistrations

許可されているアプレット ID グループ登録の最大数を取得します。

メソッド

GetAppletIdGroupRegistrationsAsync()

このスマート カードの登録済みアプレット識別子グループを非同期的に取得します。

GetDefaultAsync()

既定のスマート カード エミュレーター デバイスを表す SmartCardEmulator オブジェクトを返します。

IsHostCardEmulationSupported()

ホスト カード エミュレーションがこのデバイスでサポートされているかどうかを示すブール値を取得します。

IsSupported()

SmartCardEmulator がサポートされているかどうかを返します。

RegisterAppletIdGroupAsync(SmartCardAppletIdGroup)

アプレット ID のグループを非同期に登録します。

Start()

スマート カード エミュレーターを起動します。 このメソッドは、バックグラウンド タスクから呼び出す必要があります。

UnregisterAppletIdGroupAsync(SmartCardAppletIdGroupRegistration)

以前に登録されたアプレット ID のグループの登録を非同期に解除します。

イベント

ApduReceived

アプリケーション プロトコル データ ユニット (APDU) が NFC コントローラーによって受信されたときに発生します。

ConnectionDeactivated

デバイスとの接続が物理的に切断された場合、または NFC リーダーが別のアプリへの接続を要求したときに発生します。

適用対象

こちらもご覧ください