# LibTmux.Window.LinkAsync

- **Module:** LibTmux.Window
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Window.Links.cs#L51
- **Page:** https://libtmux.org/reference/dotnet/libtmux-window-linkasync/

```
LibTmux.Window.LinkAsync(request: LinkWindowRequest, cancellationToken: CancellationToken) -> Task
```

Links this window into another session.

## Parameters

- `request` (LinkWindowRequest) — Where the link goes.
- `cancellationToken` (CancellationToken) — Cancels the tmux command.

## Raises

- `IncompleteSnapshotException` — The window was resolved by identifier, so its source link is unknown.
