UtilSharedMemoryCreate Method

Creates a MemoryMappedFile segment that is shared between applications.

Definition

Namespace: DevCase.Core.Diagnostics.Processes
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static MemoryMappedFile Create(
	string name,
	int capacity,
	MemoryMappedFileAccess fileAccess = MemoryMappedFileAccess.ReadWrite
)

Parameters

name  String
The name to assign the MemoryMappedFile segment.
capacity  Int32
The maximum size, in bytes, to allocate data on the MemoryMappedFile segment. The specified value is automatically rounded to a multiple of 4096 bytes (4 KB), for example a value of 1 will be rounded to 4096, a value of 4097 will be rounded to 8192, and a value of 9999 to 12288.
fileAccess  MemoryMappedFileAccess  (Optional)
The MemoryMappedFileAccess.

Return Value

MemoryMappedFile

[Missing <returns> documentation for "M:DevCase.Core.Diagnostics.Processes.UtilSharedMemory.Create(System.String,System.Int32,System.IO.MemoryMappedFiles.MemoryMappedFileAccess)"]

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also