SmartCardAutomaticResponseApdu Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the smart card automatic response Application Protocol Data Unit (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
- Inheritance
- Attributes
Windows requirements
Device family |
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
|
API contract |
Windows.Devices.SmartCards.SmartCardEmulatorContract (introduced in v1.0)
|
Remarks
Version history
Windows version | SDK version | Value added |
---|---|---|
1511 | 10586 | InputState |
1511 | 10586 | OutputState |
1607 | 14393 | AllowWhenCryptogramGeneratorNotPrepared |
Constructors
SmartCardAutomaticResponseApdu(IBuffer, IBuffer) |
Initializes a new instance of the class. |
Properties
AllowWhenCryptogramGeneratorNotPrepared |
Gets or sets a Boolean value indicating whether to continue with Automatic APDU processing if Cryptogram Materials cannot be prepared for use without user authorization. |
AppletId |
Gets or sets the applet identifier for this APDU. |
CommandApdu |
Gets or sets the command for this APDU. |
CommandApduBitMask |
Gets or sets the bitmask for the APDU command. |
InputState |
Gets and puts the input state. |
OutputState |
Gets and puts the output state. |
ResponseApdu |
Gets or sets the response from the Application Protocol Data Unit (APDU). |
ShouldMatchLength |
Gets or sets a Boolean value indicating whether the CommandApdu and incoming command should have exactly matching length. |