VB.NET
VB.NET
Example: Crypt2.CrcBd method
Demonstrates how to call the CrcBd method.Chilkat VB.NET Downloads
Dim crypt As New Chilkat.Crypt2
Dim bd As New Chilkat.BinData
bd.AppendString("123456789","us-ascii")
Dim crc32 As UInt32 = crypt.CrcBd("crc-32",bd)
' The decimal value is 3421780262 (converted to hex is 0xCBF43926)
Debug.WriteLine(crc32)
Dim crc8 As UInt32 = crypt.CrcBd("crc8",bd)
Debug.WriteLine(crc8)