Demonstrates prompting the user for a file, passing the file contents to PepperPlugin Instance as a VarArrayBuffer, then drawing a histogram representing the contents of the file to a 2D square.
- Node.js (which comes with npm) installed on your computer.
- PepperPlugin and its pre-requisites.
- The samples use a prebuilt version of electron-dotnet Building on OSX
# Go into the repository
cd WebSharp\Examples\api\VarArrayBuffer# Compile the example project from Visual Studio 2015 Native Tools Command Prompt
msbuild VarArrayBuffer.csproj# Compile the example project from Mac terminal
xbuild VarArrayBuffer.csproj# Install dependencies and run the app
npm install && npm startLearn more about Electron Dotnet and its API in the Getting Started documentation.