mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 13:06:24 +00:00
Added corsair session details
This commit is contained in:
1 parent
2ff7a65519
commit
cc652a08a6
2 files changed
+48
-1
No files matched your search
@@ -0,0 +1,37 @@
|
||||
// ReSharper disable MemberCanBePrivate.Global
|
||||
|
||||
using RGB.NET.Devices.Corsair.Native;
|
||||
|
||||
namespace RGB.NET.Devices.Corsair;
|
||||
|
||||
/// <summary>
|
||||
/// Represents version information for the Corsair-SDK
|
||||
/// </summary>
|
||||
public class CorsairSessionDetails
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
public string ClientVersion { get; }
|
||||
public string ServerVersion { get; }
|
||||
public string ServerHostVersion { get; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
|
||||
internal CorsairSessionDetails()
|
||||
{
|
||||
ClientVersion = string.Empty;
|
||||
ServerVersion = string.Empty;
|
||||
ServerHostVersion = string.Empty;
|
||||
}
|
||||
|
||||
internal CorsairSessionDetails(_CorsairSessionDetails nativeDetails)
|
||||
{
|
||||
this.ClientVersion = nativeDetails.clientVersion.ToString();
|
||||
this.ServerVersion = nativeDetails.serverVersion.ToString();
|
||||
this.ServerHostVersion = nativeDetails.serverHostVersion.ToString();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in new issue
Block a user