# LibTmux.TmuxBuffers.GetAsync

- **Module:** LibTmux.TmuxBuffers
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Buffers/TmuxBuffers.cs#L66
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-tmuxbuffers-getasync/

```
LibTmux.TmuxBuffers.GetAsync(name: string?, cancellationToken: CancellationToken) -> Task<string>
```

Reads a buffer in full.

## Parameters

- `name` (string?): The buffer to read, or null for the most recent.
- `cancellationToken` (CancellationToken): Cancels the tmux command.

## Returns

Everything the buffer holds.
