Click or drag to resize
Cef Class
Version 51.0.0

[Missing <summary> documentation for "T:CefSharp.Cef"]

Inheritance Hierarchy
SystemObject
  CefSharpCef

Namespace: CefSharp
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 51.0.0.0
Syntax
public sealed class Cef

The Cef type exposes the following members.

Constructors
  NameDescription
Public methodCef
Initializes a new instance of the Cef class
Top
Properties
  NameDescription
Public propertyStatic memberCefCommitHash
Gets a value that indicates the Git Hash for CEF version currently being used.
Public propertyStatic memberCefSharpVersion
Gets a value that indicates the version of CefSharp currently being used.
Public propertyStatic memberCefVersion
Gets a value that indicates the CEF version currently being used.
Public propertyStatic memberChromiumVersion
Gets a value that indicates the Chromium version currently being used.
Public propertyStatic memberFileThreadTaskFactory
Public propertyStatic memberIOThreadTaskFactory
Public propertyStatic memberIsInitialized
Gets a value that indicates whether CefSharp is initialized.
Public propertyStatic memberOnContextInitialized
Called on the CEF UI thread immediately after the CEF context has been initialized. You can now access the Global RequestContext through Cef.GetGlobalRequestContext() - this is the first place you can set Preferences (e.g. proxy settings, spell check dictionaries).
Public propertyStatic memberUIThreadTaskFactory
Top
Methods
  NameDescription
Public methodStatic memberAddCrossOriginWhitelistEntry
Add an entry to the cross-origin whitelist.
Public methodStatic memberAddDisposable
Public methodStatic memberClearCrossOriginWhitelist
Remove all entries from the cross-origin access whitelist.
Public methodStatic memberClearSchemeHandlerFactories
Clear all registered scheme handler factories.
Public methodStatic memberCurrentlyOnThread
Returns true if called on the specified CEF thread.
Public methodStatic memberDoMessageLoopWork
Perform a single iteration of CEF message loop processing. This function is used to integrate the CEF message loop into an existing application message loop. Care must be taken to balance performance against excessive CPU usage. This function should only be called on the main application thread and only if CefInitialize() is called with a CefSettings.multi_threaded_message_loop value of false. This function will not block.
Public methodStatic memberEnableHighDPISupport
Call during process startup to enable High-DPI support on Windows 7 or newer. Older versions of Windows should be left DPI-unaware because they do not support DirectWrite and GDI fonts are kerned very badly.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberExecuteProcess
This function should be called from the application entry point function to execute a secondary process. It can be used to run secondary processes from the browser client executable (default behavior) or from a separate executable specified by the CefSettings.browser_subprocess_path value. If called for the browser process (identified by no "type" command-line value) it will return immediately with a value of -1. If called for a recognized secondary process it will block until the process should exit and then return the process exit code. The |application| parameter may be empty. The |windows_sandbox_info| parameter is only used on Windows and may be NULL (see cef_sandbox_win.h for details).
Public methodStatic memberGetGeolocationAsync
Request a one-time geolocation update. This function bypasses any user permission checks so should only be used by code that is allowed to access location information.
Public methodStatic memberGetGlobalCookieManager
Returns the global cookie manager.
Public methodStatic memberGetGlobalRequestContext
Gets the Global Request Context. Make sure to Dispose of this object when finished.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetPlugins
Async returns a list containing Plugin Information (Wrapper around CefVisitWebPluginInfo)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberInitialize
Initializes CefSharp with the default settings. This function should be called on the main application thread to initialize the CEF browser process.
Public methodStatic memberInitialize(CefSettings)
Initializes CefSharp with user-provided settings. This function should be called on the main application thread to initialize the CEF browser process.
Public methodStatic memberInitialize(CefSettings, Boolean, Boolean)
Initializes CefSharp with user-provided settings. This function should be called on the main application thread to initialize the CEF browser process.
Public methodStatic memberRefreshWebPlugins
Cause the plugin list to refresh the next time it is accessed regardless of whether it has already been loaded.
Public methodStatic memberRemoveCrossOriginWhitelistEntry
Remove entry from cross-origin whitelist
Public methodStatic memberRemoveDisposable
Public methodStatic memberShutdown
Shuts down CefSharp and the underlying CEF infrastructure. This method is safe to call multiple times; it will only shut down CEF on the first call (all subsequent calls will be ignored). This function should be called on the main application thread to shut down the CEF browser process before the application exits.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberUnregisterInternalWebPlugin
Unregister an internal plugin. This may be undone the next time RefreshWebPlugins() is called.
Top
See Also