|
123456789101112131415161718192021222324252627 |
- using System.Collections.Generic;
-
- namespace Shadowsocks.Interop.V2Ray.Protocols.Socks
- {
- public class InboundConfigurationObject
- {
- public string Auth { get; set; }
- public List<AccountObject> Accounts { get; set; }
- public bool Udp { get; set; }
- public string Ip { get; set; }
- public int UserLevel { get; set; }
-
- public InboundConfigurationObject()
- {
- Auth = "noauth";
- Accounts = new();
- Udp = false;
- Ip = "127.0.0.1";
- UserLevel = 0;
- }
-
- public static InboundConfigurationObject Default => new()
- {
- Udp = true,
- };
- }
- }
|