# LibTmux.Client.ResolveAttachmentAsync

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

```
LibTmux.Client.ResolveAttachmentAsync(cancellationToken: CancellationToken) -> Task<ClientAttachment?>
```

Reads where this client is looking now.

The three parts come from one reading of the client, so a client that
moves between sessions cannot yield a window from one and a pane from
another.

## Parameters

- `cancellationToken` (CancellationToken) — Cancels the tmux commands.

## Returns

The session, window and pane the client is on, or null when the client
is gone or attached to nothing.
