Link Search Menu Expand Document

BarcodeValueIsValid Method (String, Boolean)

Validates the value using current symbology rules.

Namespace:Bytescout.BarCode
Assembly: Bytescout.BarCode (in Bytescout.BarCode.dll) Version: 7.6.3.1256-master
Syntax
public bool ValueIsValid(
	string value,
	bool checksumIsMandatory
)

Parameters

value
Type: SystemString
The value.
checksumIsMandatory
Type: SystemBoolean
Expect the checksum if it's applicable for selected symbology.

Return Value

Type: Boolean
true if value is valid (can be encoded); otherwise, false.

Implements

IBarcodeValueIsValid(String, Boolean)
See Also

Reference