c# - Open file from byte array -


i storing attachments in applications.

these gets stored in sql varbinary types.

i read them byte[] object.

i need open these files dont want first write files disk , open using process.start().

i open using inmemory streams. there way to in .net. please note these files can of type

you can write bytes file without using streams:

system.io.file.writeallbytes(path, bytes); 

and use

process.start(path); 

trying open file memory isn't worth result. really, don't want it.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -