Class BarcodeUtils
BarcodeUtils provides additional utilities related to barcode generation.
Inheritance
Inherited Members
Namespace: Neodynamic.WPF
Assembly: Neodynamic.WPF.Barcode.dll
Syntax
public class BarcodeUtils
Methods
GetAustraliaPost4StateBarcodeChecksum(String)
It computes the checksum (Reed Solomon codewords) for an Australia Post 4 State code.
Declaration
public static string GetAustraliaPost4StateBarcodeChecksum(string code)
Parameters
Type | Name | Description |
---|---|---|
System.String | code | An Australia Post 4 State code. |
Returns
Type | Description |
---|---|
System.String | The checksum (Reed Solomon codewords) for an Australia Post 4 State code. |
GetAustraliaPostDomesticEParcelChecksum(String)
It computes the checksum for an Australia Post Domestic eParcel code.
Declaration
public static int GetAustraliaPostDomesticEParcelChecksum(string code)
Parameters
Type | Name | Description |
---|---|---|
System.String | code | An Australia Post Domestic eParcel code. |
Returns
Type | Description |
---|---|
System.Int32 | The checksum for an Australia Post Domestic eParcel code. |
GetCode39Checksum(String)
It computes the checksum Modulus 43 used by Code 39 barcode.
Declaration
public static string GetCode39Checksum(string code)
Parameters
Type | Name | Description |
---|---|---|
System.String | code | The Code 39 value. |
Returns
Type | Description |
---|---|
System.String | The checksum Modulus 43 used by Code 39 barcode. |
GetCode93Checksum(String)
It computes the two-char checksum Modulus 47 used by Code 93 barcode.
Declaration
public static string GetCode93Checksum(string code)
Parameters
Type | Name | Description |
---|---|---|
System.String | code | The Code 93 value. |
Returns
Type | Description |
---|---|
System.String | The two-char checksum Modulus 47 used by Code 93 barcode. |
GetDeutschePostModulus11Checksum(String)
It computes the Modulus 11 checksum used by Deutsche Post Code 128 Identcode
Declaration
public static int GetDeutschePostModulus11Checksum(string code)
Parameters
Type | Name | Description |
---|---|---|
System.String | code | A valid 8-digit Deutsche Post Ident code. |
Returns
Type | Description |
---|---|
System.Int32 | The checksum for a valid 8-digit Deutsche Post Ident code. |
GetDhlAwbChecksum(String)
It computes the checksum Modulus 7 used by DHL AWB barcode.
Declaration
public static int GetDhlAwbChecksum(string code)
Parameters
Type | Name | Description |
---|---|---|
System.String | code | A DHL AWB 9-digit code. |
Returns
Type | Description |
---|---|
System.Int32 | The checksum Modulus 7 used by DHL AWB barcode. |
GetModulus10Checksum(String)
It computes the checksum Modulus 10 used by many barcode symbologies.
Declaration
public static int GetModulus10Checksum(string code)
Parameters
Type | Name | Description |
---|---|---|
System.String | code | The code where the checksum will be computed on. |
Returns
Type | Description |
---|---|
System.Int32 | The checksum Modulus 10. |
GetPpnChecksum(String)
It computes the 2-digit checksum Modulus 97 used by IFA PPN barcode.
Declaration
public static string GetPpnChecksum(string code)
Parameters
Type | Name | Description |
---|---|---|
System.String | code | An IFA PZN8 code with or without 11 prefix. |
Returns
Type | Description |
---|---|
System.String | The 2-digit checksum Modulus 97 used by IFA PPN barcode. |