# LibTmux.TmuxHooks

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

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