# LibTmux.FindWindowRequest.FindWindowRequest

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Requests/FindWindowRequest.cs#L9
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-findwindowrequest-findwindowrequest/

```
LibTmux.FindWindowRequest.FindWindowRequest(pattern: string)
```

Initializes a window-search request.

## Parameters

- `pattern` (`string`): The text to look for.

## Raises

- [`ArgumentException`](https://learn.microsoft.com/dotnet/api/system.argumentexception): <paramref name="pattern" /> is blank.
