public static void SaveWebapp(List <ScSystem> pSysList) { string file = System.AppDomain.CurrentDomain.BaseDirectory + "application.ini"; IniFileHelper ini = new IniFileHelper(file); ini.IniWriteValue("webapp", "webcount", pSysList.Count.ToString()); int count = 1; foreach (ScSystem ss in pSysList) { ini.IniWriteValue("webapp", "weburl" + count, getUrlText(ss)); count++; } }
private void writeVal(string pSection, string pKey, string pVal) { ini.IniWriteValue(pSection, pKey, pVal); }