Session.Id
Gets the session identifier.
Source and package
- Qualified name
-
LibTmux .Session. Id - Namespace
- LibTmux
- Declared in
Session- Package
- LibTmux
- Source
- src/LibTmux/Session.Identity.cs
In other ports
task equivalence 12 other ports mappedSource-verified mappings for A session's stable tmux id. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from C# |
|---|---|---|
| C# | Lib Gets the session identifier. | This page |
| Python | libtmux Alias of Session.session_id. | None recorded in the model |
| Ruby | Lib Behavior: Captured records. | None recorded in the model |
| Lua | libtmux | None recorded in the model |
| Elixir | Lib Required: building the struct without this key is an error. | None recorded in the model |
| Rust | session Return the tmux session identity. | None recorded in the model |
| Go | tmux ID returns the stable tmux identity of this session. | None recorded in the model |
| Java | io The session's stable id. | None recorded in the model |
| C++ | libtmux:: | readonly |
| Swift | Session tmux's own session id, stable for the session's lifetime — $0, $1. Names are not: a session can be renamed, and two servers can both have a 0. | None recorded in the model |
| OCaml | Libtmux | None recorded in the model |
| Perl | Lib string. Local captured data; no I/O. | Schema-validated captured data; reading performs no tmux I/O. |
| Raku | Lib Captured session_id; local session-id access. | None recorded in the model |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no accessor; the field is read from Session.format, tmux's own row
No equivalent is recorded in PowerShell, Julia, Erlang, Common Lisp, Clojure, Kotlin, Scala or F#.