# LibTmux.Server.IsAliveAsync

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Server.Lifecycle.cs#L35
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-server-isaliveasync/

```
LibTmux.Server.IsAliveAsync(cancellationToken: CancellationToken) -> Task<bool>
```

Reports whether a tmux server is answering.

A probe may answer no; it never reports a failure.

## Parameters

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

## Returns

True when the server responded.
