Table of Contents

Class Module

Namespace
WebKit
Assembly
WebKit-6.0.dll
public static class Module
Inheritance
Module
Inherited Members

Methods

Initialize()

Initialize the WebKit2 module.

public static void Initialize()

Remarks

Calling this method is necessary to correctly initialize the bindings and should be done before using anything else in the WebKit2 namespace.

Calling this method will also initialize the modules this module depends on:

Module
Module
Module

SetCustomDllImportResolver(DllImportResolver)

Set a custom DllImportResolver. This disables the automatic loading of native binaries for WebKit. If the given DllImportResolver receives the library name "WebKit" it has to return a pointer to the desired native WebKit binary.

[Experimental("GirCore1009", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1009.html")]
public static void SetCustomDllImportResolver(DllImportResolver customDllImportResolver)

Parameters

customDllImportResolver DllImportResolver

Custom DllImportResolver to use.

Remarks

Please be aware that using this API means you are out of the officially supported area as you are able to combine GirCore with some binary the package was not build for. Please consider to generate a custom GirCore package which exactly matches your binary.