# LibTmux.PsmuxWindow

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Psmux/PsmuxWindow.cs#L11
- **Page:** https://libtmux.org/reference/dotnet/libtmux-psmuxwindow/

An immutable observation of one psmux window.

This observation is bound to <see cref="Server" />'s captured generation.
Query methods throw <see cref="StaleServerGenerationException" /> after replacement;
call <see cref="PsmuxServer.RefreshAsync" /> to obtain a fresh observation.

## Members

- `PsmuxWindow` (method)
- `Server` (property) — Gets the psmux endpoint that produced this observation.
- `Id` (property) — Gets the captured window identifier.
- `SessionId` (property) — Gets the captured parent session identifier.
- `Index` (property) — Gets the captured window index.
- `Name` (property) — Gets the captured window name.
- `Width` (property) — Gets the captured width in columns.
- `Height` (property) — Gets the captured height in rows.
- `GetPanesAsync` (method) — Reads the window's current panes.
