Edit

Share via


MifareDirectoryEntry Class

Definition

Describes the sectors assigned to a Mifare application in the directory. Sector 0 and (on cards larger than 1K) sector 16 are used for the directory. Mifare applications are assigned a contiguous range of sectors, except that the assignment is discontiguous across sector 16 (which is skipped)

public class MifareDirectoryEntry
type MifareDirectoryEntry = class
Public Class MifareDirectoryEntry
Inheritance
MifareDirectoryEntry

Constructors

MifareDirectoryEntry(MifareApplicationIdentifier, Byte, UInt32)

Constructor

Properties

ApplicationIdentifier

Mifare application identifier

FirstSector

First assigned sector

NumberOfBlocks

Number of data blocks This is not simply a multiple of the number of sectors, because the last eight sectors on a 4K card are larger than the first 32.

NumberOfSectors

Number of sectors

Methods

GetAllDataBlocks()

Get all data blocks that are assigned to this application

GetAllSectors()

Get all sectors that are assigned to this application

Applies to