From 802b1acf689b4dc63c20eef783343d2197c42b99 Mon Sep 17 00:00:00 2001 From: Gabe Stocco Date: Fri, 31 May 2019 09:12:07 -0700 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 674c815..53c9d83 100644 --- a/README.md +++ b/README.md @@ -254,3 +254,16 @@ If you still use this version you will need to invoke it like this: ``` dotnet electronize ... ``` + +## Node Integration +Electron.NET requires Node Integration to be enabled for IPC to function. If you are not using the IPC functionality you can disable Node Integration like so: + +```csharp +WebPreferences wp = new WebPreferences(); +wp.NodeIntegration = false; +BrowserWindowOptions browserWindowOptions = new BrowserWindowOptions +{ + WebPreferences = wp +} + +```