qin
2025-03-14 ef1fc8b0eeea6972964d8c62dfef7819bea49d1a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System.Configuration;
 
namespace HStation.Desktop
{
    internal class UpdateConfigHelper
    {
        /// <summary>
        /// 服务器IP
        /// </summary>
        public static string ServerIP
        {
            get
            {
                return ConfigurationManager.AppSettings["UpdateServerIP"];
            }
        }
 
        /// <summary>
        /// 服务端口
        /// </summary>
        public static int ServerPort
        {
            get
            {
                return int.Parse(ConfigurationManager.AppSettings["UpdateServerPort"]);
            }
        }
 
 
    }
}