MagEncodingType Enumeration |
Namespace: Zebra.Sdk.Card.Enumerations
Member name | Value | Description | |
---|---|---|---|
ISO | 0 |
ISO encoding with track data validation. Magnetic encoding settings automatically configured for 'ISO/IATA' encoding. | |
AAMVA | 1 |
AAMVA encoding with track data validation. Magnetic encoding settings automatically configured for 'AAMVA' encoding. | |
Custom | 3 | Custom encoding without track data validation. | |
Binary | 4 |
Binary encoding without track data validation. The only magnetic encoding setting that will be applied is the density setting SetMagTrackDensity(DictionaryTrackNumber, Int32). All other magnetic encoding settings (parity, sentinels, bits per character, etc.) are ignored. The Binary data provided for encoding is interpreted as a literal bitstream to be encoded, with the LSbit of each byte written out first. When the data is in Ascii format, each character is treated as a 8-bit integer. In Hex format, each 2-character (2 digit) ASCII hex digit pair is converted to an 8-bit integer and treated as such. Each 8-bit value is encoded in the order it was provided in the data stream, in LSbit to MSbit order. Example: B1C2E3 (Hex) would be encoded as: 10001101 01000011 11000111 0xB1 bit 0->7 0xC2 bit 0->7 0xE3 bit 0->7 |