Constructor that takes a Uri
This constructor makes it possible to initialize the EPCBase derived class with an EPC-TAG URI. If this constructor is going to be used with a 64-Bit EPC Number, enusre that the Company Prefix Index is configured correctly. see EPCConfiguration
//96-Bit SGTIN
System.Uri uri = new System.Uri("urn:epc:tag:sgtin-96:3.0652642.0000031.1000");
EPCBase epc = new EPCBase(uri);
//Encode the epc number to the configured encoding format (See the EPC Configuration Help section)
string epcNumber = epc.Encode();
EPCBase Class | Apostrophe.EPC Namespace | EPCBase Constructor Overload List