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.

ServerObject.cs 802 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System.Text.Json.Serialization;
  2. namespace Shadowsocks.Interop.V2Ray.Protocols.Shadowsocks
  3. {
  4. public class ServerObject
  5. {
  6. public string? Email { get; set; }
  7. public string Address { get; set; }
  8. public int Port { get; set; }
  9. public string Method { get; set; }
  10. public string Password { get; set; }
  11. public int? Level { get; set; }
  12. public ServerObject()
  13. {
  14. Address = "";
  15. Port = 8388;
  16. Method = "chacha20-ietf-poly1305";
  17. Password = "";
  18. }
  19. public ServerObject(string address, int port, string method, string password)
  20. {
  21. Address = address;
  22. Port = port;
  23. Method = method;
  24. Password = password;
  25. }
  26. }
  27. }