Hey,
I'm working on a project where we have to stream files from a server app to clients. I have it all working nicely, but we have a special client type that cannot save files to HDD, not even temporarily. I can get the byte stream from server to this special client, so only the data handling in the client side is the problem.
I was thinking, is there any way to open the streamed files in the client app without saving them first? For example, if I send a .JPG file from server to client, how can I open the file without saving it as .JPG with FileStream first? Can I do this with MemoryStreams or..? At the moment I have a partial system using MemoryStreams, but I haven't found a way to handle all kinds of file types I need. At the moment it can only handle .TXT and .JPG files, but the list goes on, and I really wouldn't like to write my own byte-parsers for all of them :P
Thanks for your answers in advance :)