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