public override void SaveToDisk(string fileName) { try { using (BinaryWriter writer = new BinaryWriter(new FileStream(fileName, FileMode.Create, FileAccess.Write))) { DOSHeader.AppendToStream(writer); writer.Write(DOS_Stub); PEHeader.AppendToStream(writer); AppendSections(writer); } } catch { } }