logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface ISystemConfigurationSnapshot

    Represents a snapshot of the system configuration at a specific point in time.

    Namespace: Serenity.SystemConfiguration.Application.Interfaces
    Assembly: Serenity.SystemConfiguration.Application.dll
    Syntax
    public interface ISystemConfigurationSnapshot
    Remarks

    Implementations should be serializable by the foundation.

    Properties

    CollectedAtUtc

    Gets the UTC timestamp when the snapshot was collected.

    Declaration
    DateTime CollectedAtUtc { get; }
    Property Value
    Type Description
    DateTime

    The UTC timestamp as a DateTime.

    CultureName

    Specifies the culture name of the system configuration snapshot.

    Declaration
    string CultureName { get; }
    Property Value
    Type Description
    string

    The culture name as a string (e.g., "en-US", "fr-FR").

    DeviceModel

    Specifies the device model of the system configuration snapshot.

    Declaration
    string DeviceModel { get; }
    Property Value
    Type Description
    string

    The device model as a string (e.g., "MacBook Pro", "Dell XPS 13").

    DeviceName

    Specifies the device name of the system configuration snapshot.

    Declaration
    string DeviceName { get; }
    Property Value
    Type Description
    string

    The device name as a string (e.g., "John's Laptop").

    Displays

    Specifies the list of displays and their configurations.

    Declaration
    DisplayInfo[] Displays { get; }
    Property Value
    Type Description
    DisplayInfo[]

    An array of display information.

    GpuMemoryMB

    Specifies the GPU architecture of the system configuration snapshot.

    Declaration
    int GpuMemoryMB { get; }
    Property Value
    Type Description
    int

    The GPU architecture as a string (e.g., "Pascal", "Turing").

    GpuName

    Specifies the GPU name of the system configuration snapshot.

    Declaration
    string GpuName { get; }
    Property Value
    Type Description
    string

    The GPU name as a string (e.g., "NVIDIA GeForce GTX 1080").

    Language

    Specifies the language of the system configuration snapshot.

    Declaration
    string Language { get; }
    Property Value
    Type Description
    string

    The language as a string (e.g., "en", "fr").

    OperatingSystem

    Specifies the operating system of the system configuration snapshot.

    Declaration
    string OperatingSystem { get; }
    Property Value
    Type Description
    string

    The operating system as a string (e.g., "Windows 10", "macOS 11.2").

    PrimaryDisplayHeight

    Specifies the height of the primary display in pixels.

    Declaration
    int PrimaryDisplayHeight { get; }
    Property Value
    Type Description
    int

    The height of the primary display in pixels as an integer.

    PrimaryDisplayRefreshRate

    Specifies the refresh rate of the primary display in Hz.

    Declaration
    int PrimaryDisplayRefreshRate { get; }
    Property Value
    Type Description
    int

    The refresh rate of the primary display in Hz as an integer.

    PrimaryDisplayWidth

    Specifies the width of the primary display in pixels.

    Declaration
    int PrimaryDisplayWidth { get; }
    Property Value
    Type Description
    int

    The width of the primary display in pixels as an integer.

    RegionDisplayName

    Specifies the region code of the system configuration snapshot.

    Declaration
    string RegionDisplayName { get; }
    Property Value
    Type Description
    string

    The region code as a string (e.g., "US", "FR").

    SupportsComputeShaders

    Specifies whether the system supports compute shaders.

    Declaration
    bool SupportsComputeShaders { get; }
    Property Value
    Type Description
    bool

    True if compute shaders are supported; otherwise, false.

    SupportsRayTracing

    Specifies whether the system supports ray tracing.

    Declaration
    bool SupportsRayTracing { get; }
    Property Value
    Type Description
    bool

    True if ray tracing is supported; otherwise, false.

    SystemMemoryMB

    Specifies the system memory (RAM) in MB of the system configuration snapshot.

    Declaration
    int SystemMemoryMB { get; }
    Property Value
    Type Description
    int

    The system memory in MB as an integer (e.g., 16384 for 16GB).

    TimeZoneId

    Specifies the time zone ID of the system configuration snapshot.

    Declaration
    string TimeZoneId { get; }
    Property Value
    Type Description
    string

    The time zone ID as a string (e.g., "America/New_York").

    In this article
    © 2026 Serenity. All Rights Reserved