Google News
logo
.Net - Interview Questions
What are memory-mapped files used for in .NET?
Memory-mapped files in .NET are used to instantiate the contents of a logical file into the address of the application. This helps a user run processes simultaneously on a single machine and have the data shared between processes.
 
The MemoryMappedFile.CreateFromFiles() function is used to obtain a memory-mapped file object easily.
Advertisement