1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2025-02-16 22:53:13 +03:00

35 lines
762 B
C#
Raw Normal View History

2021-07-08 18:37:32 +08:00
using System.Collections.Generic;
2021-07-02 18:35:25 +08:00
namespace ProxySuper.Core.Models.Projects
{
public class BrookSettings : IProjectSettings
{
public string Domain { get; set; }
2021-07-07 16:56:53 +08:00
public string IP { get; set; }
2021-07-02 18:35:25 +08:00
public string Password { get; set; }
public BrookType BrookType { get; set; }
public int Port { get; set; } = 443;
public List<int> FreePorts
{
get
{
2021-07-07 12:01:41 +08:00
if (Port == 443)
2021-07-02 18:35:25 +08:00
{
2021-07-07 12:01:41 +08:00
return new List<int> { 80, 443 };
}
return new List<int> { Port };
2021-07-02 18:35:25 +08:00
}
}
public string Email => "server@brook.com";
public ProjectType Type { get; set; } = ProjectType.Brook;
}
}