MemoryMappedFile::SafeMemoryMappedFileHandle Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: