How to use Memory-mapped files in .Net?
.NET (Core and Framework)
2
Posts
2
Posters
0
Views
1
Watching
-
what is the cleanest way of dealing with memory-mapped files within .Net? Looking for a way to port a large library code that makes heavy use of memory-mapped files. Any pointers would be appreciated. Thanks. Chen Venkataraman
-
what is the cleanest way of dealing with memory-mapped files within .Net? Looking for a way to port a large library code that makes heavy use of memory-mapped files. Any pointers would be appreciated. Thanks. Chen Venkataraman
Chen, From what I've read, you'll have to wrap the Win32API calls yourself and probably make use of Unsafe code in your application to get this working. Memory Mapped Files are not directly supported in .NET ... D.