RFIDScanner.WriteTagId Method
2/27/2008
Overwrites the existing tag ID with a new ID.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub WriteTagId ( _
sourceTagId As Byte(), _
destinationTagId As Byte(), _
timeout As Integer, _
password As Byte() _
)
public abstract void WriteTagId (
byte[] sourceTagId,
byte[] destinationTagId,
int timeout,
byte[] password
)
public:
virtual void WriteTagId (
array<unsigned char>^ sourceTagId,
array<unsigned char>^ destinationTagId,
int timeout,
array<unsigned char>^ password
) abstract
public abstract void WriteTagId (
byte[] sourceTagId,
byte[] destinationTagId,
int timeout,
byte[] password
)
public abstract function WriteTagId (
sourceTagId : byte[],
destinationTagId : byte[],
timeout : int,
password : byte[]
)
Parameters
- sourceTagId
The source tag ID from which it is writing the new ID.
- destinationTagId
Destination ID of the new tag.
- timeout
Allowed execution time, in milliseconds, before the method fails and a time-out ErrorEvent is sent to the application. If WaitForever, the service waits 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
The application should query the CapWriteTag property to verify that this is a supported method. An exception is thrown when this method is invoked with the WriteTagId bit not set in the CapWriteTag property.
This method is always performed asynchronously and OutputId will be set on a successful start plus an OutputCompleteEvent 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