The Asprosys.Unmanaged.IO namespace contains types that allow the allocation of, reading from and writing to unmanaged memory.

Classes

  ClassDescription
BufferOverflowException
The exception that is thrown when an attempt is made to open a shared memory object with a size greater than the memory the object contains.
DuplicateObjectException
The exception that is thrown when an attempt is made to create a named object that already exists.
NameCollisionException
The exception that is thrown when an object name is already in use within its namespace.
SafeCoTaskMemoryHandle
The representation of a block of memory allocated via the COM memory allocator.
SafeFileMappingHandle
A handle to a file mapping kernel object.
SafeFileViewMemoryHandle
The representation of a block of memory allocated as a view into a file mapping object.
SafeHGlobalMemoryHandle
The representation of a block of memory allocated via global heap memory allocator.
SafeMemoryHandle
Represents a block of unmanaged memory allocated through one of the various memory management functions.
SafeVirtualMemoryHandle
The representation of a block of memory allocated via the virtual memory manager.
UnmanagedIOException
The exception that is thrown when shared memory access or allocation fails due to system conditions.

Enumerations

  EnumerationDescription
PageAccess
Specifies the types of access requested for a FileMappingObject.
VirtualMemoryProtectionLevel

Specifies the types of access allowed on a page of Virtual Memory.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.