MfRc522.IsCardPresent Method

Definition

Overloads

IsCardPresent(Byte[])

Check if a new card is present.

IsCardPresent(Byte[], Boolean)

Check if a new card is present.

IsCardPresent(Byte[])

Check if a new card is present.

public bool IsCardPresent (byte[] atqa);
member this.IsCardPresent : byte[] -> bool
Public Function IsCardPresent (atqa As Byte()) As Boolean

Parameters

atqa
Byte[]

ATQA buffer must be 2 bytes length and will contain the ATQA answer if there is a card.

Returns

true if there is a card, else false.

Applies to

IsCardPresent(Byte[], Boolean)

Check if a new card is present.

public bool IsCardPresent (byte[] atqa, bool reselect = false);
member this.IsCardPresent : byte[] * bool -> bool
Public Function IsCardPresent (atqa As Byte(), Optional reselect As Boolean = false) As Boolean

Parameters

atqa
Byte[]

ATQA buffer must be 2 bytes length and will contain the ATQA answer if there is a card.

reselect
Boolean

true if this is reselecting an existing card (e.g., after a halt)

Returns

true if there is a card, else false.

Applies to