Gs1EpcLibEpcGs1ElementStringToHex(String, Gs1EpcLibTagSchemes, Int32, Gs1EpcLibEncodings) Method |
Convert a human readable GS1 Element String to a hex representation of an encoded EPC.
For TDS 2.0 schemes where specific encoding is required.
Namespace: GS1.EPC.ApiAssembly: epc-epconly (in epc-epconly.dll) Version: 2.1.0.28145 (2.1.0.0)
Syntaxpublic static string EpcGs1ElementStringToHex(
string elementString,
Gs1EpcLibTagSchemes scheme,
int filter,
Gs1EpcLibEncodings encoding
)
Parameters
- elementString String
- GS1 Element String
- scheme Gs1EpcLibTagSchemes
- Enumerated EPC Tag scheme to use in encoding
- filter Int32
- Filter to use in encoded EPC
- encoding Gs1EpcLibEncodings
- Encoding to use for variable length alpha-numeric components
Return Value
StringHex representation of encoded EPC
See Also