Constructs ResponseAPDU from byte array and specified length.

Namespace: BasicCard.ProcessorCards
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
public ResponseApdu(
	byte[] response,
	int length
)
Visual Basic
Public Sub New ( 
	response As Byte(),
	length As Integer
)
Visual C++
public:
ResponseApdu(
	array<unsigned char>^ response, 
	int length
)
F#
new : 
        response : byte[] * 
        length : int -> ResponseApdu

Parameters

response
Type: array<System..::..Byte>[]()[][]
Response byte array containing the response bytes.
length
Type: System..::..Int32
Number of response bytes to use.

Exceptions

ExceptionCondition
BasicCard.GenericCards..::..CardExceptionIf response is less than 2 bytes (SW1SW2 missing).

See Also