Class LinuxSystemMonitorsProvider
Linux implementation of ISystemMonitorsProvider using multiple detection backends.
Uses a multi-backend architecture to detect monitor information:
- X11/XRandR backend for X11 sessions (highest priority)
- Wayland/wlroots backend using swaymsg for compatible compositors
- /sys/class/drm fallback for hardware-only detection
EDID data is always read from /sys/class/drm for manufacturer, model, serial, and manufacture date regardless of which layout backend is used.
Implements
Inherited Members
Namespace: Serenity.SystemConfiguration.Infrastructure.SystemMonitors
Assembly: Serenity.LinuxSystemConfiguration.Infrastructure.dll
Syntax
public class LinuxSystemMonitorsProvider : ISystemMonitorsProvider
Constructors
LinuxSystemMonitorsProvider()
Declaration
public LinuxSystemMonitorsProvider()
Methods
GetSystemMonitors()
Gets a read-only list of system monitors with detailed information.
Declaration
public IReadOnlyList<OsMonitorInfo> GetSystemMonitors()
Returns
| Type | Description |
|---|---|
| IReadOnlyList<OsMonitorInfo> | A read-only list of OsMonitorInfo objects representing the system monitors. |