Sample code for 30+ languages & platforms
Lianja

Compute CRC32 of a File

Calculates the CRC32 of a file's contents and returns the 32-bit CRC as a hex string.

Chilkat Lianja Downloads

Lianja
loZipCrc = createobject("CkZipCrc")
// Use a relative for absolute path to the file..
lnCrc = loZipCrc.FileCrc("qa_data/hamlet.xml")
lcHexStr = loZipCrc.ToHex(lnCrc)
? lcHexStr


release loZipCrc