# LibTmux.SetHookRequest

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Requests/SetHookRequest.cs#L4
- **Page:** https://libtmux.org/reference/dotnet/libtmux-sethookrequest/

Describes one <c>set-hook</c> invocation.

## Members

- `SetHookRequest` (method) — Initializes a request to set one hook.
- `Name` (property) — Gets the hook name, optionally with an array index.
- `Value` (property) — Gets the tmux command to run when the hook fires.
- `Scope` (property) — Gets the scope to set in, or null for the owner's own.
- `Global` (property) — Gets whether the global table is set instead of the local one.
- `Unset` (property) — Gets whether the hook is removed rather than set.
- `RunImmediately` (property) — Gets whether tmux also runs the command now.
- `Append` (property) — Gets whether the command joins the hook's existing entries.
