# LibTmux.Client.GetAsync

- **Module:** LibTmux.Client
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Client.Administration.cs#L70
- **Page:** https://libtmux.org/reference/dotnet/libtmux-client-getasync/

```
LibTmux.Client.GetAsync(server: Server, name: string, cancellationToken: CancellationToken) -> Task<Client>
```

Reads one client by name.

## Parameters

- `server` (Server) — The server to look on.
- `name` (string) — The client name.
- `cancellationToken` (CancellationToken) — Cancels the tmux command.

## Returns

The client.

## Raises

- `TmuxObjectNotFoundException` — The server has no such client.
