# LibTmux.TmuxHooks.Generation

- **Module:** LibTmux.TmuxHooks
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Hooks/TmuxHooks.cs#L84
- **Page:** https://libtmux.org/reference/dotnet/libtmux-tmuxhooks-generation/

Gets the server generation this table was reached through.

A batched hook command carries the target as plain text, so it needs the
generation for the same reason a batched pane command does.
