# LibTmux.Testing.TemporaryServerScope

- **Module:** LibTmux.Testing
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux.Testing/TemporaryServerScope.cs#L10
- **Page:** https://libtmux.org/en/dotnet/latest/reference/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.
- `DisposeAsync` (method)
