mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-09-22 06:54:44 +00:00
Update README.md
This commit is contained in:
13
README.md
13
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
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user