CoreWebView2SharedBuffer Class

Definition

A shared memory based buffer object that is created by CreateSharedBuffer(UInt64). The object is presented to script as ArrayBuffer when posted to script with PostSharedBufferToScript(CoreWebView2SharedBuffer, CoreWebView2SharedBufferAccess, String).

public class CoreWebView2SharedBuffer : IDisposable
type CoreWebView2SharedBuffer = class
    interface IDisposable
Public Class CoreWebView2SharedBuffer
Implements IDisposable
Inheritance
CoreWebView2SharedBuffer
Implements

Properties

Buffer

The raw memory address of the buffer.

FileMappingHandle

The file mapping handle of the shared memory of the buffer.

Size

The size of the shared buffer in bytes.

Methods

Close()

Release the backing shared memory.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(Boolean)

Protected implementation of Dispose pattern.

OpenStream()

Get an stream object that can be used to access the shared buffer.

Applies to