byte[] bytes; MemoryStream stream = new MemoryStream(); BinaryFormatter formatter = new BinaryFormatter(); formatter.AssemblyFormat = System.Runtime.Serialization.Formatters.FormatterAssemblyStyle.Full; formatter.Serialize(stream, results.CompiledAssembly); bytes = stream.ToArray();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)