Apostrophe Systems EPC Generator 2.0

EPCBase.Encode Method (Int32, String, Int32, Int64)

Encode a 64-Bit EPC Number . The overload allows the caller to override the serial number that is contained in the UCC/EAN/GS1, if one exists

public virtual string Encode(
   int companyPrefixIndex,
   string ucc,
   int filter,
   long serialNumber
);

Parameters

companyPrefixIndex
Assigned Company Prefix Index
ucc
Valid UCC/EAN/GS1 Encoding
filter
Filter Value to use in the EPC Encoding
serialNumber
Serial Number to be used in the EPC Number

Remarks

Calling the EPCBase Class's Encode method will throw an InvalidOperationExcetion. See the derived EPC Object's help section for usage information.

See Also

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