You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

InboundConfigurationObject.cs 684 B

123456789101112131415161718192021222324252627
  1. using System.Collections.Generic;
  2. namespace Shadowsocks.Interop.V2Ray.Protocols.Socks
  3. {
  4. public class InboundConfigurationObject
  5. {
  6. public string Auth { get; set; }
  7. public List<AccountObject> Accounts { get; set; }
  8. public bool Udp { get; set; }
  9. public string Ip { get; set; }
  10. public int UserLevel { get; set; }
  11. public InboundConfigurationObject()
  12. {
  13. Auth = "noauth";
  14. Accounts = new();
  15. Udp = false;
  16. Ip = "127.0.0.1";
  17. UserLevel = 0;
  18. }
  19. public static InboundConfigurationObject Default => new()
  20. {
  21. Udp = true,
  22. };
  23. }
  24. }