I am trying to convert an assembly compiled with ICodeCompiler to byte []. How can i do this? Also the safest way to transfer this assembly to a remote location (client)? Please note that synchronization of the Symmetric Key is not possible.
Update: How about this?
BinaryFormatter formatter = new BinaryFormatter();
MemoryStream assemblyStream = new MemoryStream();
formatter.Serialize(assemblyStream, loAssembly);
How to transfer byte []?
source
share