Click or drag to resize

RfidBank01FromAfiUiiHex Method

Parses the input as a hexadecimal representation of the AFI and UII portion of the Bank 01, beginning with bit 18 (hex), to create an RfidBank01 instance with the toggle bit set to indicate an ISO application. The specified hexadecimal string provides the contents of both the AFI and UII portions: the most significant (leftmost) bit of the hexadecimal representation becomes bit 18 (hex). Sufficient zero padding bits are added to make the total length of the UII portion (not counting the AFI) a multiple of 16 bits. The PC length bits are calculated based on this padded length. The PC toggle bit (bit 17 hex) is set to one. PC bits 15 hex and 16 hex are set to zero. If a hexadecimal string shorter than two characters is specified, it is padded on the right with zero characters to make two characters total, prior to parsing as specified above.

Namespace: GS1.EPC.Api
Assembly: epc-epconly (in epc-epconly.dll) Version: 2.1.0.28145 (2.1.0.0)
Syntax
C#
public static RfidBank01 FromAfiUiiHex(
	string afiUiiHex
)

Parameters

afiUiiHex  String
 

Return Value

RfidBank01
See Also