Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)
Public Function ReadBinary( _
ByVal nSFI As Byte, _
ByVal nOffset As Byte, _
ByVal nLength As Byte _
) As CardResponseAPDU
This language is not supported or no code example is available.
public CardResponseAPDU ReadBinary(
byte nSFI,
byte nOffset,
byte nLength
)
This language is not supported or no code example is available.
public:
CardResponseAPDU^ ReadBinary(
Byte nSFI,
Byte nOffset,
Byte nLength
)
This language is not supported or no code example is available.
Parameters
- nSFI
-
Type: byte
The short file identifier (SFI) of the EF from which the binary data shall be read. A valid SFI must be in the range from zero through 31.
- nOffset
-
Type: byte
Byte offset where to begin reading.
- 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 nSFI is invalid. |
This method uses the following generic command APDU:
CLA 'B0' '80'+SFI OF LE
, where SFI is the short file
identifier, and OF is the given offset, and LE is the given length byte.