

This is a overload method that creates a WebView2 composition controller using parent window and custom controller options. Gets the user data folder that all CoreWebView2s created from this environment are using.Ĭompares two instances of browser versions correctly and returns an integer that indicates whether the first instance is older, the same as, or newer than the second instance.Ĭreates a WebView2 Environment using the installed or a custom WebView2 Runtime version.Ĭreate a custom CoreWebView2ContextMenuItem object to insert into the WebView context menu.ĬreateCoreWebView2CompositionControllerAsyncĪsynchronously creates a new WebView for use with visual hosting. Gets the browser version info of the current CoreWebView2Environment, including channel name if it is not the stable channel. Using it in different environments are not guaranteed to be compatible and may fail. WebViews created from an environment run on the Browser process specified with environment parameters and objects created from an environment should be used in the same environment. This represents the WebView2 Environment.
