SmartCardEmulatorApduReceivedEventArgs
SmartCardEmulatorApduReceivedEventArgs
SmartCardEmulatorApduReceivedEventArgs
SmartCardEmulatorApduReceivedEventArgs
Class
Definition
Provides data for the ApduReceived event.
public : sealed class SmartCardEmulatorApduReceivedEventArgs : ISmartCardEmulatorApduReceivedEventArgs, ISmartCardEmulatorApduReceivedEventArgs2, ISmartCardEmulatorApduReceivedEventArgsWithCryptogramspublic sealed class SmartCardEmulatorApduReceivedEventArgs : ISmartCardEmulatorApduReceivedEventArgs, ISmartCardEmulatorApduReceivedEventArgs2, ISmartCardEmulatorApduReceivedEventArgsWithCryptogramsPublic NotInheritable Class SmartCardEmulatorApduReceivedEventArgs Implements ISmartCardEmulatorApduReceivedEventArgs, ISmartCardEmulatorApduReceivedEventArgs2, ISmartCardEmulatorApduReceivedEventArgsWithCryptograms// You can use this class in JavaScript.
- Attributes
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Devices.SmartCards.SmartCardEmulatorContract (introduced v1)
|
Remarks
The system generates an instance of this class and passes it as an argument to the application's ApduReceived event handler.
Properties
AutomaticResponseStatus AutomaticResponseStatus AutomaticResponseStatus AutomaticResponseStatus
Gets a SmartCardAutomaticResponseStatus object indicating the automatic response was already successfully sent (Success), attempted but failed (UnknownError), or was not matched with any auto-responder rule (None).
public : SmartCardAutomaticResponseStatus AutomaticResponseStatus { get; }public SmartCardAutomaticResponseStatus AutomaticResponseStatus { get; }Public ReadOnly Property AutomaticResponseStatus As SmartCardAutomaticResponseStatus// You can use this property in JavaScript.
- Value
- SmartCardAutomaticResponseStatus SmartCardAutomaticResponseStatus SmartCardAutomaticResponseStatus SmartCardAutomaticResponseStatus
The object indicating the status of the automatic response.
- See Also
CommandApdu CommandApdu CommandApdu CommandApdu
Represents an application protocol data unit (APDU) command sent by an NFC reader.
public : IBuffer CommandApdu { get; }public IBuffer CommandApdu { get; }Public ReadOnly Property CommandApdu As IBuffer// You can use this property in JavaScript.
An application protocol data unit (APDU) command sent by an NFC reader.
- See Also
ConnectionProperties ConnectionProperties ConnectionProperties ConnectionProperties
Gets the connection properties of the smart card emulator.
public : SmartCardEmulatorConnectionProperties ConnectionProperties { get; }public SmartCardEmulatorConnectionProperties ConnectionProperties { get; }Public ReadOnly Property ConnectionProperties As SmartCardEmulatorConnectionProperties// You can use this property in JavaScript.
- Value
- SmartCardEmulatorConnectionProperties SmartCardEmulatorConnectionProperties SmartCardEmulatorConnectionProperties SmartCardEmulatorConnectionProperties
The connection properties of the smart card emulator.
- See Also
State State State State
Gets the state.
public : unsigned int State { get; }public uint State { get; }Public ReadOnly Property State As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The state.
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10586.0)
|
| API contract |
Windows.Devices.SmartCards.SmartCardEmulatorContract (introduced v2)
|
- See Also
Methods
TryRespondAsync(IBuffer) TryRespondAsync(IBuffer) TryRespondAsync(IBuffer) TryRespondAsync(IBuffer)
Attempts to respond to an APDU.
public : IAsyncOperation<PlatForm::Boolean> TryRespondAsync(IBuffer responseApdu)public IAsyncOperation<bool> TryRespondAsync(IBuffer responseApdu)Public Function TryRespondAsync(responseApdu As IBuffer) As IAsyncOperation( Of bool )// You can use this method in JavaScript.
Returns an asynchronous operation that returns a boolean when the operation completes indicating. The boolean will be true if the operation was successful and false otherwise.
- See Also
TryRespondAsync(IBuffer, IReference)
TryRespondAsync(IBuffer, IReference)
TryRespondAsync(IBuffer, IReference)
TryRespondAsync(IBuffer, IReference)
Attempts to respond to an APDU.
public : IAsyncOperation<PlatForm::Boolean> TryRespondAsync(IBuffer responseApdu, IReference<unsigned int> nextState)public IAsyncOperation<bool> TryRespondAsync(IBuffer responseApdu, Nullable<UInt32> nextState)Public Function TryRespondAsync(responseApdu As IBuffer, nextState As Nullable<UInt32>) As IAsyncOperation( Of bool )// You can use this method in JavaScript.
- nextState
- IReference<unsigned int> Nullable<UInt32> Nullable<UInt32> Nullable<UInt32>
A reference containing the next state.
Returns an asynchronous operation that returns a boolean when the operation completes. The boolean is true if the operation completed successfully and false otherwise.
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10586.0)
|
| API contract |
Windows.Devices.SmartCards.SmartCardEmulatorContract (introduced v2)
|
- See Also
TryRespondWithCryptogramsAsync(IBuffer, IIterable)
TryRespondWithCryptogramsAsync(IBuffer, IIterable)
TryRespondWithCryptogramsAsync(IBuffer, IIterable)
TryRespondWithCryptogramsAsync(IBuffer, IIterable)
Attempts to respond to an APDU, placing cryptograms in the outgoing message as instructed by the placement steps.
public : IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer responseTemplate, IIterable<SmartCardCryptogramPlacementStep> cryptogramPlacementSteps)public IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer responseTemplate, IEnumerable<SmartCardCryptogramPlacementStep> cryptogramPlacementSteps)Public Function TryRespondWithCryptogramsAsync(responseTemplate As IBuffer, cryptogramPlacementSteps As IEnumerable<SmartCardCryptogramPlacementStep>) As IAsyncOperation( Of SmartCardCryptogramGeneratorOperationStatus )// You can use this method in JavaScript.
- cryptogramPlacementSteps
- IIterable<SmartCardCryptogramPlacementStep> IEnumerable<SmartCardCryptogramPlacementStep> IEnumerable<SmartCardCryptogramPlacementStep> IEnumerable<SmartCardCryptogramPlacementStep>
A collection that contains the cryptogram steps.
Returns an asynchronous operation that completes with an operation status.
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10586.0)
|
| API contract |
Windows.Devices.SmartCards.SmartCardEmulatorContract (introduced v2)
|
- See Also
-
TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>, IReference<UInt32>)TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>, IReference<UInt32>)TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>, IReference<UInt32>)TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>, IReference<UInt32>)
TryRespondWithCryptogramsAsync(IBuffer, IIterable, IReference)
TryRespondWithCryptogramsAsync(IBuffer, IIterable, IReference)
TryRespondWithCryptogramsAsync(IBuffer, IIterable, IReference)
TryRespondWithCryptogramsAsync(IBuffer, IIterable, IReference)
Returns an asynchronous operation that completes with an operation status.
public : IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer responseTemplate, IIterable<SmartCardCryptogramPlacementStep> cryptogramPlacementSteps, IReference<unsigned int> nextState)public IAsyncOperation<SmartCardCryptogramGeneratorOperationStatus> TryRespondWithCryptogramsAsync(IBuffer responseTemplate, IEnumerable<SmartCardCryptogramPlacementStep> cryptogramPlacementSteps, Nullable<UInt32> nextState)Public Function TryRespondWithCryptogramsAsync(responseTemplate As IBuffer, cryptogramPlacementSteps As IEnumerable<SmartCardCryptogramPlacementStep>, nextState As Nullable<UInt32>) As IAsyncOperation( Of SmartCardCryptogramGeneratorOperationStatus )// You can use this method in JavaScript.
- cryptogramPlacementSteps
- IIterable<SmartCardCryptogramPlacementStep> IEnumerable<SmartCardCryptogramPlacementStep> IEnumerable<SmartCardCryptogramPlacementStep> IEnumerable<SmartCardCryptogramPlacementStep>
A collection that contains the cryptogram steps.
- nextState
- IReference<unsigned int> Nullable<UInt32> Nullable<UInt32> Nullable<UInt32>
A reference that contains the next state.
Returns an asynchronous operation that completes with an operation status.
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10586.0)
|
| API contract |
Windows.Devices.SmartCards.SmartCardEmulatorContract (introduced v2)
|
- See Also
-
TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>)TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>)TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>)TryRespondWithCryptogramsAsync(IBuffer, IIterable<SmartCardCryptogramPlacementStep>)