# LibTmux.Server.ConfirmBeforeAsync

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

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