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
Post a Comment