> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/3.1/api/csharp/yarn.utility/yarn.utility.crc32/yarn.utility.crc32.getchecksum-2.md).

# GetChecksum(string)

Method in [CRC32](/3.1/api/csharp/yarn.utility/yarn.utility.crc32.md)

## Summary

Computes a CRC32 checksum from the given string.

```csharp
public static uint GetChecksum(string s)
```

## Remarks

This method converts the string to a UTF-8 encoding, and then computes a CRC32 checksum from those bytes.

## Parameters

| Name       | Description                            |
| ---------- | -------------------------------------- |
| `string` s | The string to generate a checksum for. |

## Returns

A CRC32 checksum derived from `s` .
