# LibTmux.Client.GetAsync

- **Module:** LibTmux.Client
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Client.Administration.cs#L71
- **Page:** https://libtmux.org/en/dotnet/latest/reference/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.
