# LibTmux.Mcp.SessionInfo.From

- **Module:** LibTmux.Mcp
- **Package:** LibTmux.Mcp
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux.Mcp/Results/Entities.cs#L148
- **Page:** https://libtmux.org/en/csharp/latest/mcp/reference/libtmux-mcp-sessioninfo-from/

```
LibTmux.Mcp.SessionInfo.From(session: Session, attached: bool?) -> SessionInfo
```

Describes a session the library has already materialized.

## Parameters

- `session` (`Session`): The session to describe.
- `attached` (`bool?`): Whether a client other than this server's own observers is attached,
or null to trust the session's own captured field as-is.

## Returns

The description.
