SafeMemoryMappedFileHandle Property
Collapse the table of content
Expand the table of content

MemoryMappedFile.SafeMemoryMappedFileHandle Property

.NET Framework 4.6 and 4.5

Gets the file handle of a memory-mapped file.

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

public SafeMemoryMappedFileHandle SafeMemoryMappedFileHandle {
	[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]

Property Value

Type: Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle

The handle to the memory-mapped file.


for access to unmanaged code. Associated enumeration: SecurityPermissionFlag.UnmanagedCode.

.NET Framework
Available since 4.0
Return to top
© 2015 Microsoft