Share via


PointCardRW.RecvLength Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets length information for Track1 through Track6.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property RecvLength As PointCardReceiveLengths
public abstract PointCardReceiveLengths RecvLength { get; }
public:
virtual property PointCardReceiveLengths RecvLength {
    PointCardReceiveLengths get () abstract;
}
/** @property */
public abstract PointCardReceiveLengths get_RecvLength ()
public abstract function get RecvLength () : PointCardReceiveLengths

Remarks

Valid values are defined by the PointCardReceiveLengths enumeration.

A value of zero means that no data was obtained from the swipe for that track. This can occur if the hardware device does not have a read head for the track; if only STX (prefix character), ETX (terminator character) and LRC were obtained from the swipe for that track; if the data that is read included errors; or if the application intentionally precluded incoming data from the track through the TracksToRead property.

A value greater than zero (> 0) indicates the length in bytes of the corresponding track property.

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

PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace
PointCardRW.CapPrintMode Property