Reputation: 12910
I am looking for the equivalent methods (in .Net) of the following WinAPI:
CreateFile(); or OpenFile();
CreateFileMapping();
MapViewOfFile();
Upvotes: 0
Views: 509
Reputation: 35477
For .NET 4.0 developers, the interesting classes that work with memory-mapped files live in the new System.IO.MemoryMappedFiles namespace.
See this article: http://www.developer.com/net/article.php/3828586/Using-Memory-Mapped-Files-in-NET-40.htm
Upvotes: 2
Reputation: 613302
You can use those functions directly. The .net wrappers of the memory mapped file API were only introduced in .net 4.0.
Upvotes: 3