Share via


PointCardRW.RecvLength Property

Contains length information for Track1 through Track6.

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

Usage

'Usage
Dim pointCardRW1 As PointCardRW

Dim returnValue As PointCardReceiveLengths
returnValue = pointCardRW1.RecvLength

Syntax

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

Remarks

A value of zero means that no data was obtained from the swipe for that track. This can happen 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 read included errors; or if the application intentionally precluded incoming data from the track via 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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace
CapPrintMode