Example #1
0
        public static string ReloadJsdFile(string aFileName)
        {
            JsdFile _file = null;

            using (FileStream _fsi = new FileStream(aFileName, FileMode.Open))
                _file = JsdFile.Load(_fsi);

            using (FileStream _fso = new FileStream(aFileName, FileMode.Create))
                _file.Save(_fso);

            return(_file.ToString());
        }
Example #2
0
        public static string ConvertJsdFileToHighDefinition(string aFileName)
        {
            JsdFile _file = null;

            using (FileStream _fsi = new FileStream(aFileName, FileMode.Open))
                _file = JsdFile.Load(_fsi);

            _file.ConvertToHighDefinition();

            using (FileStream _fso = new FileStream(aFileName, FileMode.Create))
                _file.Save(_fso);

            return(_file.ToString());
        }