# Shared Buffer Sample Page

This page demonstrates basic interaction between the host app and the webview by means of Shared Buffer.

Shared Buffer are received by with 'sharedbufferreceived' event from `chrome.webview`.

The host app calls `ICoreWebView2Environment.CreateSharedBuffer` to create a shared buffer and calls `.PostSharedBufferToScript` to share the buffer to script.

## Shared Buffer Data

## IFrame