Share via


Keylock.ElectronicKeyValue Property

2/27/2008

Holds the value read from an electronic Keylock device.

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

Syntax

'Declaration
Public Overridable ReadOnly Property ElectronicKeyValue As Byte()
public virtual byte[] ElectronicKeyValue { get; }
public:
virtual property array<unsigned char>^ ElectronicKeyValue {
    array<unsigned char>^ get ();
}
/** @property */
public byte[] get_ElectronicKeyValue ()
public function get ElectronicKeyValue () : byte[]

Remarks

Holds the value read from an electronic keylock.

This property is only valid if CapKeylockType is electronic. Typically, electronic keylocks send unique key numbers in raw format when an electronic key is plugged in. Therefore, a typical value could be e.g., “0x00, 0x00, 0x01, 0x52, 0x27, 0xaf” if an electronic key is plugged in, or “0x00, 0x00, 0x00, 0x00, 0x00, 0x00” if it is removed.

This property is initialized and kept current while the device is enabled.

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

Keylock Class
Keylock Members
Microsoft.PointOfService Namespace
CapKeylockType