From 17bf9921d0432fcab9d43ed256f02334e1cf6755 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期二, 29 三月 2022 10:27:34 +0800
Subject: [PATCH] 1.封装新的全视通dll 2.更新TBL.dll、IOS.dll库

---
 ZigbeeApp/Shared/Phone/ZigBee/Common/Application.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Common/Application.cs b/ZigbeeApp/Shared/Phone/ZigBee/Common/Application.cs
index 05a7aae..d5f60c1 100755
--- a/ZigbeeApp/Shared/Phone/ZigBee/Common/Application.cs
+++ b/ZigbeeApp/Shared/Phone/ZigBee/Common/Application.cs
@@ -417,8 +417,13 @@
                 }
 
                 //鑾峰彇鎵嬫満鐨剋ifi鍦板潃
+#if Android
                 var netwifi = new Shared.Net.NetWiFi();
                 string phoneIp = netwifi.GetIPAddress();
+#endif
+#if iOS
+                string phoneIp = Shared.Net.NetWiFi.GetIPAddress();
+#endif
                 //"127.0.0.1"鏄簳灞傚簱閲岄潰璁剧疆鐨勫垵濮嬮粯璁ゅ��
                 if (phoneIp != "127.0.0.1")
                 {

--
Gitblit v1.8.0