bool CompareChecksum(uint checksum, byte[] hash) { uint hashVal = (uint)(hash[3] << 24) | (uint)(hash[2] << 16) | (uint)(hash[1] << 8) | (uint)hash[0]; return (hashVal == checksum); }