# LibTmux.Internal.TmuxServerLocation

- **Module:** LibTmux.Internal
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Environment/TmuxEnvironment.cs#L17
- **Page:** https://libtmux.org/reference/dotnet/libtmux-internal-tmuxserverlocation/

Where the <c>TMUX</c> variable says a server is.

tmux exports <c>TMUX</c> into every pane it spawns as
<c>"&lt;socket-path&gt;,&lt;server-pid&gt;,&lt;session-id&gt;"</c>. Only the
socket path stays true for the pane's lifetime: the pid and session id are
frozen at spawn, and the session id goes stale as soon as the pane's window
moves between sessions.
