public string Read(string section, string key) { StringBuilder sb = new StringBuilder(IniConfigFile.bufSize); IniConfigFile.GetPrivateProfileString(section, key, String.Empty, sb, IniConfigFile.bufSize, this.path); return(sb.ToString()); }
public void Write(string section, string key, string val) { IniConfigFile.WritePrivateProfileString(section, key, val, this.path); }