Remotely/Shared/Models/ConnectionInfo.cs
2023-07-26 11:31:34 -07:00

26 lines
503 B
C#

#nullable enable
using System;
namespace Remotely.Shared.Models;
public class ConnectionInfo
{
private string? _host;
public string DeviceID { get; set; } = Guid.NewGuid().ToString();
public string? Host
{
get
{
return _host?.Trim()?.TrimEnd('/');
}
set
{
_host = value?.Trim()?.TrimEnd('/');
}
}
public string? OrganizationID { get; set; }
public string? ServerVerificationToken { get; set; }
}