Extract three access condition bits from accessBits 3-byte byte array. Three bit AC
determines access conditions for a block/keys or ac bits within a sector.
Namespace:
CardWerk.SmartCard.CardModule.MifareClassic
Assembly: CardWerk.SmartCard.CardModule.MifareClassic (in CardWerk.SmartCard.CardModule.MifareClassic.dll)
Public Shared Function GetAccessCondition( _
ByVal accessBits As Byte(), _
ByVal block As Integer _
) As Byte
This language is not supported or no code example is available.
public static byte GetAccessCondition(
byte[] accessBits,
int block
)
This language is not supported or no code example is available.
public:
static Byte GetAccessCondition(
array< Byte >^ accessBits,
int block
)
This language is not supported or no code example is available.
public static function GetAccessCondition(
accessBits : byte[],
block : int
) : byte;
This language is not supported or no code example is available.
Parameters
-
accessBits
-
Type: byte[]
3-byte array with access conditions for sector data, keys and
access conditions.
-
block
-
Type: int
block number between 0 and 3.
Return Value
Type:
byte
byte contains three bit access condition in its lsb {0...7}
.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