Ejemplo n.º 1
0
 public static void DeleteKey(string fileName, string section, string key)
 {
     ReadWriteIniFile rwi = new ReadWriteIniFile(fileName);
     rwi.DeleteData(section, key);
 }
Ejemplo n.º 2
0
 public static int ReadKeyInt(string fileName, string section, string key)
 {
     ReadWriteIniFile rwi = new ReadWriteIniFile(fileName);
     return rwi.ReadIniInt(section, key);
 }
Ejemplo n.º 3
0
 public static void WriteKey(string fileName, string section, string key, string value)
 {
     ReadWriteIniFile rwi = new ReadWriteIniFile(fileName);
     rwi.WriteIni(section, key, value);
 }
Ejemplo n.º 4
0
 public static void DeleteSection(string fileName, string section)
 {
     ReadWriteIniFile rwi = new ReadWriteIniFile(fileName);
     rwi.DeleteData(section);
 }
Ejemplo n.º 5
0
        public static string ReadKey(string fileName, string section, string key)
        {
            ReadWriteIniFile rwi = new ReadWriteIniFile(fileName);

            return(rwi.ReadIniStr(section, key));
        }
Ejemplo n.º 6
0
        public static void DeleteSection(string fileName, string section)
        {
            ReadWriteIniFile rwi = new ReadWriteIniFile(fileName);

            rwi.DeleteData(section);
        }
Ejemplo n.º 7
0
        public static void DeleteKey(string fileName, string section, string key)
        {
            ReadWriteIniFile rwi = new ReadWriteIniFile(fileName);

            rwi.DeleteData(section, key);
        }
Ejemplo n.º 8
0
        public static void WriteKey(string fileName, string section, string key, string value)
        {
            ReadWriteIniFile rwi = new ReadWriteIniFile(fileName);

            rwi.WriteIni(section, key, value);
        }