# LibTmux.Client

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Client.Administration.cs#L13
- **Page:** https://libtmux.org/en/dotnet/latest/reference/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

- `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)
