SmartCardEmulatorApduReceivedEventArgs.TryRespondWithCryptogramsAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>) |
尝试响应 APDU,按照放置步骤的指示将加密语法放置在传出消息中。 |
TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>, IReference<UInt32>) |
返回以操作状态完成的异步操作。 |
TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>)
尝试响应 APDU,按照放置步骤的指示将加密语法放置在传出消息中。
public:
virtual IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> ^ TryRespondWithCryptogramsAsync(IBuffer ^ responseTemplate, IIterable<SmartCardCryptogramPlacementStep ^> ^ cryptogramPlacementSteps) = TryRespondWithCryptogramsAsync;
/// [Windows.Foundation.Metadata.Overload("TryRespondWithCryptogramsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer const& responseTemplate, IIterable<SmartCardCryptogramPlacementStep> const& cryptogramPlacementSteps);
[Windows.Foundation.Metadata.Overload("TryRespondWithCryptogramsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer responseTemplate, IEnumerable<SmartCardCryptogramPlacementStep> cryptogramPlacementSteps);
function tryRespondWithCryptogramsAsync(responseTemplate, cryptogramPlacementSteps)
Public Function TryRespondWithCryptogramsAsync (responseTemplate As IBuffer, cryptogramPlacementSteps As IEnumerable(Of SmartCardCryptogramPlacementStep)) As IAsyncOperation(Of SmartCardCryptogramGeneratorOperationStatus)
参数
- responseTemplate
- IBuffer
包含模板响应的缓冲区。
- cryptogramPlacementSteps
包含加密语法步骤的集合。
返回
返回以操作状态完成的异步操作。
- 属性
Windows 要求
设备系列 |
Windows Mobile Extension SDK (在 10.0.10586.0 中引入)
|
API contract |
Windows.Devices.SmartCards.SmartCardEmulatorContract (在 v2.0 中引入)
|
另请参阅
- TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>, IReference<UInt32>)
- 创建 NFC 智能卡应用 (仅适用于Windows 10 移动版)
适用于
TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>, IReference<UInt32>)
返回以操作状态完成的异步操作。
public:
virtual IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> ^ TryRespondWithCryptogramsAsync(IBuffer ^ responseTemplate, IIterable<SmartCardCryptogramPlacementStep ^> ^ cryptogramPlacementSteps, IReference<unsigned int> ^ nextState) = TryRespondWithCryptogramsAsync;
/// [Windows.Foundation.Metadata.Overload("TryRespondWithCryptogramsAndStateAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer const& responseTemplate, IIterable<SmartCardCryptogramPlacementStep> const& cryptogramPlacementSteps, IReference<uint32_t> const& nextState);
[Windows.Foundation.Metadata.Overload("TryRespondWithCryptogramsAndStateAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer responseTemplate, IEnumerable<SmartCardCryptogramPlacementStep> cryptogramPlacementSteps, System.Nullable<uint> nextState);
function tryRespondWithCryptogramsAsync(responseTemplate, cryptogramPlacementSteps, nextState)
Public Function TryRespondWithCryptogramsAsync (responseTemplate As IBuffer, cryptogramPlacementSteps As IEnumerable(Of SmartCardCryptogramPlacementStep), nextState As Nullable(Of UInteger)) As IAsyncOperation(Of SmartCardCryptogramGeneratorOperationStatus)
参数
- responseTemplate
- IBuffer
包含模板响应的缓冲区。
- cryptogramPlacementSteps
包含加密语法步骤的集合。
- nextState
-
Windows.Foundation.IReference
IReference<uint32_t>
包含下一个状态的引用。
返回
返回以操作状态完成的异步操作。
- 属性
Windows 要求
设备系列 |
Windows Mobile Extension SDK (在 10.0.10586.0 中引入)
|
API contract |
Windows.Devices.SmartCards.SmartCardEmulatorContract (在 v2.0 中引入)
|
另请参阅
- TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>)
- 创建 NFC 智能卡应用 (仅适用于Windows 10 移动版)