# LibTmux.TmuxKeys.GetAllAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Keys/TmuxKeys.cs#L52
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-tmuxkeys-getallasync/

tmux command: [`list-keys`](/en/tmux/latest/manual/list-keys/)

```
LibTmux.TmuxKeys.GetAllAsync(keyTable: string?, format: string?, cancellationToken: CancellationToken) -> Task<IReadOnlyList<string>>
```

Reads the bindings as tmux rendered them.

Rendering with a format arrived in tmux 3.7.

## Parameters

- `keyTable` (`string?`): The table to read, or null for every table.
- `format` (`string?`): The tmux format each binding is rendered with.
- `cancellationToken` (`CancellationToken`): Cancels the tmux command.

## Returns

One line per binding.
