Example #1
0
 public void Save(string fileName)
 {
     InfoFile                       = InfoFile ?? new IniFile();
     InfoSection                    = InfoFile.AddSection("info");
     ProjectSection                 = InfoFile.AddSection("project");
     InfoSection["time"]            = "" + Utils.t2i(time);
     InfoSection["Date"]            = "" + Utils.DateTimeString(time);
     InfoSection["FilesCount"]      = "" + FilesCount;
     InfoSection["AddedFilesCount"] = "" + AddedFilesCount;
     InfoSection["TotalSize"]       = "" + TotalSize;
     InfoSection["TotalSizeAdded"]  = "" + TotalSizeAdded;
     InfoSection["LogFile"]         = LogFile;
     InfoFile.Save(fileName);
     path = fileName;
 }