Ejemplo n.º 1
0
 private static void DumpAssetsCore(SwfMovie swf, string path)
 {
     try
     {
         using (var writer = new StreamWriter(path))
         {
             WriteAssets(writer, "Import Assets:", swf, swf.GetImportAssets());
             WriteAssets(writer, "Export Assets:", swf, swf.GetExportAssets());
             WriteAssets(writer, "Symbol Table:", swf, swf.GetSymbolAssets());
         }
     }
     catch (Exception e)
     {
         Console.WriteLine("Unable to dump assets");
         Console.WriteLine(e);
     }
 }