# LibTmux.TmuxHooks

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

The hooks of one server, session, window, or pane.

Every hook is an array, even with one entry, so a hook is read as a name and
a run of indexed commands rather than as a single value.

## Members

- `TmuxHooks` (method)
- `Generation` (property) — Gets the server generation this table was reached through.
- `Scope` (property) — Gets the scope these hooks are read and written in by default.
- `GetAsync` (method) — Reads one hook.
- `GetAllAsync` (method) — Reads every hook in the scope.
- `BuildRunArguments` (method) — Builds the arguments running a hook sends.
- `BuildUnsetArguments` (method) — Builds the arguments removing a hook sends.
- `BuildSetAllArguments` (method) — Builds every command a multi-entry hook request sends.
- `BuildListArguments` (method) — Builds the arguments a hook listing sends.
- `BuildSetArguments` (method) — Builds the arguments a hook request sends.
- `SetAsync` (method) — Sets one hook entry.
- `RunAsync` (method) — Runs a hook's commands now, without waiting for it to fire.
- `UnsetAsync` (method) — Removes a hook.
