using System;
using System.Collections.Generic;
using System.Text;

namespace OnlineUserPool.Unility
{
    class ConfigHelp
    {
        public static string Host { get; set; }
        public static string Top { get; set; }
        public static bool ShowVirtualUser { get; set; }

        public static string Ip { get; set; }

        public static int Port { get; set; }


        static ConfigHelp()
        {
            Host = System.Configuration.ConfigurationManager.AppSettings["Host"];
            Top = System.Configuration.ConfigurationManager.AppSettings["Top"];
            ShowVirtualUser = bool.Parse(System.Configuration.ConfigurationManager.AppSettings["ShowVirtualUser"]);
            Ip = System.Configuration.ConfigurationManager.AppSettings["Ip"];
            Port = int.Parse(System.Configuration.ConfigurationManager.AppSettings["Port"]);
        }
    }
}
