From e9ba3b229ef7931fe22f03922ec21625a0b9522a Mon Sep 17 00:00:00 2001 From: jasonchenwork Date: Wed, 18 Jun 2025 13:30:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=89=8B=E6=A9=9F=E9=BB=9E?= =?UTF-8?q?=E6=AD=8C+=E5=B0=8D=E5=A4=96IP=E8=AE=80=E5=8F=96=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/HttpServer.cs b/HttpServer.cs index 12eed98..1d314e0 100644 --- a/HttpServer.cs +++ b/HttpServer.cs @@ -41,8 +41,8 @@ namespace DualScreenDemo randomFolderPath = randomFolderName; string localAddress = GetLocalIPAddress(); - string externalAddress = File.Exists(@"\\JLDKTV\txt\ip.txt") - ? File.ReadAllText(@"\\JLDKTV\txt\ip.txt").Trim() + string externalAddress = File.Exists(@"\\svr01\txt\ip.txt") + ? File.ReadAllText(@"\\svr01\txt\ip.txt").Trim() : ""; _listener = new HttpListener(); @@ -964,7 +964,8 @@ namespace DualScreenDemo // 将读取到的 "message" 字段传递给 UI 控件显示 InvokeAction(() => OverlayForm.MainForm.ShowmessageLabel(Messagefist+Messagelast+'_')); } - await Task.Delay(3000); + // 真情告白顯示秒數 + await Task.Delay(5000); } } }