# LibTmux.TmuxCommand.ToArguments

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Chaining/TmuxCommand.cs#L124
- **Page:** https://libtmux.org/en/csharp/latest/reference/libtmux-tmuxcommand-toarguments/

```
LibTmux.TmuxCommand.ToArguments() -> IReadOnlyList<string>
```

Returns this command the way tmux receives it.

This is raw argv. Execute the command through a chain or control session
to retain its checks for server generation, window placement, and pane containment.

## Returns

The command name followed by its arguments.
