Click or drag to resize

Gs1EpcLibEpcBarcodeStringToHex(String, Gs1EpcLibTagSchemes, Int32, Gs1EpcLibEncodings) Method

Convert a Barcode String to a hex representation of an encoded EPC. For TDS 2.0 schemes where specific encoding is required.

Namespace: GS1.EPC.Api
Assembly: epc-epconly (in epc-epconly.dll) Version: 2.1.0.28145 (2.1.0.0)
Syntax
C#
public static string EpcBarcodeStringToHex(
	string barcodeString,
	Gs1EpcLibTagSchemes scheme,
	int filter,
	Gs1EpcLibEncodings encoding
)

Parameters

barcodeString  String
Barcode 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

String
Hex representation of encoded EPC
See Also