Click or drag to resize

CefLibraryHandle Class

Version 130.1.90
CefLibraryHandle is a SafeHandle that Loads libcef.dll and relesases it when disposed/finalized Calls LoadLibraryEx with LoadLibraryFlags.LOAD_WITH_ALTERED_SEARCH_PATH Make sure to set settings.BrowserSubprocessPath and settings.LocalesDirPath
Inheritance Hierarchy

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
public class CefLibraryHandle : SafeHandle

The CefLibraryHandle type exposes the following members.

Constructors
 NameDescription
Public methodCefLibraryHandle Initializes a new instance of the CefLibraryHandle class.
Top
Properties
 NameDescription
Public propertyIsClosedGets a value indicating whether the handle is closed.
(Inherited from SafeHandle)
Public propertyIsInvalid When overridden in a derived class, gets a value indicating whether the handle value is invalid.
(Overrides SafeHandleIsInvalid)
Top
Methods
 NameDescription
Public methodCloseMarks the handle for releasing and freeing resources.
(Inherited from SafeHandle)
Public methodDangerousAddRefManually increments the reference counter on SafeHandle instances.
(Inherited from SafeHandle)
Public methodDangerousGetHandleReturns the value of the handle field.
(Inherited from SafeHandle)
Public methodDangerousReleaseManually decrements the reference counter on a SafeHandle instance.
(Inherited from SafeHandle)
Public methodDisposeReleases all resources used by the SafeHandle class.
(Inherited from SafeHandle)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the SafeHandle class specifying whether to perform a normal dispose operation.
(Inherited from SafeHandle)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeFrees all resources associated with the handle.
(Inherited from SafeHandle)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodReleaseHandle When overridden in a derived class, executes the code required to free the handle.
(Overrides SafeHandleReleaseHandle)
Protected methodSetHandleSets the handle to the specified pre-existing handle.
(Inherited from SafeHandle)
Public methodSetHandleAsInvalidMarks a handle as no longer used.
(Inherited from SafeHandle)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected fieldhandleSpecifies the handle to be wrapped.
(Inherited from SafeHandle)
Top
Remarks
Adapted from http://www.pinvoke.net/default.aspx/kernel32.loadlibraryex
See Also