RFIDScanner.WriteTagData Method
2/27/2008
Overwrites the entire or part of the UserData field of targeted tag.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub WriteTagData ( _
tagId As Byte(), _
userData As Byte(), _
start As Integer, _
timeout As Integer, _
password As Byte() _
)
public abstract void WriteTagData (
byte[] tagId,
byte[] userData,
int start,
int timeout,
byte[] password
)
public:
virtual void WriteTagData (
array<unsigned char>^ tagId,
array<unsigned char>^ userData,
int start,
int timeout,
array<unsigned char>^ password
) abstract
public abstract void WriteTagData (
byte[] tagId,
byte[] userData,
int start,
int timeout,
byte[] password
)
public abstract function WriteTagData (
tagId : byte[],
userData : byte[],
start : int,
timeout : int,
password : byte[]
)
Parameters
- tagId
ID of the tag whose user data it is writing to.
- userData
User data to be written.
- start
Indicates the zero-based position within the tags userData field to begin writing to.
- timeout
Allowed execution time, in milliseconds, before the method fails and a timeout ErrorEvent is sent to the application. If WaitForever, the service will wait as long as needed until either the operation is complete or an error occurs.
- password
Authorized key for reader that might be required for this operation, null if not applicable.
Remarks
Application should query the CapWriteTag property for this operation’s supportability.
This method is always performed asynchronously and the OutputId property will be set on a successful start plus an OutputCompleteEvent event or an ErrorEvent event is raised to indicate completion.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
RFIDScanner Class
RFIDScanner Members
Microsoft.PointOfService Namespace