Convert byte array to file, then open it ot its default application
-
hi guys, how will i convert byte array to a file, then open it. i searched the internet, but they usually create the file first then save it to their local disk, before opening... i just want to open the file(from byte array) from virtual memory.. is it possible? i need your help badly.. thanks guys..
-
hi guys, how will i convert byte array to a file, then open it. i searched the internet, but they usually create the file first then save it to their local disk, before opening... i just want to open the file(from byte array) from virtual memory.. is it possible? i need your help badly.. thanks guys..
File.WriteAllBytes creates a file. Is that what you mean ?
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.
-
hi guys, how will i convert byte array to a file, then open it. i searched the internet, but they usually create the file first then save it to their local disk, before opening... i just want to open the file(from byte array) from virtual memory.. is it possible? i need your help badly.. thanks guys..
-spy- wrote:
need your help badly..
But not badly enough to answer someone who is trying to help you ? Well, great.
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.
-
hi guys, how will i convert byte array to a file, then open it. i searched the internet, but they usually create the file first then save it to their local disk, before opening... i just want to open the file(from byte array) from virtual memory.. is it possible? i need your help badly.. thanks guys..
If it's not on disk it's not a file. :-D Once written to disk you can use Process.Start to "open" it with its associated application. That's what I do.