Apostrophe Systems EPC Generator 2.0

DoD Class

This class represents a DoD 96 and 64 EPC identity type. Its main function is to translate from a DoD issued CAGE Number to a DoD EPC Encoding and assign user managed serial numbers to the EPC Encoding. This class can also Decode and Parse a DoD EPC Identity type that is formatted in a HEX,Binary,XML, EPC Tag URI or EPC PureIdentity representation.

For a list of all members of this type, see DoD Members.

System.Object
   Apostrophe.EPC.EPCBase
      Apostrophe.EPC.DoD

public class DoD : EPCBase

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Example

Simple example of using the DoD EPC Class

//create a 96 bit DoD EPC Number
  DoD dod = new DoD(96);
//pass in the CAGE, Filter, and Serial Number
  dod.Encode("2S194",0,12345);
//write the DoD Encoding to the console in the configured format.
  Console.Write(dod.ToString());

Requirements

Namespace: Apostrophe.EPC

Assembly: Apostrophe.EPC (in Apostrophe.EPC.dll)

See Also

DoD Members | Apostrophe.EPC Namespace