# LibTmux.Server.GetKeysAsync

- **Module:** LibTmux.Server
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Server.Keys.cs#L59
- **Page:** https://libtmux.org/reference/dotnet/libtmux-server-getkeysasync/

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

Reads the key bindings.

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, as tmux rendered it.
