예제 #1
0
        private static void saveSubsData()
        {
            if (!Directory.Exists(SubsSaveDir))
            {
                Directory.CreateDirectory(SubsSaveDir);
            }

            IOSerialize.writingJson(subsProfiles[0], SubsSaveDir);
        }
예제 #2
0
        private static void readSubsData()
        {
            string filepath = string.Format("{0}\\{1}.json", SubsSaveDir, Utils.MD5Sum("-"));

            if (File.Exists(filepath))
            {
                SubsProfile tmp = IOSerialize.readingJson(filepath);
                subsProfiles[0] = tmp;
            }
        }