MemoryMappedViewStream.SafeMemoryMappedViewHandle 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 a handle to the view of a memory-mapped file.

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

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

Property Value

Type: Microsoft.Win32.SafeHandles.SafeMemoryMappedViewHandle

A wrapper for the operating system's handle to the view of the file.

SecurityPermission

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

.NET Framework
Available since 4.0
Return to top
Show: