Ejemplo n.º 1
0
        /// <summary>
        /// 静的コンストラクタ
        /// </summary>
        static Prm()
        {
            var assembly = Assembly.GetExecutingAssembly();

            ConfigPath  = string.Empty;
            AppPath     = assembly.Location;
            AppDir      = Directory.GetParent(assembly.Location).FullName;
            MyName      = assembly.GetName().Name;
            MyIPAddress = NetworkTools.GetIpv4Address();
        }