# Sandbox.Resources.ResourceGenerator.GetHash

```csharp
ulong GetHash()
```

Returns a hash to be used when loading/saving. We use this to determine if the resource has changed.
By default we serialize the generator to a json string and return the CRC64 of that value. You can
override this in your generator if you need to make it faster, or ignore some stuff.

### Returns

`ulong`

Declared in [Sandbox.Resources.ResourceGenerator](/api/Sandbox.Resources.ResourceGenerator).
Assembly: `Sandbox.Engine`.
