# LibTmux.PsmuxWindow

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

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