MemoryMappedFile.CreateOrOpen Method

.NET Framework (current version)
 

Creates or opens a memory-mapped file in system memory.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateOrOpen(String, Int64)

Creates or opens a memory-mapped file that has the specified capacity in system memory.

System_CAPS_pubmethodSystem_CAPS_staticCreateOrOpen(String, Int64, MemoryMappedFileAccess)

Creates or opens a memory-mapped file that has the specified capacity and access type in system memory.

System_CAPS_pubmethodSystem_CAPS_staticCreateOrOpen(String, Int64, MemoryMappedFileAccess, MemoryMappedFileOptions, HandleInheritability)

Creates a new empty memory mapped file or opens an existing memory mapped file if one exists with the same name. If opening an existing file, the capacity, options, and memory arguments will be ignored.

System_CAPS_pubmethodSystem_CAPS_staticCreateOrOpen(String, Int64, MemoryMappedFileAccess, MemoryMappedFileOptions, MemoryMappedFileSecurity, HandleInheritability)

Creates or opens a memory-mapped file that has the specified capacity, access type, memory allocation, security permissions, and inheritability in system memory.

Return to top
Show: