Click or drag to resize

CefLibraryHandle Class

Version 96.0.142
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: 96.0.142.0 (96.0.142.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 propertyIsClosed
Gets 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 methodClose
Marks the handle for releasing and freeing resources.
(Inherited from SafeHandle.)
Public methodDangerousAddRef
Manually increments the reference counter on SafeHandle instances.
(Inherited from SafeHandle.)
Public methodDangerousGetHandle
Returns the value of the handle field.
(Inherited from SafeHandle.)
Public methodDangerousRelease
Manually decrements the reference counter on a SafeHandle instance.
(Inherited from SafeHandle.)
Public methodDispose
Releases 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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Frees all resources associated with the handle.
(Inherited from SafeHandle.)
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.)
Protected methodReleaseHandle
When overridden in a derived class, executes the code required to free the handle.
(Overrides SafeHandleReleaseHandle.)
Protected methodSetHandle
Sets the handle to the specified pre-existing handle.
(Inherited from SafeHandle.)
Public methodSetHandleAsInvalid
Marks a handle as no longer used.
(Inherited from SafeHandle.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldhandle
Specifies the handle to be wrapped.
(Inherited from SafeHandle.)
Top
Remarks
Adapted from http://www.pinvoke.net/default.aspx/kernel32.loadlibraryex
See Also