Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Public Function ReadBinary( _
ByVal nOffset As Integer, _
ByVal nLength As Byte _
) As CardResponseAPDU
This language is not supported or no code example is available.
public CardResponseAPDU ReadBinary(
int nOffset,
byte nLength
)
This language is not supported or no code example is available.
public:
CardResponseAPDU^ ReadBinary(
int nOffset,
Byte nLength
)
This language is not supported or no code example is available.
Parameters
- nOffset
-
Type: int
Byte offset where to begin reading. The offset must be in the range from 0 through hex '7FFF'.
- nLength
-
Type: byte
Number of bytes to read. If this is zero, then all available bytes up to the end of the file are read.
Return Value
Type: CardResponseAPDUThe complete response APDU is returned. The property CardResponseAPDU.IsSuccessful can be used to check whether the data was read successfully. The read data is available through the CardResponseAPDU.GetData method.
Exception type | Condition |
---|---|
The given parameter nOffset was invalid. |
|
Thrown when a Card Terminal error condition occurs. |
This method uses the following generic command APDU:
CLA 'B0' HI LO LE
, where HI and LO are the high and low byte
of the given offset and LE is the given length byte.