Table of Contents

Interface IWebBrowserFactoryHandler

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains methods and properties which allow to create and manage web browser control.

public interface IWebBrowserFactoryHandler : IDisposable

Methods

CreateMemoryFileSystem(WebBrowser)

Creates IWebBrowserMemoryFS interface provider.

CreateWebBrowserHandler(WebBrowser)

Creates IWebBrowserHandler interface provider.

DoCommand(string, params object?[])

Executes the browser command with the specified name and parameters. This is the static version of DoCommand(string, params object?[]).

GetBackendOS()

Returns type of the OS for which the WebBrowser was compiled.

GetBackendVersionString(WebBrowserBackend)

Retrieve the version information about the browser backend implementation.

GetLibraryVersionString()

Retrieve the version information about the underlying library implementation.

IsBackendAvailable(WebBrowserBackend)

Allows to check if a specific WebBrowser backend is currently available.

SetBackend(WebBrowserBackend)

Sets the backend that will be used for the new WebBrowser instances.

SetDefaultFSNameArchive(string)

Sets the default protocol name for the archive file system that will be used for the new WebBrowser instances.

SetDefaultFSNameMemory(string)

Sets the default protocol name for the memory file system that will be used for the new WebBrowser instances.

SetDefaultPage(string)

Sets the default web page that will be used for the new WebBrowser instances.

SetDefaultScriptMesageName(string)

Sets the default script message name that will be registered in all new WebBrowser instances.

SetDefaultUserAgent(string)

Sets the default user agent that will be used for the new WebBrowser instances.

SetEdgePath(string)

Sets path to a fixed version of the WebView2 Edge runtime.

ThrowError(int)

Throws C++ exception with the specified id.