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()); }
//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); }