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
|
|
|
|
|
{
|
|
|
|
|
return new List<int> { Port };
|
|
|
|
|
}
|
|
|
|
|
}
|
2022-12-17 05:41:46 +03:00
|
|
|
|
}
|
|
|
|
|
}
|