4D Payments SDK 2016 .NET Edition

Questions / Feedback?

LengthCheckPassed Property

Indicates the results of the card number length check.


public bool LengthCheckPassed { get; }
Public ReadOnly Property LengthCheckPassed As Boolean

Default Value



The ValidateCard method checks whether or not the CardNumber's length is appropriate for the card's prefix, and stores that result in the LengthCheckPassed property. Note that a card may pass this check and still be an invalid card. (For instance, a fake number that passes the length check).

This property is read-only.

Copyright (c) 2021 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 8017]