using System.Collections.Generic; namespace Netch.Models { /// /// 用于读取和写入的配置的类 /// public class LegacySetting { /// /// 服务器选择位置 /// public int ServerComboBoxSelectedIndex = 0; /// /// 模式选择位置 /// public int ModeComboBoxSelectedIndex = 0; /// /// HTTP 本地端口 /// public int HTTPLocalPort = 2802; /// /// Socks5 本地端口 /// public int Socks5LocalPort = 2801; /// /// HTTP 和 Socks5 本地代理地址 /// public string LocalAddress = "127.0.0.1"; /// /// Redirector TCP 占用端口 /// public int RedirectorTCPPort = 2800; /// /// TUNTAP 适配器配置 /// public TUNTAPConfig TUNTAP = new TUNTAPConfig(); /// /// 服务器列表 /// public List Server = new List(); /// /// 订阅链接列表 /// public List SubscribeLink = new List(); /// /// 全局绕过 IP 列表 /// public List BypassIPs = new List(); } }