Remotely/Shared/Models/WindowsSession.cs
2024-07-16 09:25:15 -07:00

24 lines
521 B
C#

using System.Runtime.Serialization;
namespace Remotely.Shared.Models;
[DataContract]
public enum WindowsSessionType
{
Console = 1,
RDP = 2
}
[DataContract]
public class WindowsSession
{
[DataMember(Name = "ID")]
public uint Id { get; set; }
[DataMember(Name = "Name")]
public string Name { get; set; } = string.Empty;
[DataMember(Name = "Type")]
public WindowsSessionType Type { get; set; }
[DataMember(Name = "Username")]
public string Username { get; set; } = string.Empty;
}