# LibTmux.Client.RefreshAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Client.Administration.cs#L92
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-client-refreshasync/

```
LibTmux.Client.RefreshAsync(cancellationToken: CancellationToken) -> Task<Client>
```

Re-reads this client from tmux.

## Parameters

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

## Returns

A replacement handle carrying current state.

## Raises

- [`TmuxObjectNotFoundException`](/en/csharp/latest/reference/libtmux-tmuxobjectnotfoundexception/): The client has gone.
