C#-ifying stuff
This commit is contained in:
parent
fe6960888a
commit
62059a91aa
8 changed files with 175 additions and 46 deletions
|
@ -3,19 +3,37 @@ using System.Collections.Generic;
|
|||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace WinUI
|
||||
{
|
||||
public class ZeroTierStatus
|
||||
{
|
||||
public string address;
|
||||
public string publicIdentity;
|
||||
public bool online;
|
||||
public bool tcpFallbackActive;
|
||||
public int versionMajor;
|
||||
public int versionMinor;
|
||||
public int versionRev;
|
||||
public string version;
|
||||
public UInt64 clock;
|
||||
[JsonProperty("address")]
|
||||
public string Address { get; set; }
|
||||
|
||||
[JsonProperty("publicIdentity")]
|
||||
public string PublicIdentity { get; set; }
|
||||
|
||||
[JsonProperty("online")]
|
||||
public bool Online { get; set; }
|
||||
|
||||
[JsonProperty("tcpFallbackActive")]
|
||||
public bool TcpFallbackActive { get; set; }
|
||||
|
||||
[JsonProperty("versionMajor")]
|
||||
public int VersionMajor { get; set; }
|
||||
|
||||
[JsonProperty("versionMinor")]
|
||||
public int VersionMinor { get; set; }
|
||||
|
||||
[JsonProperty("versionRev")]
|
||||
public int VersionRev { get; set; }
|
||||
|
||||
[JsonProperty("version")]
|
||||
public string Version { get; set; }
|
||||
|
||||
[JsonProperty("clock")]
|
||||
public UInt64 Clock { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue