System.IO.MemoryMappedFiles.MemoryMappedFile.OpenExisting Method

Opens an existing memory-mapped file that has the specified name, access rights, and inheritability in system memory.

Syntax

[System.MonoTODO]
public static MemoryMappedFile OpenExisting (string mapName, MemoryMappedFileRights desiredAccessRights, System.IO.HandleInheritability inheritability)

Parameters

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.

Returns

A memory-mapped file that has the specified characteristics.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.IO.MemoryMappedFiles
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 4.0.0.0