MifareApplicationIdentifier Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Mifare application identifier as defined in https://www.nxp.com/docs/en/application-note/AN10787.pdf This identifies an application within a Mifare application directory. It is an unsigned 16-bit quantity (2 bytes, little-endian order) The high-order 8 bits identify the function cluster, and the low-order 8 bits define an application code within that cluster
public struct MifareApplicationIdentifier : IEquatable<Iot.Device.Card.Mifare.MifareApplicationIdentifier>
type MifareApplicationIdentifier = struct
Public Structure MifareApplicationIdentifier
Implements IEquatable(Of MifareApplicationIdentifier)
- Inheritance
-
MifareApplicationIdentifier
- Implements
Constructors
MifareApplicationIdentifier(ReadOnlySpan<Byte>) |
Construct a MifareApplicationIdentifier from a sequence of bytes |
MifareApplicationIdentifier(UInt16) |
Construct a MifareApplicationIdentifier from an ushort |
Fields
AdminSectorAdditionalDirectory |
Identifies an additional directory sector This is currently unused, reserved for future cards |
AdminSectorCardHolderInformation |
Identifies a sector containing cardholder information |
AdminSectorDefect |
Identifies a bad sector This sector cannot be used, e.g., because the sector trailer is not writeable or the authentication keys are unknown |
AdminSectorFree |
Identifies an unallocated sector |
AdminSectorNotApplicable |
Identifies that a sector does not exist This is used for entries in the directory that are beyond the end of the card, for example, sectors 32 through 39 of a 2K card |
AdminSectorReserved |
Identifies a reserved sector |
Properties
ApplicationCode |
The application code for this application identifier (low-order 8 bits) |
FunctionCluster |
The function cluster for this application identifier (high-order 8 bits) |
IsAdmin |
Indicates if this is an administrative application ID |
Methods
CopyTo(Span<Byte>) |
Copy the MifareApplicationIdentifier to a sequence of bytes |
Equals(MifareApplicationIdentifier) |
Equality comparison (MifareApplicationIdentifier) |
Equals(Object) |
Equality comparison (object) |
GetHashCode() |
Get a hash code for this object |
ToString() |
Convert to a string that represents the value in hexadecimal |
Operators
Equality(MifareApplicationIdentifier, MifareApplicationIdentifier) |
Equality operator |
Explicit(MifareApplicationIdentifier to UInt16) |
Convert a MifareApplicationIdentifier to a ushort |
Explicit(UInt16 to MifareApplicationIdentifier) |
Convert a ushort to a MifareApplicationIdentifier |
Inequality(MifareApplicationIdentifier, MifareApplicationIdentifier) |
Inequality operator |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for