# Sandbox.VideoWriter.Dispose

```csharp
void Dispose()
```

Dispose this recorder, the encoder will be flushed and video finalized.

Declared in [Sandbox.VideoWriter](/api/Sandbox.VideoWriter).
Assembly: `Sandbox.Engine`.
