PinPadBase.MaximumPinLength Property (POS for .NET v1.12 SDK Documentation)
2/27/2008
Holds the maximum acceptable number of digits to be entered for the PIN.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Syntax
'Declaration
Public Overrides Property MaximumPinLength As Integer
public override int MaximumPinLength { get; set; }
public:
virtual property int MaximumPinLength {
int get () override;
void set (int value) override;
}
/** @property */
public int get_MaximumPinLength ()
/** @property */
public void set_MaximumPinLength (int value)
public override function get MaximumPinLength () : int
public override function set MaximumPinLength (value : int)
Remarks
The PinPadBase class verifies that the PIN pad device has been opened, then retrieves or sets the value of PinPadProperties.MaximumPinLength. If an attempt is made to set MaximumPinLength 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 MaximumPinLength to a value less than zero or less than the value of the MinimumPinLength property, the PinPadProperties class throws a PosControlException exception with ErrorCode set to ErrorCode.Illegal.
MaximumPinLength is initialized to 0 (zero) by the PinPadProperties 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.MaximumPinLength Property
PinPad.PinEntryEnabled Property
PinPad.MinimumPinLength Property