Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateNew Method

MemoryMappedFile.CreateNew Method

.NET Framework 4.6 and 4.5

Creates a memory-mapped file in system memory.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member CreateNew(String, Int64) Creates a memory-mapped file that has the specified capacity in system memory.
Public method Static member CreateNew(String, Int64, MemoryMappedFileAccess) Creates a memory-mapped file that has the specified capacity and access type in system memory.
Public method Static member CreateNew(String, Int64, MemoryMappedFileAccess, MemoryMappedFileOptions, HandleInheritability) Creates a memory-mapped file that has the specified name, capacity, access type, memory allocation options and inheritability.
Public method Static member CreateNew(String, Int64, MemoryMappedFileAccess, MemoryMappedFileOptions, MemoryMappedFileSecurity, HandleInheritability) Creates a memory-mapped file that has the specified capacity, access type, memory allocation, security permissions, and inheritability in system memory.
Top
Show:
© 2015 Microsoft