VintaSoft Barcode .NET SDK 16.0: Documentation for .NET developer
Vintasoft.Barcode.BarcodeInfo Namespace / SwissQRCodeValueItem Class / CalculateQrReferenceCheckDigit(String) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
CalculateQrReferenceCheckDigit(String) Method (SwissQRCodeValueItem)
In This Topic
Calculates check digit generation by Modulo 10 recursive.
Syntax
'Declaration

Public Shared Function CalculateQrReferenceCheckDigit( _
ByVal qrReference
QR reference value.
As String _
) As Char
public static char CalculateQrReferenceCheckDigit(
string qrReference
)

Parameters

qrReference
QR reference value.

Return Value

The check digit.
Exceptions
ExceptionDescription
Thrown if qrReference is null.
Thrown if length of qrReference is not equal to 26.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also