RFIDScanner.LockTag Method
2/27/2008
Turns the tag into a read-only mode.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub LockTag ( _
tagId As Byte(), _
timeout As Integer, _
password As Byte() _
)
public abstract void LockTag (
byte[] tagId,
int timeout,
byte[] password
)
public:
virtual void LockTag (
array<unsigned char>^ tagId,
int timeout,
array<unsigned char>^ password
) abstract
public abstract void LockTag (
byte[] tagId,
int timeout,
byte[] password
)
public abstract function LockTag (
tagId : byte[],
timeout : int,
password : byte[]
)
Parameters
- tagId
The ID of the tag it is locking.
- timeout
Allowed execution time, in milliseconds, before the method fails and a time-out ErrorEvent event 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
Makes ID and UserData fields non-writable. If invoking this method with CapLockTag property being false, an exception is thrown.
This method is always performed asynchronously and the OutputId property will be set on a successful start plus an OutputCompleteEvent event or ErrorEvent event will be 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