Apostrophe Systems EPC Generator 2.0

EPCNumberFactory Class

EPCNumberFactory is used to create EPC Numbers.

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

System.Object
   Apostrophe.EPC.EPCNumberFactory

public class EPCNumberFactory

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.

Remarks

Sometimes the type of EPC Number needed is not known at design/deveopment time. The EPCNumberFactory lets the caller request an EPCBase by its type and size.

Example

//Create a 96-Bit SGTIN
EPCBase epc = EPCNumberFactory.Create("SGTIN",96);
epc.Encode("00652642000311",3,1000);

Requirements

Namespace: Apostrophe.EPC

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

See Also

EPCNumberFactory Members | Apostrophe.EPC Namespace