启动条件重置

This commit is contained in:
2025-09-11 16:24:41 +08:00
parent f75eae1551
commit 9042969e21
2 changed files with 24 additions and 2 deletions

View File

@@ -30,10 +30,10 @@ namespace Infrastructure
Console.ForegroundColor = ConsoleColor.Blue;
// 打印本地主机的 IP 地址
Console.WriteLine($"Local IP addresses for {hostName}:");
Console.WriteLine($"主机IP地址为: {hostName}:");
foreach (IPAddress ip in localIPs)
{
Console.WriteLine(ip);
Console.WriteLine("主机配置的IP地址列表:"+ip);
}
// 重置控制台输出颜色为默认颜色