Sample code for 30+ languages & platforms
C#

Example: Crypt2.CrcFile method

Demonstrates how to call the CrcFile method.

Chilkat C# Downloads

C#
Chilkat.Crypt2 crypt = new Chilkat.Crypt2();

string filePath = "c:/temp/someFile.dat";

uint crc32 = crypt.CrcFile("crc-32",filePath);
Debug.WriteLine(Convert.ToString(crc32));

uint crc8 = crypt.CrcFile("crc8",filePath);
Debug.WriteLine(Convert.ToString(crc8));