summaryrefslogtreecommitdiff
path: root/windows/WinUI/ZeroTierNetwork.cs
diff options
context:
space:
mode:
authorGrant Limberg <glimberg@gmail.com>2015-10-21 20:29:03 -0700
committerGrant Limberg <glimberg@gmail.com>2015-10-21 20:29:03 -0700
commit5b6ddaa2d744dfc726829da0893a7f03c9043c8a (patch)
tree76b67a8ed02152597e81fd2366c0e5e7a83bc2e2 /windows/WinUI/ZeroTierNetwork.cs
parent6471c1f4e26c0230b40bf0102a52493aa78236b9 (diff)
downloadinfinitytier-5b6ddaa2d744dfc726829da0893a7f03c9043c8a.tar.gz
infinitytier-5b6ddaa2d744dfc726829da0893a7f03c9043c8a.zip
Base windows UI is working.
* No joining/leaving networks yet, but they do display. * Nothing is updated yet after first load of the app. Need to set up a background task to run updates.
Diffstat (limited to 'windows/WinUI/ZeroTierNetwork.cs')
-rw-r--r--windows/WinUI/ZeroTierNetwork.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/windows/WinUI/ZeroTierNetwork.cs b/windows/WinUI/ZeroTierNetwork.cs
new file mode 100644
index 00000000..2dec53d2
--- /dev/null
+++ b/windows/WinUI/ZeroTierNetwork.cs
@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace WinUI
+{
+ public class ZeroTierNetwork
+ {
+ public string nwid;
+ public string mac;
+ public string name;
+ public string status;
+ public string type;
+ public int mtu;
+ public bool dhcp;
+ public bool bridge;
+ public bool broadcastEnabled;
+ public int portError;
+ public int netconfRevision;
+ public string[] multicastSubscriptions;
+ public string[] assignedAddresses;
+ public string portDeviceName;
+ }
+}