Rfid |
Name | Description | |
---|---|---|
![]() ![]() | FromAfiUiiBytes(Byte) | Creates an RfidBank01 instance with the toggle bit set to indicate an ISO application, and having the specified contents of the AFI and UII portions. The specified byte array provides the contents of both the AFI and UII portions: the first byte becomes bits 18 through 1F (hex), and the most significant bit of byte array element 1 becomes bit 20 (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 (that is, either 0 or 8 bits of padding are added). 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 zero-length array is specified, it is equivalent to specifying a byte array containing a single zero element (that is, an AFI of zero and a zero-length UII). |
![]() ![]() | FromAfiUiiBytes(Byte, Byte) | Creates an RfidBank01 instance with the toggle bit set to indicate an ISO application, and having the specified contents of the AFI and UII portions. The specified afi populates bits 18 through 1F (hex), and the most significant bit of element 0 of the specified byte array becomes bit 20 (hex). Sufficient zero padding bits are added to make the total length a multiple of 16 bits (that is, either 0 or 8 bits of padding are added). 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. |