# LibTmux.AttachSessionRequest

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Requests/AttachSessionRequest.cs#L4
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-attachsessionrequest/

Describes one <c>attach-session</c> invocation.

## Members

- `Target` (property): Gets the session to attach, or null for the caller's own.
- `DetachOthers` (property): Gets whether other clients are detached.
- `ReadOnly` (property): Gets whether the client attaches read-only.
- `ExitOnDetach` (property): Gets whether the client exits when the session is destroyed.
- `ClientFlags` (property): Gets the client flags sent with <c>-f</c>.
- `ToCommand` (method): Returns an attach request as one tmux command.
