# LibTmux.AttachSessionRequest

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

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

## Members

### Other members

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