# LibTmux.Client

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Client.Administration.cs#L12
- **Page:** https://libtmux.org/reference/dotnet/libtmux-client/

Identifies a client and resolves what it is looking at.

A client moves between sessions while a handle is held, so the captured
fields say where it was and the resolving methods say where it is. Both are
useful, and conflating them would make one of them a lie.

## Members

- `Client` (method)
- `Name` (property) — Gets the client name tmux knows it by.
- `Tty` (property) — Gets the terminal the client is on, when it has one.
- `IsControlClient` (property) — Gets whether the client speaks tmux's control protocol.
- `AttachedSessionId` (property) — Gets the session the client was attached to when it was read.
- `Generation` (property) — Gets the server generation captured with this client.
- `RawFormatFields` (property) — Gets the tmux fields captured when this handle materialized.
- `Server` (property) — Gets the server that owns this client.
- `GetAsync` (method) — Reads one client by name.
- `RefreshAsync` (method) — Re-reads this client from tmux.
- `ResolveAttachmentAsync` (method) — Reads where this client is looking now.
- `GetAttachedSessionAsync` (method) — Reads the session this client is attached to now.
- `GetAttachedWindowAsync` (method) — Reads the window this client is showing now.
- `GetAttachedPaneAsync` (method) — Reads the pane this client has active now.
- `Equals` (method)
- `GetHashCode` (method)
