Public Member Functions | |
override bool | Format () |
override bool | Lock () |
NfcTagType4 (SCardChannel Channel) | |
Public Member Functions inherited from SpringCard.NfcForum.Tags.NfcTag | |
NfcTag (SCardChannel channel) | |
bool | IsEmpty () |
bool | IsFormatted () |
bool | IsFormattable () |
bool | IsLocked () |
bool | IsLockable () |
long | Capacity () |
long | ContentSize () |
bool | Write () |
bool | Write (bool skip_checks) |
byte [] | GetUid () |
Static Public Member Functions | |
static NfcTagType4 | Create (SCardChannel channel) |
static bool | Recognize (SCardChannel channel) |
static bool | Recognize (SCardChannel channel, ref bool write_protected, ref ushort max_le, ref ushort max_lc, ref ushort ndef_file_id, ref long ndef_file_size) |
Static Public Member Functions inherited from SpringCard.NfcForum.Tags.NfcTag | |
static bool | Recognize (SCardChannel cardchannel, out NfcTag tag, out string msg, out bool Desfire_formatable) |
Static Protected Member Functions | |
static byte [] | ReadBinary (SCardChannel channel, ushort offset, ushort length) |
static bool | WriteBinary (SCardChannel channel, ushort offset, byte[] buffer) |
Static Protected Member Functions inherited from SpringCard.NfcForum.Tags.NfcTag | |
static byte [] | GetUid (SCardChannel channel) |
Additional Inherited Members | |
Public Attributes inherited from SpringCard.NfcForum.Tags.NfcTag | |
const byte | NFC_FORUM_MAGIC_NUMBER = 0xE1 |
const byte | NFC_FORUM_VERSION_NUMBER = 0x10 |
const byte | LOCK_CONTROL_TLV = 0x01 |
const byte | MEMORY_CONTROL_TLV = 0x02 |
const byte | NDEF_MESSAGE_TLV = 0x03 |
const byte | NDEF_FILE_CONTROL_TLV = 0x04 |
const byte | PROPRIETARY_TLV = 0xFD |
const byte | TERMINATOR_TLV = 0xFE |
const byte | NULL_TLV = 0x00 |
List< NdefObject > | Content = new List<NdefObject>() |
Protected Attributes inherited from SpringCard.NfcForum.Tags.NfcTag | |
SCardChannel | _channel = null |
long | _capacity = 0 |
bool | _is_empty = false |
bool | _formatted = false |
bool | _formattable = false |
bool | _locked = false |
bool | _lockable = false |
c* SpringCard.NfcForum.Tags/NfcTagType4
NAME NfcTagType4
DERIVED FROM NfcTag
DERIVED BY NfcTagType4_Desfire
DESCRIPTION Represents a Type 4 NFC Tag that has been discovered on a reader.
SYNOPSIS if (NfcTagType4.Recognize(channel)) NfcTag tag = NfcTagType4.Create(SCardChannel channel)
|
static |
f* SpringCard.NfcForum.Tags/NfcTagType4.Create
NAME NfcTagType4.Create
SYNOPSIS public static NfcTagType4 Create(SCardChannel channel)
DESCRIPTION Instanciates a new NfcTagType4 object for this card
SEE ALSO NfcTagType4.Recognize
|
virtual |
m* SpringCard.NfcForum.Tags/NfcTag.Format
SYNOPSIS public bool Format()
DESCRIPTION Formats the physical Tag currently on the reader. This is only possible if IsFormattable returns true. Return true on success.
SEE ALSO NfcTag.IsFormatted NfcTag.IsFormatable NfcTag.Write
Implements SpringCard.NfcForum.Tags.NfcTag.
|
virtual |
m* SpringCard.NfcForum.Tags/NfcTag.Lock
SYNOPSIS public bool Lock()
DESCRIPTION Sets physical Tag currently on the reader in read-only (locked) state. This is only possible if IsLockable returns true. Returns true on success.
Implements SpringCard.NfcForum.Tags.NfcTag.
|
static |
f* SpringCard.NfcForum.Tags/NfcTagType4.Recognize
SYNOPSIS public static bool Recognize(SCardChannel channel)
DESCRIPTION Return true if the card on the reader is a NFC Forum type 4 Tag
SEE ALSO NfcTagType4.Create