# LibTmux.OwnedServerScope

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Server.Lifecycle.cs#L369
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-ownedserverscope/

Owns a server and stops it when disposed.

Ownership is explicit: a handle obtained any other way never tears its
server down, so a caller cannot accidentally kill a server it merely
connected to.

## Members

- `Value` (property): Gets the owned server.
- `DisposeAsync` (method): Stops the owned server.
