Pn5180.ReadDataFromCard Method
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.
Overloads
ReadDataFromCard(Span<Byte>) |
Read data from a card. |
ReadDataFromCard(Span<Byte>, Int32) |
Read all the data from the card |
ReadDataFromCard(Span<Byte>)
Read data from a card.
public bool ReadDataFromCard (Span<byte> toRead);
member this.ReadDataFromCard : Span<byte> -> bool
Public Function ReadDataFromCard (toRead As Span(Of Byte)) As Boolean
Parameters
Returns
True if success
Remarks
Using this function you'll have to manage yourself the possible low level communication protocol. This function write directly to the card all the bytes. Please make sure you'll first load specific radio frequence settings, detect a card, select it and then send data
Applies to
ReadDataFromCard(Span<Byte>, Int32)
Read all the data from the card
public bool ReadDataFromCard (Span<byte> toRead, out int bytesRead);
member this.ReadDataFromCard : Span<byte> * int -> bool
Public Function ReadDataFromCard (toRead As Span(Of Byte), ByRef bytesRead As Integer) As Boolean
Parameters
- bytesRead
- Int32
number of bytes read
Returns
A byte array with all the read elements, null if nothing can be read
Remarks
Using this function you'll have to manage yourself the possible low level communication protocol. This function write directly to the card all the bytes. Please make sure you'll first load specific radio frequence settings, detect a card, select it and then send data
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for