C# represent Memory Stream as a physical file
===

I've ran into a bit of a stupid problem today:

In my project i have to use a library (that i can't replace), but the problem is that im using memorystream instead of frequently saving to the hdd (because the files are thousands and they are small in size, so perfect for memorystream). The problem is that the library API is built around Filesystem access and one of the functions accepts only direct path to file. 

My question is how can i represent a MemoryStream as a physical file?

For example "\\MEMORY\\myfile.bin"?

