I have an image in D Drive like "D:\Image\1.tiff". I want to read this file and write it in an another location, for example in the path "D:\Project\". How to do this using Memory Mapped File?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Carriage Return (ASCII chr 13) is missing from tex
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
The CreateFromFile methods create a memory-mapped file from an existing file on disk. The following example creates a memory-mapped view of a part of an extremely large file and manipulates a portion of it.
The following example opens the same memory-mapped file for another process.
You can also read more at :http://www.codeproject.com/Articles/138290/Programming-Memory-Mapped-Files-with-the-NET-Frame
I can now achieve reading and writing a file using Memory Mapped File using the below coding: