Table of Contents

Class EngineOptions

Namespace
DotNetBrowser.Engine
Assembly
DotNetBrowser.dll

The options that are used to configure IEngine instances.

public class EngineOptions
Inheritance
EngineOptions
Inherited Members

Properties

BinariesExtractionOptions

Gets the options that are used to configure the Chromium binaries extraction process.

ChromiumDirectory

Gets the absolute path to the directory where the Chromium binaries are located.

ChromiumSwitches

Gets an immutable collection of the Chromium switches that will be passed to the Chromium Main process.

CrashDumpDirectory

Gets the path that will be used to store the automatically generated Chromium crash dumps.

DiskCacheSize

Gets the disk cache size.

GoogleApiKey

Gets the Google API key.

GoogleDefaultClientId

Gets the Google client ID.

GoogleDefaultClientSecret

Gets the Google client secret.

IsAutoplayEnabled

Indicates whether video playback will automatically start after page loading.

IsDnsOverHttpsDisabled

Indicates whether the DNS over HTTPS (DoH) protocol is disabled.

IsFileAccessFromFilesAllowed

Indicates whether file access from files is allowed.

IsGpuDisabled

Indicates whether GPU is disabled.

IsIncognitoEnabled

Indicates whether the incognito mode for the IEngine instance is enabled.

IsMediaRoutingEnabled

Indicates whether media routing is enabled for the IEngine instance.

By default, it is disabled.

IsNativeKeyboardInputEnabled

Indicates whether the keyboard events processing using native system API is enabled.

When not applied, the .NET keyboard listeners is used to collect key events, pre-handle them and dispatch to Chromium.

When applied, the OS-specific API is used to collect key events from .NET with subsequent dispatch to Chromium.

IsSandboxDisabled

Indicates whether the sandbox is disabled.

IsTouchMenuDisabled

Indicates whether touch popup menu is disabled.

IsWebSecurityDisabled

Indicates whether the same-origin policy is disabled.

Language

Gets the Chromium language that is used on the default error pages and message dialogs.

LicenseKey

Gets the license key.

PasswordStore

Gets the password store type which specifies the storage backend should be used to encrypt cookies on Linux.

ProprietaryFeatures

Gets the proprietary features enabled for the IEngine instance.

RemoteDebuggingPort

Gets the remote debugging port.

RenderingMode

Gets the rendering mode indicating how the content of the web pages will be rendered.

Schemes

Gets the readonly dictionary of the schemes that will be intercepted.

UserAgent

Gets the custom user agent string that is used to override the default user agent for the IEngine.

UserDataDirectory

Gets an absolute path to the directory where the user data is stored.

Methods

IsProprietaryFeatureEnabled(ProprietaryFeatures)

Checks whether the given proprietary features are enabled.