# LibTmux.Server.ConfirmBeforeAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Server.Interaction.cs#L161
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-server-confirmbeforeasync/

tmux command: [`confirm-before`](/en/tmux/latest/manual/confirm-before/)

```
LibTmux.Server.ConfirmBeforeAsync(request: ConfirmBeforeRequest, cancellationToken: CancellationToken) -> Task
```

Asks a client to confirm before running a command.

Naming the key, and defaulting to yes, arrived in tmux 3.4.

## Parameters

- `request` (`ConfirmBeforeRequest`): What to run, and how to ask.
- `cancellationToken` (`CancellationToken`): Cancels the tmux command.
