Android.Nfc.Tech.MifareClassic Members

The members of Android.Nfc.Tech.MifareClassic are listed below.

See Also: Inherited members from Android.Nfc.Tech.BasicTagTechnology

Public Fields

const
BlockSizeint (16). Size of a MIFARE Classic block (in bytes)
const
Size1kMifareClassicSize (1024). Tag contains 16 sectors, each with 4 blocks.
const
Size2kMifareClassicSize (2048). Tag contains 32 sectors, each with 4 blocks.
const
Size4kMifareClassicSize (4096). Tag contains 40 sectors.
const
SizeMiniMifareClassicSize (320). Tag contains 5 sectors, each with 4 blocks.
const
TypeClassicMifareClassicType (0). A MIFARE Classic tag
const
TypePlusMifareClassicType (1). A MIFARE Plus tag
const
TypeProMifareClassicType (2). A MIFARE Pro tag
const
TypeUnknownMifareClassicType (-1). A MIFARE Classic compatible card of unknown type

Public Properties

[read-only]
BlockCountint. Return the total number of MIFARE Classic blocks.
[read-only]
override
IsConnectedbool. Helper to indicate if I/O operations should be possible.
[read-only]
static
KeyDefaultIList<byte>. The default factory key.
[read-only]
static
KeyMifareApplicationDirectoryIList<byte>. The well-known key for tags formatted according to the MIFARE Application Directory (MAD) specification.
[read-only]
static
KeyNfcForumIList<byte>. The well-known key for tags formatted according to the NDEF on MIFARE Classic specification.
[read-only]
MaxTransceiveLengthint. Return the maximum number of bytes that can be sent with MifareClassic.Transceive(Byte[]).
[read-only]
SectorCountint. Return the number of MIFARE Classic sectors.
[read-only]
Sizeint. Return the size of the tag in bytes
[read-only]
override
TagAndroid.Nfc.Tag. Get the Android.Nfc.Tag object backing this Android.Nfc.Tech.ITagTechnology object.
Timeoutint. Get the current MifareClassic.Transceive(Byte[]) timeout in milliseconds.
[read-only]
TypeMifareClassicType. Return the type of this MIFARE Classic compatible tag.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AuthenticateSectorWithKeyA(int, byte[]) : bool
Authenticate a sector with key A.
AuthenticateSectorWithKeyB(int, byte[]) : bool
Authenticate a sector with key B.
BlockToSector(int) : int
Return the sector that contains a given block.
override
Close()
Disable I/O operations to the tag from this Android.Nfc.Tech.ITagTechnology object, and release resources.
override
Connect()
Enable I/O operations to the tag from this Android.Nfc.Tech.ITagTechnology object.
Decrement(int, int)
Decrement a value block, storing the result in the temporary block on the tag.
DecrementAsync(int, int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
static
Get(Android.Nfc.Tag) : MifareClassic
Get an instance of Android.Nfc.Tech.MifareClassic for the given tag.
GetBlockCountInSector(int) : int
Return the number of blocks in the given sector.
Increment(int, int)
Increment a value block, storing the result in the temporary block on the tag.
IncrementAsync(int, int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
ReadBlock(int) : byte[]
Read 16-byte block.
ReadBlockAsync(int) : System.Threading.Tasks.Task<Byte[]>
Documentation for this section has not yet been entered.
Restore(int)
Copy from a value block to the temporary block.
RestoreAsync(int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
SectorToBlock(int) : int
Return the first block of a given sector.
Transceive(byte[]) : byte[]
Send raw NfcA data to a tag and receive the response.
TransceiveAsync(byte[]) : System.Threading.Tasks.Task<Byte[]>
Documentation for this section has not yet been entered.
Transfer(int)
Copy from the temporary block to a value block.
TransferAsync(int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
WriteBlock(int, byte[])
Write 16-byte block.
WriteBlockAsync(int, byte[]) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.