Ejemplo n.º 1
0
        public static string IniReadValue(string Section, string Key)
        {
            StringBuilder stringBuilder        = new StringBuilder(500);
            int           privateProfileString = DealINI.GetPrivateProfileString(Section, Key, "", stringBuilder, 500, _inipath);

            return(stringBuilder.ToString());
        }
Ejemplo n.º 2
0
        //public DealINI(string INIPath)
        //{
        //    this.inipath = INIPath;
        //}

        //public DealINI()
        //{
        //    this.inipath = "";
        //}

        public static void IniWriteValue(string Section, string Key, string Value)
        {
            DealINI.WritePrivateProfileString(Section, Key, Value, _inipath);
        }