ZeroTierStatus.cs 958 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Newtonsoft.Json;
  7. namespace WinUI
  8. {
  9. public class ZeroTierStatus
  10. {
  11. [JsonProperty("address")]
  12. public string Address { get; set; }
  13. [JsonProperty("publicIdentity")]
  14. public string PublicIdentity { get; set; }
  15. [JsonProperty("online")]
  16. public bool Online { get; set; }
  17. [JsonProperty("tcpFallbackActive")]
  18. public bool TcpFallbackActive { get; set; }
  19. [JsonProperty("versionMajor")]
  20. public int VersionMajor { get; set; }
  21. [JsonProperty("versionMinor")]
  22. public int VersionMinor { get; set; }
  23. [JsonProperty("versionRev")]
  24. public int VersionRev { get; set; }
  25. [JsonProperty("version")]
  26. public string Version { get; set; }
  27. [JsonProperty("clock")]
  28. public UInt64 Clock { get; set; }
  29. }
  30. }