MemoryMappedFile.SafeMemoryMappedFileHandle Property

.NET Framework (current version)
 

Gets the file handle of a memory-mapped file.

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

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

Property Value

Type: Microsoft.Win32.SafeHandles.SafeMemoryMappedFileHandle

The handle to the memory-mapped file.

SecurityPermission

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

.NET Framework
Available since 4.0
Return to top
Show: