# LibTmux.Testing.TemporaryServerScope

- **Module:** LibTmux.Testing
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Testing/TemporaryServerScope.cs#L10
- **Page:** https://libtmux.org/reference/dotnet/libtmux-testing-temporaryserverscope/

Creates a throwaway server for a test and stops it afterwards.

Each scope gets its own socket, so tests never contend for one server and a
crashed test cannot leak state into the next.

## Members

- `Server` (property) — Gets the temporary server.
- `StartAsync` (method) — Starts a temporary server on its own socket.
- `DisposeAsync` (method)
