1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2025-02-17 07:03:14 +03:00
2021-07-07 16:56:53 +08:00

39 lines
844 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProxySuper.Core.Models.Projects
{
public class BrookSettings : IProjectSettings
{
public string Domain { get; set; }
public string IP { get; set; }
public string Password { get; set; }
public BrookType BrookType { get; set; }
public int Port { get; set; } = 443;
public List<int> FreePorts
{
get
{
if (Port == 443)
{
return new List<int> { 80, 443 };
}
return new List<int> { Port };
}
}
public string Email => "server@brook.com";
public ProjectType Type { get; set; } = ProjectType.Brook;
}
}