# LibTmux.TmuxEnvironment.GetAllAsync

- **Module:** LibTmux.TmuxEnvironment
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Environment/TmuxEnvironmentOperations.cs#L64
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-tmuxenvironment-getallasync/

```
LibTmux.TmuxEnvironment.GetAllAsync(cancellationToken: CancellationToken) -> Task<IReadOnlyList<TmuxEnvironmentEntry>>
```

Reads every variable in this environment.

Variables set hidden are not reported. tmux keeps them for the panes it
spawns but will not read them back out.

## Parameters

- `cancellationToken` (CancellationToken): Cancels the tmux command.

## Returns

Every variable tmux reported, in the order it reported them.
