C#
C#
Compute CRC32 of a File
Calculates the CRC32 of a file's contents and returns the 32-bit CRC as a hex string.Chilkat C# Downloads
Chilkat.ZipCrc zipCrc = new Chilkat.ZipCrc();
// Use a relative for absolute path to the file..
int crc = zipCrc.FileCrc("qa_data/hamlet.xml");
string hexStr = zipCrc.ToHex(crc);
Debug.WriteLine(hexStr);