I am storing attachments in my applications.
These gets stored in SQL as varbinary
types.
I then read them into byte[]
object.
I now need to open these files but dont want to first write the files to disk and then open using Process.Start()
.
I would like to open using inmemory streams. Is there a way to to this in .net. Please note these files can be of any type