Memory-mapped files are used to map the content of a file to the logical address of an application. It makes you able to run multiple processes on the same machine to share data with each other. To obtain a memory-mapped file object, you can use the method Memory Mapped File. Create From Files ( ). It represents a persistent memory-mapped file from a file on disk.