Is there CRC32 api in C#/.NET?

Java version:

public static long crc32(byte[] data) {
    CRC32 crc32 = new CRC32();
    crc32.update(data);
    return crc32.getValue();
}

How to implement it simplely in C#/.NET?

查看回复