Apostrophe Systems EPC Generator 2.0

EPCBase Constructor (String, Int32, Int32, Int32)

Creates a 96 or 64 Bit EPC Number that will use GetNext to Generate its Serial Numbers.

public EPCBase(
   string epcType,
   int size,
   int startingSerialNumber,
   int totalSerialNumbers
);

Parameters

epcType
Type of EPC Number. Only EPC Types that have a serial number as part of their definition are supported with this functionality
size
96 or 64
startingSerialNumber
This is the serial number that will be generated first
totalSerialNumbers
The number of serial numbers to generate

Exceptions

Exception Type Condition
InvalidOperationException This exception is thrown when an invalid EPC Type is supplied

See Also

EPCBase Class | Apostrophe.EPC Namespace | EPCBase Constructor Overload List