namespace RGB.NET.Devices.OpenRGB; /// /// Represents a definition of an OpenRGB server. /// public sealed class OpenRGBServerDefinition { /// /// The name of the client that will appear in the OpenRGB interface. /// public string ClientName { get; set; } = "RGB.NET"; /// /// The ip address of the server. /// public string Ip { get; set; } = "127.0.0.1"; /// /// The port of the server. /// public int Port { get; set; } = 6742; /// /// Whether the provider is connected to this server definition or not. /// public bool Connected { get; set; } /// /// The error that occurred when connecting, if this failed. /// public string? LastError { get; set; } }