1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-29 00:26:09 +03:00
ProxySU/ProxySuper.Core/Models/Projects/BrookSettings.cs

35 lines
762 B
C#
Raw Normal View History

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