1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-25 22:56:09 +03:00
ProxySU/ProxySuper.Core/Models/Projects/HysteriaSettings.cs

34 lines
729 B
C#
Raw Normal View History

2022-12-17 05:41:46 +03:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProxySuper.Core.Models.Projects
{
2023-02-27 12:26:55 +03:00
public class HysteriaSettings : IProjectSettings
2022-12-17 05:41:46 +03:00
{
public string Domain { get; set; } = "";
public string Obfs { get; set; } = "";
public string Email { get; set; } = "";
2022-12-17 06:25:09 +03:00
public string Protocol { get; set; } = "udp";
2022-12-17 05:41:46 +03:00
public int Port { get; set; } = 36712;
public int UpMbps { get; set; } = 300;
public int DownMbps { get; set; } = 300;
2023-02-27 12:26:55 +03:00
public List<int> FreePorts
{
get
{
2023-04-01 06:29:01 +03:00
return new List<int> { Port, 80 };
2023-02-27 12:26:55 +03:00
}
}
2022-12-17 05:41:46 +03:00
}
}