# LibTmux.OwnedSessionScope

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Session.Lifecycle.cs#L504
- **Page:** https://libtmux.org/reference/dotnet/libtmux-ownedsessionscope/

Owns a session and stops it when disposed.

## Members

- `OwnedSessionScope` (method)
- `Value` (property) — Gets the owned session.
- `DisposeAsync` (method) — Stops the owned session.
