mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 10:08:31 +00:00
32 lines
829 B
C#
32 lines
829 B
C#
namespace RGB.NET.Devices.OpenRGB;
|
|
|
|
/// <summary>
|
|
/// Represents a definition of an OpenRGB server.
|
|
/// </summary>
|
|
public class OpenRGBServerDefinition
|
|
{
|
|
/// <summary>
|
|
/// The name of the client that will appear in the OpenRGB interface.
|
|
/// </summary>
|
|
public string? ClientName { get; set; }
|
|
|
|
/// <summary>
|
|
/// The ip address of the server.
|
|
/// </summary>
|
|
public string? Ip { get; set; }
|
|
|
|
/// <summary>
|
|
/// The port of the server.
|
|
/// </summary>
|
|
public int Port { get; set; }
|
|
|
|
/// <summary>
|
|
/// Whether the provider is connected to this server definition or not.
|
|
/// </summary>
|
|
public bool Connected { get; set; }
|
|
|
|
/// <summary>
|
|
/// The error that occurred when connecting, if this failed.
|
|
/// </summary>
|
|
public string? LastError { get; set; }
|
|
} |