Tag Class

TegoOS

Tag Class
Represents a Gen 2 tag. Provides interfaces for the tag to act as a reader provider in order to use Gen 2 algorithms and as a memory provider so that it can be used by memory formats to access memory without becoming coupled to Gen 2 technology.
Inheritance Hierarchy
SystemObject  MemoryProvider
    Tego.Rfid.Gen2Tag

Namespace: Tego.Rfid.Gen2
Assembly: Tego (in Tego.dll) Version: 1.0.6599.21663 (1.2017.413.1)
Syntax
public class Tag : MemoryProvider, IReaderProvider, ISelection, 
	IEnumerable<ISelect>, IEnumerable, INotifyPropertyChanged
Public Class Tag
	Inherits MemoryProvider
	Implements IReaderProvider, ISelection, IEnumerable(Of ISelect), 
	IEnumerable, INotifyPropertyChanged
public ref class Tag : public MemoryProvider, 
	IReaderProvider, ISelection, IEnumerable<ISelect^>, IEnumerable, 
	INotifyPropertyChanged
type Tag =  
    class
        inherit MemoryProvider
        interface IReaderProvider
        interface ISelection
        interface IEnumerable<ISelect>
        interface IEnumerable
        interface INotifyPropertyChanged
    end

The Tag type exposes the following members.

Constructors
  NameDescription
Public methodTag
Instantiates a new tag.
Top
Properties
  NameDescription
Public propertyCancelRequested
Gets whether cancellation of an operation has been requested.
Public propertyChip
Gets the chip configuration (null if not known). Set when the tag TID is known.
Public propertyCount
Number of Select criteria used to select this tag (allows the tag to be used as an ISelection).
Public propertyEpcHex
Gets the tag EPC as a hex value. Raises a PropertyChanged event.
Public propertyTid
Gets the tag TID (null if not known). Raises a PropertyChanged event.
Top
Methods
  NameDescription
Public methodChangeReader
Changes the reader used to access this tag.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDeviceID
Gets (reading if needed) the manufacturer assigned identifier for the tag (e.g. TID).
(Overrides MemoryProvider.GetDeviceID.)
Public methodGetEnumerator
Enumerates the Select objects needed to select this tag (allows the tag to be used as an ISelection).
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetIdentifier
Gets the identifier of the tagged item (e.g. EPC).
(Overrides MemoryProvider.GetIdentifier.)
Public methodGetMemoryDepth
Gets the maximum write depth at an address.
(Overrides MemoryProvider.GetMemoryDepth(Int32).)
Public methodGetMemorySize
Gets the memory size (reading the chip identifier if necessary).
(Overrides MemoryProvider.GetMemorySize.)
Public methodGetReader
Gets the reader to use for this tag.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodImplementedRead (Overrides MemoryProvider.ImplementedRead(Int32, Int32, String, FuncInt32, String, MemoryProgress).)
Protected methodImplementedReadTo (Overrides MemoryProvider.ImplementedReadTo(Int32, Int32, String, FuncInt32, String, MemoryProgress).)
Protected methodImplementedWrite (Overrides MemoryProvider.ImplementedWrite(Int32, UInt16, String, FuncInt32, String, MemoryProgress).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPeekMemorySize
Peeks the memory size if known.
(Overrides MemoryProvider.PeekMemorySize.)
Public methodRaiseProgress
Raises the Progress event for Read, ReadTo, ReadTid or Write operations.
Public methodRead
Read tag in an efficient manner providing progress reports.
Public methodReadTid
Reads the TID for the tag provided that the chip type is known.
Public methodReadTo
Read tag in an efficient manner providing progress reports starting with higher memory first.
Public methodRequestCancel
Request cancellation of a Read, ReadTo, ReadTid or Write operation.
Public methodToString
Reads the TID, setting the TID property.
(Overrides ObjectToString.)
Public methodWrite
Read tag in an efficient manner providing progress reports.
Public methodWriteEpc
Writes a new EPC to the tag.
Public methodWriteIdentifier
Writes the identifier of the tagged item (e.g. EPC).
(Overrides MemoryProvider.WriteIdentifier(String).)
Top
Events
  NameDescription
Public eventProgress
Progress event for Read, ReadTo, ReadTid or Write operations.
Public eventPropertyChanged
Event raised when one of the following properties changes: EpcHex, Tid, Chip
Top
See Also