Remotely/Shared/Models/ConnectionInfo.cs
2023-07-24 09:16:22 -07:00

26 lines
519 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('/') ?? string.Empty;
}
}
public string? OrganizationID { get; set; }
public string? ServerVerificationToken { get; set; }
}