summaryrefslogtreecommitdiff
path: root/windows/WinUI/NetworkRoute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'windows/WinUI/NetworkRoute.cs')
-rw-r--r--windows/WinUI/NetworkRoute.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/windows/WinUI/NetworkRoute.cs b/windows/WinUI/NetworkRoute.cs
new file mode 100644
index 00000000..61616f44
--- /dev/null
+++ b/windows/WinUI/NetworkRoute.cs
@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Newtonsoft.Json;
+
+namespace WinUI
+{
+ public class NetworkRoute
+ {
+ [JsonProperty("target")]
+ public string Target { get; set; }
+
+ [JsonProperty("via")]
+ public string Via { get; set; }
+
+ [JsonProperty("flags")]
+ public int Flags { get; set; }
+
+ [JsonProperty("metric")]
+ public int Metric { get; set; }
+ }
+}