Cat.LockTerminal Method (POS for .NET v1.12 SDK Documentation)

2/27/2008

Sets the security lock.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public Overridable Sub LockTerminal
public virtual void LockTerminal ()
public:
virtual void LockTerminal ()
public void LockTerminal ()
public function LockTerminal ()

Remarks

When locked, the device cannot accept any commands.

AdditionalSecurityInformation property is used when key information is required.

LockTerminal may cause a PosControlException to be thrown with the following ErrorCodes.

Value

Description

Illegal

The device does not have a security lock function.

Busy

The device cannot accept any commands now.

Extended

The detailed code is stored in an ErrorCodeExtended.

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

Cat Class
Cat Members
Microsoft.PointOfService Namespace
CaplockTerminal