Authenticates to a Mifare card memory block.

Namespace: CardWerk.SmartCard.CardModule.MifareClassic
Assembly: CardWerk.SmartCard.CardModule.MifareClassic (in CardWerk.SmartCard.CardModule.MifareClassic.dll)

Public Function Authenticate( _ 
ByVal blockAddress As Integer, _ 
ByVal keyType As Integer, _ 
ByVal keyNumber As Integer
) As Boolean
This language is not supported or no code example is available.
public bool Authenticate( 
int blockAddress
int keyType
int keyNumber 
)
This language is not supported or no code example is available.
public:  
bool Authenticate( 
int blockAddress
int keyType
int keyNumber 
)
This language is not supported or no code example is available.
public function Authenticate( 
blockAddress : int
keyType : int
keyNumber : int 
) : boolean;
This language is not supported or no code example is available.

Parameters

blockAddress
Type: int

Address of the memory block.

keyType
Type: int

Type of the key. KeyA or KeyB

keyNumber
Type: int

Reader-specific key slot {0,1,...}

Return Value

Type: bool

True if it succeeds, false if it fails.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0