public static void DumpFile(string file) { Console.WriteLine("FILE: " + file); using (Stream s = File.OpenRead(file)) { BinaryXmlReader r = new BinaryXmlReader(s, new BinaryXmlTypeMap()); r.Dump(0); } }
public static void DumpFile (string file) { Console.WriteLine ("FILE: " + file); using (Stream s = File.OpenRead (file)) { BinaryXmlReader r = new BinaryXmlReader (s, new BinaryXmlTypeMap ()); r.Dump (0); } }