logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    LinuxSystemMonitorsProvider
    Implements
    ISystemMonitorsProvider
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    Implements

    ISystemMonitorsProvider
    In this article
    © 2026 Serenity. All Rights Reserved