# LibTmux.OwnedServerScope

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Server.Lifecycle.cs#L361
- **Page:** https://libtmux.org/reference/dotnet/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

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