Opens an existing memory-mapped file that has the specified name, access rights, and inheritability in system memory.
- mapName
The name of the memory-mapped file to open.
- desiredAccessRights
One of the enumeration values that specifies the access rights to apply to the memory-mapped file.
- inheritability
One of the enumeration values that specifies whether a handle to the memory-mapped file can be inherited by a child process. The default is System.IO.HandleInheritability.None.
![]()
A memory-mapped file that has the specified characteristics.