Share via


PinPadBase.MinimumPinLength Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Holds the minimum acceptable number of digits to be entered for a PIN.

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

Syntax

'Declaration
Public Overrides Property MinimumPinLength As Integer
public override int MinimumPinLength { get; set; }
public:
virtual property int MinimumPinLength {
    int get () override;
    void set (int value) override;
}
/** @property */
public int get_MinimumPinLength ()

/** @property */
public void set_MinimumPinLength (int value)
public override function get MinimumPinLength () : int

public override function set MinimumPinLength (value : int)

Remarks

The PinPadBase class verifies that the PIN pad device has been opened, then retrieves or sets the value of PinPadProperties.MinimumPinLength. If an attempt is made to set MinimumPinLength while PIN entry is enabled, the PinPadProperties class throws a PosControlException exception with ErrorCode set to ErrorCode.Illegal. If an attempt is made to set MinimumPinLength to a value less than zero or less than the value of the MaximumPinLength property, the PinPadProperties class throws a PosControlException exception with ErrorCode set to ErrorCode.Illegal.

MinimumPinLength is initialized to 0 (zero) by the PinPadBase class.

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

PinPadBase Class
PinPadBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
PinPad.MinimumPinLength Property
PinPad.PinEntryEnabled Property
PinPad.MaximumPinLength Property