# LibTmux.Server.SourceFileAsync

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

tmux command: [`source-file`](/en/tmux/latest/manual/source-file/)

```
LibTmux.Server.SourceFileAsync(path: string, quiet: bool, parseOnly: bool, verbose: bool, cancellationToken: CancellationToken) -> Task
```

Reads a tmux configuration file.

## Parameters

- `path` (`string`): The file to read.
- `quiet` (`bool`): Whether a missing file is passed over in silence.
- `parseOnly` (`bool`): Whether the file is checked rather than run.
- `verbose` (`bool`): Whether each command read is reported.
- `cancellationToken` (`CancellationToken`): Cancels the tmux command.
