How calculate CRC of bytes in C#?

Hi. How can I calculate CRC of for example 8 bytes?
LVL 1
mastiSoftAsked:
Who is Participating?
 
Andre MarschalekConnect With a Mentor Commented:
you will find plenty of finished solutions like this one
A CRC8 Implementation in C#
0
 
ste5anSenior DeveloperCommented:
What CRC? There are a lot of different types of CRC algorithms.
2
 
Dr. KlahnPrincipal Software EngineerCommented:
ste5an is right.   There are hundreds of different CRCs.  Before starting down this path you must know (a) the CRC to be used, and (b) the byte and bit order in which to process the data stream.  Even with the popular CRC-16 there are at least ten variations.
0
 
mastiSoftAuthor Commented:
Thank you very much Mr.Andre ).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.