OnITRoad - 常见问题

.NET如何计算字符串的CRC32

.NET如何计算字符串的CRC32 如何在.NET中计算字符串的CRC32(循环冗余校验和)? Crc32 crc32 = new Crc32(); String hash = String.Empty; using (FileStream fs = File.Open("c:\\myfile.txt", FileMode.Open)) foreach (byte b i

Views:0  2021-06-11