C#-ifying stuff
This commit is contained in:
parent
fe6960888a
commit
62059a91aa
8 changed files with 175 additions and 46 deletions
27
windows/WinUI/ZeroTierPeerPhysicalPath.cs
Normal file
27
windows/WinUI/ZeroTierPeerPhysicalPath.cs
Normal file
|
@ -0,0 +1,27 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace WinUI
|
||||
{
|
||||
public class ZeroTierPeerPhysicalPath
|
||||
{
|
||||
[JsonProperty("address")]
|
||||
public string Address { get; set; }
|
||||
|
||||
[JsonProperty("lastSend")]
|
||||
public int LastSend { get; set; }
|
||||
|
||||
[JsonProperty("lastReceive")]
|
||||
public int LastReceive { get; set; }
|
||||
|
||||
[JsonProperty("fixed")]
|
||||
public bool Fixed { get; set; }
|
||||
|
||||
[JsonProperty("preferred")]
|
||||
public bool Preferred { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue