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 814 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Text.Json.Serialization;
  3. namespace Shadowsocks.Interop.V2Ray.Protocols.Shadowsocks
  4. {
  5. public class InboundConfigurationObject
  6. {
  7. public string Email { get; set; }
  8. [JsonIgnore(Condition = JsonIgnoreCondition.Never)]
  9. public string Method { get; set; }
  10. [JsonIgnore(Condition = JsonIgnoreCondition.Never)]
  11. public string Password { get; set; }
  12. public int Level { get; set; }
  13. [JsonIgnore(Condition = JsonIgnoreCondition.Never)]
  14. public string Network { get; set; }
  15. public InboundConfigurationObject()
  16. {
  17. Email = "";
  18. Method = "chacha20-ietf-poly1305";
  19. Password = new Guid().ToString();
  20. Level = 0;
  21. Network = "tcp,udp";
  22. }
  23. }
  24. }