CRC in C#
Categories: .NET, C, Source Code
Tags:
This is a post about the CRC (Cyclic Redundancy Check) in C#. I searched through the internet a C# class that can calculate the crc-12, but I found only links about crc-8, crc-16 and crc-32.
After an hard search, i founded a class that can calculate the crc from 1 to 32 (this is the link), I cleaned it and I added:
- The crc-12 standard
- A class that simplifies the insert of the values (CRCSettings)
- A function that generate non-standard polynomys.
And this is the result…
Download CrcTool. Downloads: 1022
Se sei interessato a questo post, potresti anche provare a leggere:
- No related posts
14 May 2007 dzamir

Weey, Thanks! This is exactly what I have been looking for!
Thanks.
Altough, i’ll rewrite it a bit to support streams.
you missed a this.Init() in:
public void Init(CRCSettings initSettings)