Share via


Msr.Track2DiscretionaryData Property

2/27/2008

The Track 2 discretionary data from the most recently swiped card.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property Track2DiscretionaryData As Byte()
public abstract byte[] Track2DiscretionaryData { get; }
public:
virtual property array<unsigned char>^ Track2DiscretionaryData {
    array<unsigned char>^ get () abstract;
}
/** @property */
public abstract byte[] get_Track2DiscretionaryData ()
public abstract function get Track2DiscretionaryData () : byte[]

Remarks

Track2DiscretionaryData is set to an empty array under the following conditions:

  • The field was not included in the track data read; or

  • The ParseDecodeData property is set to true, but Track2DiscretionaryData is not included in the separated fields of the Track1Data or Track2Data properties; or

  • ParseDecodeData is set to false.

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

Msr Class
Msr Members
Microsoft.PointOfService Namespace
Msr.ParseDecodeData Property