Click or drag to resize

EngineOptionsBuilder Class

A builder class to construct engine options.
Inheritance Hierarchy
SystemObject
  DotNetBrowser.EngineEngineOptionsBuilder

Namespace:  DotNetBrowser.Engine
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.0
Syntax
C#
public class Builder

The EngineOptionsBuilder type exposes the following members.

Constructors
  NameDescription
Public methodEngineOptionsBuilder
Initializes a new instance of the EngineOptionsBuilder class
Top
Properties
  NameDescription
Public propertyAutoplayEnabled
Enables or disables automatic video playback after page loading.
Public propertyBinariesExtractionOptions
Gets or sets the options that are used to configure the Chromium binaries extraction process.
Public propertyChromiumDirectory
Gets or sets the absolute path to the directory where Chromium binaries are located or the empty string if it was not set.
Public propertyChromiumSwitches
Gets a set of the Chromium switches that will be passed to the Chromium Main process.
Public propertyCrashDumpDirectory
Gets or sets the path that will be used to store automatically generated Chromium crash dumps.
Public propertyDiskCacheSize
Gets or sets the disk cache size.
Public propertyFileAccessFromFilesAllowed
Allows or disallows the file access from files.
Public propertyGoogleApiKey
Gets or sets the Google API key.
Public propertyGoogleDefaultClientId
Gets or sets the Google client ID.
Public propertyGoogleDefaultClientSecret
Gets or sets the Google client secret.
Public propertyGoogleTrafficDisabled
Disables Chromium services that cause additional traffic, such as Google Cloud Messaging, Translate Ranker, Extensions Updater, Safe Browsing, etc. These services are related to the features that are not currently supported in DotNetBrowser.This option does not affect the supported features, such as SpellChecker or Widevine.
Public propertyGpuDisabled
Disables or enables GPU.
Public propertyIncognitoEnabled
Enables or disables the incognito mode for the IEngine instance.
Public propertyLanguage
Gets or sets the Chromium language that is used on the default error pages and message dialogs.
Public propertyLicenseKey
Gets or sets the license key.
Public propertyMediaRoutingEnabled
Enables or disables the media routing.

By default, it is disabled.

Public propertyPasswordStore
Gets or sets the password store type which specifies the storage backend should be used to encrypt cookies on Linux.
Public propertyProprietaryFeatures
Gets or sets the proprietary features enabled for the IEngine instance. By default, all the proprietary features are disabled.
Public propertyRemoteDebuggingPort
Gets or sets the remote debugging port.
Public propertyRenderingMode
Gets or sets the rendering mode indicating how the content of the web pages will be rendered.
Public propertySandboxDisabled
Enables or disables the sandbox.
Public propertySchemes
Gets the dictionary of the schemes that will be intercepted.
Public propertyTouchMenuDisabled
Enables or disables the touch popup menu.
Public propertyUserAgent
Gets or sets the custom user agent string that is used to override the default user agent for the IEngine.
Public propertyUserDataDirectory
Gets or sets an absolute path to the directory where the user data is stored.
Public propertyWebSecurityDisabled
Enables or disables the same-origin policy.
Top
Methods
  NameDescription
Public methodBuild
Creates a EngineOptions instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Each of the properties modifies the state of the builder. Builders are not thread-safe and should not be used concurrently from multiple threads without external synchronization.
See Also