# LibTmux.Client.GetAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Client.Administration.cs#L71
- **Page:** https://libtmux.org/en/csharp/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`](/en/csharp/latest/reference/libtmux-tmuxobjectnotfoundexception/): The server has no such client.
