Firstly I don't completely have a clue if the so-called Platform.VirtualFileSystem
can do this. What I want for a virtual file system is somehow create a virtual file from a Stream
(that I've already had). The system (OS) will be able to access that virtual file as if it was a real file (transparently).
After browsing the classes hierarchy of the Platform.VirtualFileSystem
, I could not completely find anything related to what I want. It looks just like that I can link an actual system file to the virtual file but here I don't even have the actual system file, what I have is just a Stream
.
Does anyone have a simple example to illustrate this? As I said before, I did not even know if that library is what can help me. So if you have another alternative ones that could solve my problem, please suggest.