summaryrefslogtreecommitdiff
path: root/windows/WinUI/ZeroTierPeerPhysicalPath.cs
diff options
context:
space:
mode:
Diffstat (limited to 'windows/WinUI/ZeroTierPeerPhysicalPath.cs')
-rw-r--r--windows/WinUI/ZeroTierPeerPhysicalPath.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/windows/WinUI/ZeroTierPeerPhysicalPath.cs b/windows/WinUI/ZeroTierPeerPhysicalPath.cs
new file mode 100644
index 00000000..3eaa8026
--- /dev/null
+++ b/windows/WinUI/ZeroTierPeerPhysicalPath.cs
@@ -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 UInt64 LastSend { get; set; }
+
+ [JsonProperty("lastReceive")]
+ public UInt64 LastReceive { get; set; }
+
+ [JsonProperty("fixed")]
+ public bool Fixed { get; set; }
+
+ [JsonProperty("preferred")]
+ public bool Preferred { get; set; }
+ }
+}