Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property SafeMemoryMappedFileHandle^ SafeMemoryMappedFileHandle {
	[SecurityCriticalAttribute]
	[SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::UnmanagedCode)]
	SafeMemoryMappedFileHandle^ 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:
© 2017 Microsoft