diff --git a/.vs/API-NG-sample-code/v17/.wsuo b/.vs/API-NG-sample-code/v17/.wsuo new file mode 100644 index 0000000..e7e91d6 Binary files /dev/null and b/.vs/API-NG-sample-code/v17/.wsuo differ diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..6f96f76 --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,7 @@ +{ + "ExpandedNodes": [ + "" + ], + "SelectedNode": "\\Api-ng-sample-code.sln", + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/cSharp/Api-ng-sample-code/.vs/Api-ng-sample-code/FileContentIndex/207e9563-80b2-4092-84bf-9ee4d0cfd5b1.vsidx b/cSharp/Api-ng-sample-code/.vs/Api-ng-sample-code/FileContentIndex/207e9563-80b2-4092-84bf-9ee4d0cfd5b1.vsidx new file mode 100644 index 0000000..d0516d8 Binary files /dev/null and b/cSharp/Api-ng-sample-code/.vs/Api-ng-sample-code/FileContentIndex/207e9563-80b2-4092-84bf-9ee4d0cfd5b1.vsidx differ diff --git a/cSharp/Api-ng-sample-code/.vs/Api-ng-sample-code/FileContentIndex/read.lock b/cSharp/Api-ng-sample-code/.vs/Api-ng-sample-code/FileContentIndex/read.lock new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/FileContentIndex/16fa7a7a-520e-448e-b212-d5d5d918b44a.vsidx b/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/FileContentIndex/16fa7a7a-520e-448e-b212-d5d5d918b44a.vsidx new file mode 100644 index 0000000..15196af Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/FileContentIndex/16fa7a7a-520e-448e-b212-d5d5d918b44a.vsidx differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/FileContentIndex/2d018ff7-713a-4715-8b65-cf0d20de6113.vsidx b/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/FileContentIndex/2d018ff7-713a-4715-8b65-cf0d20de6113.vsidx new file mode 100644 index 0000000..9074015 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/FileContentIndex/2d018ff7-713a-4715-8b65-cf0d20de6113.vsidx differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/FileContentIndex/7395db60-444a-465b-88a6-61bf0f1bfec4.vsidx b/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/FileContentIndex/7395db60-444a-465b-88a6-61bf0f1bfec4.vsidx new file mode 100644 index 0000000..9133876 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/FileContentIndex/7395db60-444a-465b-88a6-61bf0f1bfec4.vsidx differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/FileContentIndex/fd60f17e-e211-4e15-926f-86fe28d68f52.vsidx b/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/FileContentIndex/fd60f17e-e211-4e15-926f-86fe28d68f52.vsidx new file mode 100644 index 0000000..b54e7e7 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/FileContentIndex/fd60f17e-e211-4e15-926f-86fe28d68f52.vsidx differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/FileContentIndex/read.lock b/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/FileContentIndex/read.lock new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/v17/.suo b/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/v17/.suo new file mode 100644 index 0000000..154a909 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/.vs/SampleAPI/v17/.suo differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Form1.Designer.cs b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Form1.Designer.cs index 1a1a58e..a8699df 100644 --- a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Form1.Designer.cs +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Form1.Designer.cs @@ -28,26 +28,16 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.webBrowser1 = new System.Windows.Forms.WebBrowser(); this.btnLogout = new System.Windows.Forms.Button(); this.txtMessage = new System.Windows.Forms.TextBox(); this.grpAppKey = new System.Windows.Forms.GroupBox(); this.txtAppKey = new System.Windows.Forms.TextBox(); this.btnLogon = new System.Windows.Forms.Button(); + this.webview2 = new Microsoft.Web.WebView2.WinForms.WebView2(); this.grpAppKey.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.webview2)).BeginInit(); this.SuspendLayout(); // - // webBrowser1 - // - this.webBrowser1.Location = new System.Drawing.Point(27, 19); - this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); - this.webBrowser1.Name = "webBrowser1"; - this.webBrowser1.ScriptErrorsSuppressed = true; - this.webBrowser1.Size = new System.Drawing.Size(986, 510); - this.webBrowser1.TabIndex = 0; - this.webBrowser1.Url = new System.Uri("", System.UriKind.Relative); - this.webBrowser1.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.webBrowser1_DocumentCompleted); - // // btnLogout // this.btnLogout.Enabled = false; @@ -97,35 +87,46 @@ private void InitializeComponent() this.btnLogon.UseVisualStyleBackColor = true; this.btnLogon.Click += new System.EventHandler(this.btnLogon_Click); // + // webview2 + // + this.webview2.AllowExternalDrop = true; + this.webview2.CreationProperties = null; + this.webview2.DefaultBackgroundColor = System.Drawing.Color.White; + this.webview2.Location = new System.Drawing.Point(27, 21); + this.webview2.Name = "webview2"; + this.webview2.Size = new System.Drawing.Size(986, 524); + this.webview2.TabIndex = 6; + this.webview2.ZoomFactor = 1D; + this.webview2.NavigationCompleted += new System.EventHandler(this.webview2_NavigationCompleted); + // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.ActiveBorder; this.ClientSize = new System.Drawing.Size(1040, 639); + this.Controls.Add(this.webview2); this.Controls.Add(this.btnLogon); this.Controls.Add(this.grpAppKey); this.Controls.Add(this.btnLogout); - this.Controls.Add(this.webBrowser1); this.Controls.Add(this.txtMessage); this.Name = "Form1"; this.Text = "Form1"; this.grpAppKey.ResumeLayout(false); this.grpAppKey.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.webview2)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); } #endregion - - private System.Windows.Forms.WebBrowser webBrowser1; private System.Windows.Forms.Button btnLogout; private System.Windows.Forms.TextBox txtMessage; private System.Windows.Forms.GroupBox grpAppKey; private System.Windows.Forms.TextBox txtAppKey; private System.Windows.Forms.Button btnLogon; - + private Microsoft.Web.WebView2.WinForms.WebView2 webview2; } } diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Form1.cs b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Form1.cs index 247b9aa..6aca2d5 100644 --- a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Form1.cs +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Form1.cs @@ -7,7 +7,7 @@ using System.Text; using System.Windows.Forms; using System.Net; - +using Microsoft.Web.WebView2.Core; namespace SampleAPI { @@ -36,38 +36,39 @@ public Form1() tt.InitialDelay = 0; tt.ShowAlways = true; tt.SetToolTip(this.grpAppKey, "Please enter your developer Appkey"); - } - private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) + private async void webview2_NavigationCompleted(object sender, Microsoft.Web.WebView2.Core.CoreWebView2NavigationCompletedEventArgs e) { + string c = ""; + if (webview2.Source.IdnHost == "www.betfair.com") + { + List cookies = await this.webview2.CoreWebView2.CookieManager.GetCookiesAsync(KeepAliveURL); - //On embeded web browser response get cookie - string cookie = this.webBrowser1.Document.Cookie; + foreach (var cookie in cookies) + { + c += cookie.Name + "=" + cookie.Value + ";"; + } + } - - if (cookie != null) - this.ParseCookie(cookie); + if (c != "") + this.ParseCookie(c); //If successfull login start KeepAlive if (!m_LoggedOut && !m_KeepAliveTimer.Enabled) { - webBrowser1.Visible = false; - SetMessage("Logon successfull\r\n SSOID=" + m_SSOID); - + SetMessage("Logged In"); - this.StartKeepAlive(); } } private void ParseCookie(string p_Cookie) { - //If logon on OK get SSOID if (m_LoggedOut && p_Cookie.IndexOf("loggedIn=true;") >= 0) { - + int SSOIDIndex = p_Cookie.IndexOf("ssoid="); if (SSOIDIndex >= 0) @@ -80,9 +81,7 @@ private void ParseCookie(string p_Cookie) m_SSOID = "SSOID Not present"; } } - - private void btnLogout_Click(object sender, EventArgs e) { m_KeepAliveTimer.Enabled = false; @@ -90,77 +89,72 @@ private void btnLogout_Click(object sender, EventArgs e) m_LoggedOut = true; System.Uri u = new Uri(LogoutURL); - this.webBrowser1.Url = u; - this.webBrowser1.Navigate(u); + webview2.Source = u; + webview2.NavigateToString(LogoutURL); SetMessage("Logged out"); - - - } private void StartKeepAlive() - { + { m_KeepAliveTimer.Elapsed += new System.Timers.ElapsedEventHandler(OnKeepAliveTimer); // Set the Interval to 15 mins. m_KeepAliveTimer.Interval = 1000 * 60 * 15; m_KeepAliveTimer.Enabled = true; - - } - private void OnKeepAliveTimer(object source, System.Timers.ElapsedEventArgs e) + private void OnKeepAliveTimer(object source, System.Timers.ElapsedEventArgs e) { - System.Uri u = new Uri(KeepAliveURL); - this.webBrowser1.Url = u; - this.webBrowser1.Navigate(u); + this.Invoke((MethodInvoker)delegate { + webview2.Source = u; + webview2.NavigateToString(KeepAliveURL); + }); m_KeepAliveCount++; SetMessage("Keep Alive sent " + m_KeepAliveCount); + } + + //Thread safe TextBox Set text + delegate void SetTextCallback(string p_Text); + private void SetMessage(string p_Text) + { + // InvokeRequired required compares the thread ID of the + // calling thread to the thread ID of the creating thread. + // If these threads are different, it returns true. + if (this.txtMessage.InvokeRequired) + { + SetTextCallback d = new SetTextCallback(SetMessage); + this.Invoke(d, new object[] { p_Text }); + } + else + { + this.txtMessage.Text = p_Text; + } + } + + private void btnLogon_Click(object sender, EventArgs e) + { + //Put Appkey in Logon anf Logout URLs + LogonURL = LogonURL.Replace("[APPKEY]", this.txtAppKey.Text); + LogoutURL = LogoutURL.Replace("[APPKEY]", this.txtAppKey.Text); + //Give embeded web browser Betfair api login page URL + System.Uri u = new Uri(LogonURL); + + this.webview2.Source = u; + + this.btnLogout.Enabled = true; + } + + private void txtAppKey_KeyUp(object sender, KeyEventArgs e) + { + this.btnLogon.Enabled = true; } + private void webview2_Click(object sender, EventArgs e) + { - //Thread safe TextBox Set text - delegate void SetTextCallback(string p_Text); - private void SetMessage(string p_Text) - { - // InvokeRequired required compares the thread ID of the - // calling thread to the thread ID of the creating thread. - // If these threads are different, it returns true. - if (this.txtMessage.InvokeRequired) - { - SetTextCallback d = new SetTextCallback(SetMessage); - this.Invoke(d, new object[] { p_Text }); - } - else - { - this.txtMessage.Text = p_Text; - } - } - - - private void btnLogon_Click(object sender, EventArgs e) - { - //Put Appkey in Logon anf Logout URLs - LogonURL = LogonURL.Replace("[APPKEY]", this.txtAppKey.Text); - LogoutURL = LogoutURL.Replace("[APPKEY]", this.txtAppKey.Text); - - //Give embeded web browser Betfair api login page URL - System.Uri u = new Uri(LogonURL); - - this.webBrowser1.Url = u; - - this.btnLogout.Enabled = true; - - } - - private void txtAppKey_KeyUp(object sender, KeyEventArgs e) - { - this.btnLogon.Enabled = true; - } - - + } } } diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Properties/Resources.Designer.cs b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Properties/Resources.Designer.cs index 3fae956..d5fad49 100644 --- a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Properties/Resources.Designer.cs +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Properties/Resources.Designer.cs @@ -1,17 +1,17 @@ -//------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.296 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ -namespace SampleAPI.Properties -{ - - +namespace SampleAPI.Properties { + using System; + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -19,51 +19,43 @@ namespace SampleAPI.Properties // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - + internal class Resources { + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { + internal Resources() { } - + /// /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("SampleAPI.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Properties/Settings.Designer.cs b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Properties/Settings.Designer.cs index f7c8edb..369ccd2 100644 --- a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Properties/Settings.Designer.cs +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/Properties/Settings.Designer.cs @@ -1,28 +1,24 @@ -//------------------------------------------------------------------------------ +//------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.296 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ -namespace SampleAPI.Properties -{ - - +namespace SampleAPI.Properties { + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.6.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { + + public static Settings Default { + get { return defaultInstance; } } diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/SampleAPI.csproj b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/SampleAPI.csproj index 68a0e57..f6fe632 100644 --- a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/SampleAPI.csproj +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/SampleAPI.csproj @@ -1,5 +1,5 @@ - - + + Debug x86 @@ -10,13 +10,16 @@ Properties SampleAPI SampleAPI - v4.0 - Client + v4.8 + + 512 SAK SAK SAK SAK + + x86 @@ -27,6 +30,7 @@ DEBUG;TRACE prompt 4 + false x86 @@ -36,8 +40,18 @@ TRACE prompt 4 + false + + ..\packages\Microsoft.Web.WebView2.1.0.1823.32\lib\net45\Microsoft.Web.WebView2.Core.dll + + + ..\packages\Microsoft.Web.WebView2.1.0.1823.32\lib\net45\Microsoft.Web.WebView2.WinForms.dll + + + ..\packages\Microsoft.Web.WebView2.1.0.1823.32\lib\net45\Microsoft.Web.WebView2.Wpf.dll + @@ -69,7 +83,10 @@ True Resources.resx + True + + SettingsSingleFileGenerator Settings.Designer.cs @@ -81,6 +98,13 @@ + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + Clears all cached decisions to proceed with TLS certificate errors from the event for all WebView2's sharing the same session. + + + + + Get the Uri as a string of the current Favicon. This will be an empty string if the page does not have a Favicon. + + + + + Raised when the Favicon has changed. This can include when a new page is loaded and thus by default no icon is set or the icon is set for the page by DOM or JavaScript. + + + The first argument is the Webview2 which saw the changed Favicon and the second is null. + + + + + Get the downloaded Favicon image for the current page and copy it to the image stream. + + The format to retrieve the Favicon in. + + An IStream populated with the downloaded Favicon. + + + + + Print the current web page asynchronously to the specified printer with the provided settings. + + + See for description of settings. Passing null for printSettings results in default print settings used. + + The method will return as if printerName doesn't match with the name of any installed printers on the user OS. + The method will throw ArgumentException if the caller provides invalid settings for a given printer. + + The async Print operation completes when it finishes printing to the printer. Only one Printing operation can be in progress at a time. If Print is called while a or or job is in progress, throws exception. This is only for printing operation on one webview. + + + + Error + PrintStatus + Notes + + + No + + Print operation succeeded. + + + No + + If specified printer is not found or printer status is not available, offline or error state. + + + No + + Print operation is failed. + + + ArgumentException + + If the caller provides invalid settings for the specified printer. + + + Exception + + Print operation is failed as printing job already in progress. + + + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="PrintToPrinter"::: + + + + + Opens the print dialog to print the current web page. + + + See for descriptions of print dialog kinds. + + Invoking browser or system print dialog doesn't open new print dialog if it is already open. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="ShowPrintUI"::: + + + + + Provides the Pdf data of current web page asynchronously for the provided settings. + + + Stream will be rewound to the start of the pdf data. + + See for description of settings. Passing null for printSettings results in default print settings used. + + The async PrintToPdfStream operation completes when it finishes writing to the stream. Only one Printing operation can be in progress at a time. If is called while a or or job is in progress, the throws an exception. This is only for printing operation on one webview. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="PrintToPdfStream"::: + + + + + Share a shared buffer object with script of the main frame in the WebView. + + The object to be shared with script. + The desired given to script. + Additional data to be send to script. If it is not null or empty string, and it is not a valid JSON string, will be thrown. + + The script will receive a sharedbufferreceived event from chrome.webview. + The event arg for that event will have the following methods and properties. + + + + Property + Description + + + getBuffer() + A method that returns an ArrayBuffer object with the backing content from the shared buffer. + + + additionalData + An object as the result of parsing additionalDataAsJson as JSON string. This property will be undefined if additionalDataAsJson is nullptr or empty string. + + + source + With a value set as chrome.webview object. + + + + If access is , the script will only have read access to the buffer. + If the script tries to modify the content in a read only buffer, it will cause an access violation in WebView renderer process and crash the renderer process. + + If the shared buffer is already closed, the API throws with error code of RO_E_CLOSED. + The script code should call chrome.webview.releaseBuffer with the shared buffer as the parameter to release underlying resources as soon as it does not need access to the shared buffer any more. + + The application can post the same shared buffer object to multiple web pages or iframes, or post to the same web page or iframe multiple times. + Each PostSharedBufferToScript will create a separate ArrayBuffer object with its own view of the memory and is separately released. + The underlying shared memory will be released when all the views are released. + + Sharing a buffer to script has security risk. You should only share buffer with trusted site. + If a buffer is shared to a untrusted site, possible sensitive information could be leaked. + If a buffer is shared as modifiable by the script and the script modifies it in an unexpected way, it could result in corrupted data that might even crash the application. + + The example code shows how to send data to script for one time read only consumption. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="OneTimeShareBuffer"::: + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/assets/sharedBuffer.html" id="ShareBufferScriptCode_1"::: + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/assets/sharedBuffer.html" id="ShareBufferScriptCode_2"::: + + + + + + Desired of a WebView. + + + An app may set to indicate desired memory consumption level of WebView. + Scripts will not be impacted and continue to run. + This is useful for inactive apps that still want to run scripts and/or keep network connections alive and therefore could not call and to reduce memory consumption. + These apps can set memory usage target level to when the app becomes inactive, and set back to when the app becomes active. + + It is not necessary to set CoreWebView2Controller's IsVisible property to false when setting the property. + + It is a best effort operation to change memory usage level, and the API will return before the operation completes. + + Setting the level to could potentially cause memory for some WebView browser processes to be swapped out to disk in some circumstances. It is a best effort to reduce memory usage as much as possible. + If a script runs after its related memory has been swapped out, the memory will be swapped back in to ensure the script can still run, but performance might be impacted. + Therefore, the app should set the level back to when the app becomes active again. Setting memory usage target level back to normal will not happen automatically. + + An app should choose to use either the combination of and or the combination of setting MemoryUsageTargetLevel to and . It is not advisable to mix them. + Trying to set while suspended will be ignored. + The and methods will change the . + will automatically set to while on suspended WebView will automatically set to . + Calling when the WebView is not suspended would not change . + + + + + Represents a certificate. Gives access to a certificate's metadata. + + + + + Converts this to a X509Certificate2. + + + An object created using PEM encoded data from + this object. + + + + + + The valid date and time for the certificate since the UNIX epoc. + + + + + The valid date and time for the certificate since the UNIX epoc. + + + + + Subject of the certificate. + + + + + Name of the certificate authority that issued the certificate. + + + + + Base64 encoding of DER encoded serial number of the certificate. Read more about DER at [RFC 7468 DER](https://tools.ietf.org/html/rfc7468#appendix-B). + + + + + Display name for a certificate. + + + + + Returns list of PEM encoded certificate issuer chain. In this list first element is the current certificate followed by intermediate1, intermediate2...intermediateN-1. Root certificate is the last element in the list. + + + + + PEM encoded data for the certificate. Returns Base64 encoding of DER encoded certificate. Read more about PEM at [RFC 1421 Privacy Enhanced Mail](https://tools.ietf.org/html/rfc1421). + + + + + Represents a client certificate. Gives access to a certificate's metadata. + + + + + Converts this to a X509Certificate2. + + + An object created using PEM encoded data from + this object. + + + + + + The valid date and time for the certificate since the UNIX epoc. + + + + + The valid date and time for the certificate since the UNIX epoc. + + + + + Subject of the certificate. + + + + + Name of the certificate authority that issued the certificate. + + + + + Base64 encoding of DER encoded serial number of the certificate. Read more about DER at [RFC 7468 DER](https://tools.ietf.org/html/rfc7468#appendix-B). + + + + + Display name for a certificate. + + + + + Returns list of PEM encoded client certificate issuer chain. In this list first element is the current certificate followed by intermediate1, intermediate2...intermediateN-1. Root certificate is the last element in the list. + + + + + Kind of a certificate. See for descriptions. + + + + + PEM encoded data for the certificate. Returns Base64 encoding of DER encoded certificate. Read more about PEM at [RFC 1421 Privacy Enhanced Mail](https://tools.ietf.org/html/rfc1421). + + + + + This class is the owner of the object, and + provides support for resizing, showing and hiding, focusing, and other + functionality related to windowing and composition. + + + The owns the , and if all references to the go away, the WebView will be closed. + + + The owner of the object that provides support for resizing, showing and hiding, focusing, and other functionality related to windowing and composition. + + + The CoreWebView2Controller owns the , and if all references to the go away, the WebView is closed. + + + The owner of the object that provides support for resizing, showing and hiding, focusing, and other functionality related to windowing and composition. + + + The CoreWebView2Controller owns the , and if all references to the go away, the WebView is closed. + + + The owner of the object that provides support for resizing, showing and hiding, focusing, and other functionality related to windowing and composition. + + + The CoreWebView2Controller owns the , and if all references to the go away, the WebView is closed. + + + The owner of the object that provides support for resizing, showing and hiding, focusing, and other functionality related to windowing and composition. + + + The CoreWebView2Controller owns the , and if all references to the go away, the WebView is closed. + + + The owner of the object that provides support for resizing, showing and hiding, focusing, and other functionality related to windowing and composition. + + + The CoreWebView2Controller owns the , and if all references to the go away, the WebView is closed. + + + + + Gets the associated with this . + + + + + + Moves focus into WebView. + + The reason for moving focus. + + WebView will get focus and focus will be set to correspondent element in the page hosted in the WebView. For reason, focus is set to previously focused element or the default element if no previously focused element exists. For reason, focus is set to the first element. For reason, focus is set to the last element. WebView changes focus through user interaction including selecting into a WebView or Tab into it. For tabbing, the app runs MoveFocus with or to align with Tab and Shift+Tab respectively when it decides the WebView is the next tabbable element. + + + + + Determines whether to show or hide the WebView. + + + If IsVisible is set to false, the WebView is transparent and is not rendered. However, this does not affect the window containing the WebView (the ParentWindow parameter that was passed to or ). + If you want that window to disappear too, run the corresponding Hide method from the UI framework on it directly in addition to modifying this. + WebView as a child window does not get window messages when the top window is minimized or restored. For performance reasons, developers should set the IsVisible property of the WebView to false when the app window is minimized and back to true when the app window is restored. The app window does this by handling SIZE_MINIMIZED and SIZE_RESTORED command upon receiving WM_SIZE message. There are CPU and memory benefits when the page is hidden. For instance Chromium has code that throttles activities on the page like animations and some tasks are run less frequently. Similarly, WebView2 will purge some caches to reduce memory usage. + + + + + + Gets or sets the WebView bounds. + + + Bounds are relative to the . The app has two ways to position a WebView: + + + Create a child HWND that is the WebView parent HWND. Position the window where the WebView should be. Use (0, 0) for the top-left corner (the offset) of the Bounds of the WebView. + + + Use the top-most window of the app as the WebView parent HWND. For example, to position ebView correctly in the app, set the top-left corner of the Bounds of the WebView. + + + + The values of Bounds are limited by the coordinate space of the host. + + + + + Gets or sets the zoom factor for the WebView. + + + Note that changing zoom factor may cause window.innerWidth or window.innerHeight and page layout to change. A zoom factor that is applied by the host by setting this ZoomFactor property becomes the new default zoom for the WebView. This zoom factor applies across navigations and is the zoom factor WebView is returned to when the user presses Ctrl+0. When the zoom factor is changed by the user (resulting in the app receiving ), that zoom applies only for the current page. Any user applied zoom is only for the current page and is reset on a navigation. Specifying a ZoomFactor less than or equal to 0 is not allowed. WebView also has an internal supported zoom factor range. When a specified zoom factor is out of that range, it is normalized to be within the range, and a event is raised for the real applied zoom factor. When this range normalization happens, this reports the zoom factor specified during the previous modification of the ZoomFactor property until the event is received after WebView applies the normalized zoom factor. + + + + + Gets the parent window provided by the app or sets the parent window that this WebView is using to render content. + + + It initially returns the ParentWindow passed into or . Setting the property causes the WebView to re-parent the main WebView window to the newly provided window. + + + + + ZoomFactorChanged is raised when the property changes. + + + The event may be raised because the property was modified, or due to the user manually modifying the zoom. When it is modified using the property, the internal zoom factor is updated immediately and no ZoomFactorChanged event is raised. WebView associates the last used zoom factor for each site. It is possible for the zoom factor to change when navigating to a different page. When the zoom factor changes due to a navigation change, the ZoomFactorChanged event is raised right after the event. + + + + + + MoveFocusRequested is raised when user tries to tab out of the WebView. + + + The focus of the WebView has not changed when this event is raised. + + + + + GotFocus is raised when WebView gets focus. + + + + + LostFocus is raised when WebView loses focus. + + + In the case where event is raised, the focus is still on WebView when event is raised. LostFocus is only raised afterwards when code of the app or default action of event sets focus away from WebView. + + + + + AcceleratorKeyPressed is raised when an accelerator key or key combo is pressed or released while the WebView is focused. + + + A key is considered an accelerator if either of the following conditions are true: + + + + Ctrl or Alt is currently being held. + + + The pressed key does not map to a character. + + + + A few specific keys are never considered accelerators, such as Shift. The Escape key is always considered an accelerator. + + Autorepeated key events caused by holding the key down will also raise this event. Filter out the auto-repeated key events by verifying or . + + In windowed mode, this event is synchronous. Until you set to true or the event handler returns, the browser process is blocked and outgoing cross-process COM calls will fail with RPC_E_CANTCALLOUT_ININPUTSYNCCALL. All methods work, however. + + In windowless mode, the event is asynchronous. Further input do not reach the browser until the event handler returns or is set to true, but the browser process is not blocked, and outgoing COM calls work normally. + + It is recommended to set to true as early as you are able to know that you want to handle the accelerator key. + + + + + Updates and properties at the same time. + + The bounds to be updated. + The zoom factor to be updated. + + This operation is atomic from the perspective of the host. After returning from this function, the and properties are both updated if the function is successful, or neither is updated if the function fails. If and are both updated by the same scale (for example, and are both doubled), then the page does not display a change in window.innerWidth or window.innerHeight and the WebView renders the content at the new size and zoom without intermediate renderings. This function also updates just one of or by passing in the new value for one and the current value for the other. + + + + + Tells WebView that the main WebView parent (or any ancestor) HWND moved. + + + This is a notification separate from . This is needed for accessibility and certain dialogs in WebView to work correctly. + + + + + Closes the WebView and cleans up the underlying browser instance. + + + Cleaning up the browser instance releases the resources powering the WebView. The browser instance is shut down if no other WebViews are using it. + + After running Close, all methods fail and event handlers stop running. Specifically, the WebView releases the associated references to any associated event handlers when Close is run. + + Close is implicitly run when the loses the final reference and is destructed. But it is best practice to explicitly run Close to avoid any accidental cycle of references between the WebView and the app code. Specifically, if you capture a reference to the WebView in an event handler you create a reference cycle between the WebView and the event handler. Run Close to break the cycle by releasing all event handlers. But to avoid the situation, it is best to both explicitly run Close on the WebView and to not capture a reference to the WebView to ensure the WebView is cleaned up correctly. Close is synchronous and won't trigger the beforeunload event. + + + + + Gets or sets the WebView default background color. + + + The `DefaultBackgroundColor` is the color that renders underneath all web content. This means WebView renders this color when there is no web content loaded such as before the initial navigation or between navigations. This also means web pages with undefined css background properties or background properties containing transparent pixels will render their contents over this color. Web pages with defined and opaque background properties that span the page will obscure the `DefaultBackgroundColor` and display normally. The default value for this property is white to resemble the native browser experience. Currently this API only supports opaque colors and transparency. It will fail for colors with alpha values that don't equal 0 or 255 ie. translucent colors are not supported. It also does not support transparency on Windows 7. On Windows 7, setting DefaultBackgroundColor to a Color with an Alpha value other than 255 will result in failure. On any OS above Win7, choosing a transparent color will result in showing hosting app content. This means webpages without explicit background properties defined will render web content over hosting app content. + This property may also be set via the `WEBVIEW2_DEFAULT_BACKGROUND_COLOR` environment variable. There is a known issue with background color where just setting the color by property can still leave the app with a white flicker before the `DefaultBackgroundColor` property takes effect. Setting the color via environment variable solves this issue. The value must be a hex value that can optionally prepend a 0x. The value must account for the alpha value which is represented by the first 2 digits. So any hex value fewer than 8 digits will assume a prepended 00 to the hex value and result in a transparent color. `DefaultBackgroundColor` will return the result of this environment variable even if it has not been set directly. This environment variable can only set the `DefaultBackgroundColor` once. Subsequent updates to background color must be done by setting the property. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="DefaultBackgroundColor"::: + + + + + Gets or sets the WebView rasterization scale. + + + The rasterization scale is the combination of the monitor DPI scale and text scaling set by the user. This value should be updated when the DPI scale of the app's top level window changes (i.e. monitor DPI scale changes or the window changes monitor) or when the text scale factor of the system changes. + Rasterization scale applies to the WebView content, as well as popups, context menus, scroll bars, and so on. Normal app scaling scenarios should use the property or method. + + + + + Determines whether the WebView will detect monitor scale changes. + + + ShouldDetectMonitorScaleChanges property determines whether the WebView attempts to track monitor DPI scale changes. When true, the WebView will track monitor DPI scale changes, update the property, and fire event. When false, the WebView will not track monitor DPI scale changes, and the app must update the property itself. event will never raise when ShouldDetectMonitorScaleChanges is false. Apps that want to set their own rasterization scale should set this property to false to avoid the WebView2 updating the property to match the monitor DPI scale. + + + + + Gets or sets the WebView bounds mode. + + + BoundsMode affects how setting the and properties work. Bounds mode can either be in mode or mode. + + + + + RasterizationScaleChanged is raised when the property changes. + + + The event is raised when the Webview detects that the monitor DPI scale has changed, is true, and the Webview has changed the property. + + + + + + Gets or sets the WebView allow external drop property. + + + The AllowExternalDrop is to configure the capability that dropping files into webview2 is allowed or permitted. The default value is true. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="ToggleAllowExternalDrop"::: + + + + + Used to manage profile options that created by . + + + Used to manage profile options that created by . + + + + + Manages the value of the controller's script locale. + + + The ScriptLocale property is to specify the default script + locale. It sets the default locale for all Intl JavaScript APIs and + other JavaScript APIs that depend on it, namely + Intl.DateTimeFormat() which affects string formatting like in + the time/date formats.The intended locale value is in the format of + BCP 47 Language Tags. More information can be found from [IETF + BCP47](https://www.ietf.org/rfc/bcp/bcp47.html ). The default value + for ScriptLocale will be depend on the WebView2 language and OS + region. If the language portions of the WebView2 language and OS + region match, then it will use the OS region. Otherwise, it will use + the WebView2 language. + + + OS Region + WebView2 Language + Default WebView2 ScriptLocale + + + en-GB + en-US + en-GB + + + es-MX + en-US + en-US + + + en-US + en-GB + en-US + + + You can set the ScriptLocale to the empty string to get the default ScriptLocale value. + Use OS specific APIs to determine the OS region to use with this property if you always want to match with the OS + region. For example: + + CultureInfo cultureInfo = Thread.CurrentThread.CurrentCulture; + return cultureInfo.Name + + + + + + Manage the name of the controller's profile. + + + The ProfileName property is to specify a profile name, which is only allowed to contain the following ASCII characters. It has a maximum length of 64 characters excluding the null-terminator. It is ASCII case insensitive. + + * alphabet characters: a-z and A-Z + * digit characters: 0-9 + * and '#', '@', '$', '(', ')', '+', '-', '_', '~', '.', ' ' (space). + + Note: the text must not end with a period '.' or ' ' (space). And, although upper-case letters are allowed, they're treated just as lower-case counterparts because the profile name will be mapped to the real profile directory path on disk and Windows file system handles path names in a case-insensitive way. + + + + + Manage the controller's InPrivate mode. + + + + + Provides a set of properties that are used to manage a . + + + + + Converts this to a System.Net.Cookie. + + + An object whose , , , , , , and , matches + those , , , + , , , and of this object. + + + The values of the properties other than those + specified above remain their default values. + + + + + + The expiration date and time for the cookie since the UNIX epoch. + + + Setting the Expires property to + makes this a session cookie, which is its default value. + + + + + Get or sets the cookie name. + + + + + Gets or sets the cookie value. + + + + + Gets the domain for which the cookie is valid. + + + The default value is the host that this cookie has been received from. Note that, for instance, .bing.com, bing.com, and www.bing.com are considered different domains. + + + + + Gets the path for which the cookie is valid. + + + The default value is "/", which means this cookie will be sent to all pages on the . + + + + + Determines whether this cookie is http-only. + + + + + Determines the SameSite status of the cookie which represents the enforcement mode of the cookie. + + + The default value is . + + + + + Gets or sets the security level of this cookie. + + + + + Determines whether this is a session cookie. The default value is false. + + + + + Creates, adds or updates, gets, or or view the cookies. + + + The changes would apply to the context of the user profile. That is, other WebViews under the same user profile could be affected. + + + + + Creates a CoreWebView2Cookie object whose params matches those of the given System.Net.Cookie. + + + A System.Net.Cookie whose params to be used to create a CoreWebView2Cookie. + + + An object whose , , , , , , and , matches those , , , , , , and of the given object. + + + The default value for the + property of the returned object is + . + + + + + + Creates a cookie object with a specified name, value, domain, and path. + + + One can set other optional properties after cookie creation. This only creates a cookie object and it is not added to the cookie manager until you call . name that starts with whitespace(s) is not allowed. + + The name for the to be created. It cannot start with whitespace(s). + + + + + + + Creates a cookie whose params matches those of the specified cookie. + + + + + Gets a list of cookies matching the specific URI. + + + You can modify the cookie objects by calling , and the changes will be applied to the webview. + + If uri is empty string or null, all cookies under the same profile are returned. + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="GetCookies"::: + + + + + Adds or updates a cookie with the given cookie data; may overwrite cookies with matching name, domain, and path if they exist. + + The to be added or updated. + + This method will fail if the domain of the given cookie is not specified. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="AddOrUpdateCookie"::: + + + + + Deletes a cookie whose name and domain/path pair match those of the specified cookie. + + + + + Deletes cookies with matching name and uri. + + The name for the cookies to be deleted is required. + If uri is specified, deletes all cookies with the given name where domain and path match provided URI. + + + + Deletes cookies with matching name and domain/path pair. + + The name for the cookies to be deleted is required. + If domain is specified, deletes only cookies with the exact domain. + If path is specified, deletes only cookies with the exact path. + + + + Deletes all cookies under the same profile. + + + This could affect other WebViews under the same user profile. + + + + + Represents the registration of a custom scheme with the . + + + This allows the WebView2 app to be able to handle event for requests with the + specified scheme and be able to navigate the WebView2 to the custom + scheme. Once the environment is created, the registrations are valid and + immutable throughout the lifetime of the associated WebView2s' browser + process and any WebView2 environments sharing the browser process must be + created with identical custom scheme registrations, otherwise the + environment creation will fail. Any further attempts to register the same + scheme will fail during environment creation. The URIs of registered + custom schemes will be treated similar to http URIs for their origins. + They will have tuple origins for URIs with host and opaque origins for + URIs without host as specified in [7.5 Origin - HTML Living Standard](https://html.spec.whatwg.org/multipage/origin.html) For event, the cases of request + URIs and filter URIs with custom schemes will be normalized according to + generic URI syntax rules. Any non-ASCII characters will be preserved. The + registered custom schemes also participate in [CORS](https://developer.mozilla.org/docs/Web/HTTP/CORS) and adheres to + [CSP](https://developer.mozilla.org/docs/Web/HTTP/CSP). The app needs to + set the appropriate access headers in its event handler to allow CORS + requests. + + + custom-scheme-with-host://hostname/path/to/resource has origin of + custom-scheme-with-host://hostname. + custom-scheme-without-host:path/to/resource has origin of + custom-scheme-without-host:path/to/resource. + + + + + The name of the custom scheme to register. + + + + + Whether the sites with this scheme will be treated as a [Secure + Context](https://developer.mozilla.org/docs/Web/Security/Secure_Contexts) + like an HTTPS site. + + + + + Set this property to true if the URIs with this custom scheme + will have an authority component (a host for custom schemes). + Specifically, if you have a URI of the following form you should set the + HasAuthorityComponent value as listed. + + + + URI + Recommended HasAuthorityComponent value + + + custom-scheme-with-authority://host/path + true + + + custom-scheme-without-authority:path + false + + + + + When this property is set to true, the URIs with this scheme will + be interpreted as having a [scheme and + host](https://html.spec.whatwg.org/multipage/origin.html#concept-origin-tuple) + origin similar to an http URI. Note that the port and user information + are never included in the computation of origins for custom schemes. If + this property is set to false, URIs with this scheme will have an + [opaque + origin](https://html.spec.whatwg.org/multipage/origin.html#concept-origin-opaque) + similar to a data URI. This property is false by default. Note: + For custom schemes registered as having authority component, navigations + to URIs without authority of such custom schemes will fail. However, if + the content inside WebView2 references a subresource with a URI that + does not have an authority component, but of a custom scheme that is + registered as having authority component, the URI will be interpreted as + a relative path as specified in + [RFC3986](https://www.rfc-editor.org/rfc/rfc3986). For example, + custom-scheme-with-authority:path will be interpreted as + custom-scheme-with-authority://host/path. However, this behavior + cannot be guaranteed to remain in future releases so it is recommended + not to rely on this behavior. + + + + + List of origins that are allowed to issue requests with the custom + scheme, such as XHRs and subresource requests that have an Origin + header. + + + The origin of any request (requests that have the [Origin + header](https://developer.mozilla.org/docs/Web/HTTP/Headers/Origin)) to + the custom scheme URI needs to be in this list. No-origin requests are + requests that do not have an Origin header, such as link navigations, + embedded images and are always allowed. Note that cross-origin + restrictions still apply. From any opaque origin (Origin header is + null), no cross-origin requests are allowed. If the list is empty, no + cross-origin request to this scheme is allowed. Origins are specified as + a string in the format of scheme://host:port. The origins are + string pattern matched with * (matches 0 or more characters) and + ? (matches 0 or 1 character) wildcards just like the URI matching + in the API. For example, + http://*.example.com:80. + + Here's a set of examples of what is allowed or not: + + + + Request URI + Originating URL + AllowedOrigins + Allowed + + + custom-scheme:request + https://www.example.com + {"https://www.example.com"} + Yes + + + custom-scheme:request + https://www.example.com + {"https://*.example.com"} + Yes + + + custom-scheme:request + https://www.example.com + {"https://www.example2.com"} + No + + + custom-scheme-with-authority://host/path + custom-scheme-with-authority://host2 + {""} + No + + + custom-scheme-with-authority://host/path + custom-scheme-with-authority2://host + {"custom-scheme-with-authority2://*"} + Yes + + + custom-scheme-without-authority:path + custom-scheme-without-authority:path2 + {"custom-scheme-without-authority:*"} + No + + + custom-scheme-without-authority:path + custom-scheme-without-authority:path2 + {"*"} + Yes + + + + + + + Initializes a new instance of the CoreWebView2CustomSchemeRegistration + class. + + + The name of the custom scheme to register. + + + + + Represents a download operation. Gives access to a download's metadata and supports a user canceling, pausing, or resuming a download. + + + + + The estimated end time of the download. + + + + + The total bytes to receive count. + + + + + The URI of the download. + + + + + The Content-Disposition header value from the download's HTTP response. If none, the value is an empty string. + + + + + MIME type of the downloaded content. + + + + + The number of bytes that have been written to the download file. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="BytesReceivedChanged"::: + + + + + The absolute path to the download file, including file name. + + + Host can change this from . + + + + + The state of the download. A download can be in progress, interrupted, or completed. + + + See for descriptions of states. + + + + + The reason why connection with file host was broken. + + + See for descriptions of reasons. + + + + + Returns true if an interrupted download can be resumed. + + + Downloads with the following interrupt reasons may automatically resume without you calling any methods: , , . In these cases progress may be restarted with set to 0. + + + + + Event raised when the bytes received count is updated. + + + + + Event raised when the estimated end time changes. + + + + + Event raised when the state of the download changes. + + + Use to get the current state, and to get the reason if the download is interrupted. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="StateChanged"::: + + + + + Cancels the download. + + + If canceled, the default download dialog shows that the download was canceled. Host should use if download should be canceled without displaying the default download dialog. + + + + + Pauses the download. + + + If paused, the default download dialog shows that the download is paused. No effect if download is already paused. Pausing a download changes the state from in progress to interrupted, with interrupt reason set to . + + + + + Resumes a paused download. May also resume a download that was interrupted for another reason if returns true. + + + Resuming a download changes the state from interrupted to in progress. + + + + + This represents the WebView2 Environment. + + + 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. Using it in different environments are not guaranteed to be compatible and may fail. + + + + + + + + + + + + + + + + + Creates a WebView2 Environment using the installed or a custom WebView2 Runtime version. + + + The relative path to the folder that contains a custom version of WebView2 Runtime. + + To use a fixed version of the WebView2 Runtime, pass the + folder path that contains the fixed version of the WebView2 Runtime + to browserExecutableFolder. BrowserExecutableFolder supports both relative + (to the application's executable) and absolute file paths. To create WebView2 controls + that use the installed version of the WebView2 Runtime that exists on + user machines, pass a null or empty string to + browserExecutableFolder. In this scenario, the API tries to + find a compatible version of the WebView2 Runtime that is installed + on the user machine (first at the machine level, and then per user) + using the selected channel preference. The path of fixed version of + the WebView2 Runtime should not contain \Edge\Application\. When + such a path is used, the API fails with ERROR_NOT_SUPPORTED. + + + + The user data folder location for WebView2. + + The path is either an absolute file path or a relative file path + that is interpreted as relative to the compiled code for the + current process. The default user data folder {Executable File + Name}.WebView2 is created in the same directory next to the + compiled code for the app. WebView2 creation fails if the compiled + code is running in a directory in which the process does not have + permission to create a new directory. The app is responsible to + clean up the associated user data folder when it is done. + + + + Options used to create WebView2 Environment. + + As a browser process may be shared among WebViews, WebView creation + fails if the specified options does not match the options of + the WebViews that are currently running in the shared browser + process. + + + + + The default channel search order is the WebView2 Runtime, Beta, Dev, and + Canary. When an override WEBVIEW2_RELEASE_CHANNEL_PREFERENCE environment + variable or applicable releaseChannelPreference registry value is set to + 1, the channel search order is reversed. + + + To use a fixed version of the WebView2 Runtime, pass the relative + folder path that contains the fixed version of the WebView2 Runtime + to browserExecutableFolder. To create WebView2 controls that + use the installed version of the WebView2 Runtime that exists on + user machines, pass a null or empty string to + browserExecutableFolder. In this scenario, the API tries to + find a compatible version of the WebView2 Runtime that is installed + on the user machine (first at the machine level, and then per user) + using the selected channel preference. The path of fixed version of + the WebView2 Runtime should not contain \Edge\Application\. When + such a path is used, the API fails with the following error. + + + The , , and may be + overridden by values either specified in environment variables or in + the registry. + + + When creating a the following environment variables are verified. + + + + WEBVIEW2_BROWSER_EXECUTABLE_FOLDER + + + WEBVIEW2_USER_DATA_FOLDER + + + WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS + + + WEBVIEW2_RELEASE_CHANNEL_PREFERENCE + + + + If browser executable folder or user data folder is specified in an + environment variable or in the registry, the specified or values are overridden. If additional browser + arguments are specified in an environment variable or in the + registry, it is appended to the corresponding value in the specified + . + + + While not strictly overrides, additional environment variables may be set. + + + + Value + Description + + + WEBVIEW2_WAIT_FOR_SCRIPT_DEBUGGER + + When found with a non-empty value, this indicates that the WebView + is being launched under a script debugger. In this case, the WebView + issues a Page.waitForDebugger CDP command that runs the + script inside the WebView to pause on launch, until a debugger + issues a corresponding Runtime.runIfWaitingForDebugger CDP + command to resume the runtime. + Note that this environment variable does not have a registry key equivalent. + + + + WEBVIEW2_PIPE_FOR_SCRIPT_DEBUGGER + + When found with a non-empty value, it indicates that the WebView is + being launched under a script debugger that also supports host apps + that use multiple WebViews. The value is used as the identifier for + a named pipe that is opened and written to when a new WebView is + created by the host app. The payload should match the payload of the + remote-debugging-port JSON target and an external debugger + may use it to attach to a specific WebView instance. The format of + the pipe created by the debugger should be + \\.\pipe\WebView2\Debugger\{app_name}\{pipe_name}, where the + following are true. + + + {app_name} is the host app exe file name, for example, WebView2Example.exe + {pipe_name} is the value set for WEBVIEW2_PIPE_FOR_SCRIPT_DEBUGGER + + + To enable debugging of the targets identified by the JSON, you must + set the WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS environment + variable to send --remote-debugging-port={port_num}, where + the following is true. + + + {port_num} is the port on which the CDP server binds. + + + If both WEBVIEW2_PIPE_FOR_SCRIPT_DEBUGGER and + WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS environment variables, + the WebViews hosted in your app and associated contents may exposed + to 3rd party apps such as debuggers. Note that this environment + variable does not have a registry key equivalent. + + + + + If none of those environment variables exist, then the registry is examined + next. + + + + [{Root}]\Software\Policies\Microsoft\Edge\WebView2\BrowserExecutableFolder "{AppId}"="" + + + [{Root}]\Software\Policies\Microsoft\Edge\WebView2\ReleaseChannelPreference "{AppId}"="" + + + [{Root}]\Software\Policies\Microsoft\Edge\WebView2\AdditionalBrowserArguments "{AppId}"="" + + + [{Root}]\Software\Policies\Microsoft\Edge\WebView2\UserDataFolder "{AppId}"="" + + + + Use a group policy under Administrative Templates > + Microsoft Edge WebView2 to configure browser executable folder + and release channel preference. + + + + Value + Description + + + ERROR_DISK_FULL + + In the unlikely scenario where some instances of WebView are open during a + browser update, the deletion of the previous WebView2 Runtime may be + blocked. To avoid running out of disk space, a new WebView creation fails + with this error if it detects that too many previous WebView2 + Runtime versions exist. + + + + COREWEBVIEW2_MAX_INSTANCES + + The default maximum number of WebView2 Runtime versions allowed is 20. + To override the maximum number of the previous WebView2 Runtime versions + allowed, set the value of the following environment variable. + + + + ERROR_PRODUCT_UNINSTALLED + + If the Webview depends upon an installed WebView2 Runtime version and it is + uninstalled, any subsequent creation fails with this error. + + + + + First verify with Root as HKLM and then HKCU. AppId is first set to + the Application User Model ID of the process, then if no corresponding + registry key, the AppId is set to the compiled code name of the process, + or if that is not a registry key then *. If an override registry key is + found, use the browserExecutableFolder and userDataFolder registry + values as replacements and append additionalBrowserArguments registry + values for the corresponding values in the provided . + + + + + + Gets the browser version info including channel name if it is not the stable channel or WebView2 Runtime. + + + The relative path to the folder that contains the WebView2 Runtime. + + + WebView2 Runtime installation is missing. + + + + + Compares 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. + + + One of the version strings to compare. + + + The other version string to compare. + + + An integer that indicates whether the first instance is older, the same as, or newer than the second instance. + + + Value Type + Condition + + + Less than zero + version1 is older than version2. + + + Zero + version1 is the same as version2. + + + Greater than zero + version1 is newer than version2. + + + + + + + Creates a new object. + + The request URI. + The HTTP request method. + + The raw request header string delimited by CRLF (optional in last header). + + uri parameter must be absolute URI. It's also possible to create this object with null headers string and then use the to construct the headers line by line. + + + + + + Creates a new object, + which can be passed as a parameter in and function for multiple profiles + support. + + + A that can be + passed when calling and . + + + The options is a settable property while the default for profile + name is an empty string and the default value for is + false. The profile will be created on disk or opened when calling + CreateCoreWebView2ControllerWithOptions no matter InPrivate mode is + enabled or not, and it will be released in memory when the + correspoding is closed but + still remain on disk. As WebView2 is built on top of Edge browser, + it follows Edge's behavior pattern. To create an InPrivate WebView, + we get an off-the-record profile (an InPrivate profile) from a + regular profile, then create the WebView with the off-the-record + profile. Also the profile name can be reused. + + + + + Asynchronously creates a new object. + + The HWND in which the WebView should be displayed and from which receive input. + + The options contains profileName and inPrivate parameters that could be used to create CoreWebView2Profile, and it can be used to create multiple WebViews with multiple profiles under a single user data directory. + + + Multiple profiles under single user data directory can share some system resources including memory, CPU footprint, disk space (such as compiled shaders and safebrowsing data) etc. + + + + + Asynchronously creates a new object. + + The HWND in which the WebView should be displayed and from which receive input. + + The options contains profileName and inPrivate parameters that could be used to create CoreWebView2Profile, and it can be used to create multiple WebViews with multiple profiles under a single user data directory. + + + Multiple profiles under single user data directory can share some system resources including memory, CPU footprint, disk space (such as compiled shaders and safebrowsing data) etc. + + + + + Set the path of the folder containing the `WebView2Loader.dll`. + + The path of the folder containing the `WebView2Loader.dll`. + + Thrown when `WebView2Loader.dll` has been successfully loaded. + + + This function allows you to set the path of the folder containing the `WebView2Loader.dll`. This should be the path of a folder containing `WebView2Loader.dll` and not a path to the `WebView2Loader.dll` file itself. + Note that the WebView2 SDK contains multiple `WebView2Loader.dll` files for different CPU architectures. When specifying folder path, you must specify one containing a `WebView2Loader.dll` module with a CPU architecture matching the current process CPU architecture. + This function is used to load the `WebView2Loader.dll` module during calls to any other static methods on `CoreWebView2Environment`. So, the path should be specified before any other API is called in `CoreWebView2Environment` class. Once `WebView2Loader.dll` is successfully loaded this function will throw an InvalidOperationException exception. + The path can be relative or absolute. Relative paths are relative to the path of the `Microsoft.Web.WebView2.Core.dll` module. + If the `WebView2Loader.dll` file does not exist in that path or LoadLibrary cannot load the file, or LoadLibrary fails for any other reason, an exception corresponding to the LoadLibrary failure is thrown when any other API is called in `CoreWebView2Environment` class. For instance, if the file cannot be found a `DllNotFoundException` exception will be thrown. + + + + + Gets the browser version info of the current , including channel name if it is not the stable channel. + + + It matches the format of the method. Channel names are beta, dev, and canary. + + + + + NewBrowserVersionAvailable is raised when a newer version of the WebView2 Runtime is installed and available using WebView2. + + + To use the newer version of the browser you must create a new environment and WebView. The event is only raised for new version from the same WebView2 Runtime from which the code is running. When not running with installed WebView2 Runtime, no event is raised. + + Because a user data folder is only able to be used by one browser process at a time, if you want to use the same user data folder in the WebViews using the new version of the browser, you must close the environment and instance of WebView that are using the older version of the browser first. Or simply prompt the user to restart the app. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="SubscribeToNewBrowserVersionAvailable"::: + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="NewBrowserVersionAvailable"::: + + + + + Asynchronously creates a new WebView. + + The HWND in which the WebView should be displayed and from which receive input. + + The WebView adds a child window to the provided window during WebView creation. Z-order and other things impacted by sibling window order are affected accordingly. + + + HWND_MESSAGE is a valid parameter for ParentWindow for an invisible WebView for Windows 8 and above. In this case the window will never become visible. You are not able to reparent the window after you have created the WebView. This is not supported in Windows 7 or below. Passing this parameter in Windows 7 or below will return ERROR_INVALID_WINDOW_HANDLE in the controller callback. + + + + It can also accept a which is created by as the second parameter for multiple profiles support. As WebView2 is built on top of Edge browser, it follows Edge's behavior pattern. To create an InPrivate WebView, we gets an off-the-record profile (an InPrivate profile) from a regular profile, then create the WebView with the off-the-record profile. Multiple profiles under single user data directory can share some system resources including memory, CPU footprint, disk space (such as compiled shaders and safebrowsing data) etc. + + + + It is recommended that the application set Application User Model ID for the process or the application window. If none is set, during WebView creation a generated Application User Model ID is set to root window of ParentWindow. + + + + It is recommended that the app handles restart manager messages, to gracefully restart it in the case when the app is using the WebView2 Runtime from a certain installation and that installation is being uninstalled. For example, if a user installs a version of the WebView2 Runtime and opts to use another version of the WebView2 Runtime for testing the app, and then uninstalls the 1st version of the WebView2 Runtime without closing the app, the app restarts to allow un-installation to succeed. + + + + When the app retries CreateCoreWebView2ControllerAsync upon failure, it is recommended that the app restarts from creating a new WebView2 Environment. If a WebView2 Runtime update happens, the version associated with a WebView2 Environment may have been removed and causing the object to no longer work. Creating a new WebView2 Environment works since it uses the latest version. + + + + WebView creation fails if a running instance using the same user data folder exists, and the Environment objects have different . For example, if a WebView was created with one , an attempt to create a WebView with a different using the same user data folder fails. + + + + + + Creates a new object. + + HTTP response content as stream. + The HTTP response status code. + The HTTP response reason phrase. + The raw response header string delimited by newline. + + It is also possible to create this object with empty headers string and then use the to construct the headers line by line. + + + + + + Asynchronously creates a new WebView for use with visual hosting. + + The HWND in which the app will connect the visual tree of the WebView. + + ParentWindow will be the HWND that the app will receive pointer/mouse input meant for the WebView (and will need to use or to forward). If the app moves the WebView visual tree to underneath a different window, then it needs to set to update the new parent HWND of the visual tree. + + Set property on the created to provide a visual to host the browser's visual tree. + + It is recommended that the application set Application User Model ID for the process or the application window. If none is set, during WebView creation a generated Application User Model ID is set to root window of ParentWindow. + + It can also accept a which is created by as the second parameter for multiple profiles support. + + CreateCoreWebView2CompositionController is supported in the following versions of Windows: + + + Windows 11 + + + Windows 10 + + + Windows Server 2019 + + + Windows Server 2016 + + + + + + + Creates an empty . + + + The returned needs to be populated with all of the relevant info before calling . + + + + + BrowserProcessExited is raised when the collection of WebView2 Runtime processes for the browser process of this terminate due to browser process failure or normal shutdown (for example, when all associated WebViews are closed), after all resources have been released (including the user data folder). + + + Multiple app processes can share a browser process by creating their webviews from a with the same user data folder. When the entire collection of WebView2Runtime processes for the browser process exit, all associated objects receive the BrowserProcessExited event. Multiple processes sharing the same browser process need to coordinate their use of the shared user data folder to avoid race conditions and unnecessary waits. For example, one process should not clear the user data folder at the same time that another process recovers from a crash by recreating its WebView controls; one process should not block waiting for the event if other app processes are using the same browser process (the browser process will not exit until those other processes have closed their webviews too). + + Note this is an event from , not . The difference between BrowserProcessExited and is that BrowserProcessExited is raised for any browser process exit (expected or unexpected, after all associated processes have exited too), while is raised for unexpected process exits of any kind (browser, render, GPU, and all other types), or for main frame render process unresponsiveness. To learn more about the WebView2 Process Model, go to [Process model](/microsoft-edge/webview2/concepts/process-model). + + In the case the browser process crashes, both BrowserProcessExited and events are raised, but the order is not guaranteed. These events are intended for different scenarios. It is up to the app to coordinate the handlers so they do not try to perform reliability recovery while also trying to move to a new WebView2 Runtime version or remove the user data folder. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="SubscribeToBrowserProcessExited"::: + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="BrowserProcessExited"::: + + + + + Creates the used by the method. + + + + + Gets the user data folder that all CoreWebView2s created from this environment are using. + + + This could be either the value passed in by the developer when creating the environment object or the calculated one for default handling. And will always be an absolute path. + + + + + ProcessInfosChanged is raised when a collection of WebView2 Runtime processes changed due to new process being detected or when a existing process gone away. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="ProcessInfosChanged"::: + + + + + Returns the list of . + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="GetProcessInfos"::: + + + + + Create a custom object to insert into the WebView context menu. + + + CoreWebView2 will rewind the icon stream before decoding. + There is a limit of 1000 active custom context menu items at a given time per . Attempting to create more before deleting existing ones will fail with ERROR_NOT_ENOUGH_QUOTA. It is recommended to reuse custom ContextMenuItems across CoreWebView2ContextMenuRequested events for performance. The created object's property will default to true and property will default to false. A will be assigned that's unique across active custom context menu items, but command ID values of deleted custom ContextMenuItems can be reassigned. + + + + + Gets the failure report folder that all CoreWebView2s created from this environment are using. + + + + + Create a shared memory based buffer with the specified size in bytes. + + + The buffer can be shared with web contents in WebView by calling or . + Once shared, the same content of the buffer will be accessible from both the app process and script in WebView. + Modification to the content will be visible to all parties that have access to the buffer. + The shared buffer is presented to the script as ArrayBuffer. All JavaScript APIs that work for ArrayBuffer including Atomics APIs can be used on it. + There is currently a limitation that only size less than 2GB is supported. + + + + + Options used to create WebView2 Environment. + + + Default values will use your defaulted Edge WebView2 Runtime binaries and + user data folder. + + + + + + + + + + Initializes a new instance of the CoreWebView2EnvironmentOptions class. + + + AdditionalBrowserArguments can be specified to change the behavior of + the WebView. + + + The default language that WebView will run with. + + + The version of the Edge WebView2 Runtime binaries required to be + compatible with the calling application. + + + Set to true if single sign on be enabled using the end user's OS primary + account. Defaults to false. + + + List of custom scheme registrations to be applied to the . + + + + + List of custom scheme registrations to be applied to the + + + + + Gets or sets the additional browser arguments to change the behavior of the WebView. + + + + The arguments are passed to the browser process as part of the command. For more information about using command-line switches with Chromium browser processes, navigate to [Run Chromium with Flags](https://aka.ms/RunChromiumWithFlags). The value appended to a switch is appended to the browser process, for example, in --edge-webview-switches=xxx the value is xxx. If you specify a switch that is important to WebView functionality, it is ignored, for example, --user-data-dir. Specific features are disabled internally and blocked from being enabled. If a switch is specified multiple times, only the last instance is used. + + + + A merge of the different values of the same switch is not attempted, except for disabled and enabled features. The features specified by --enable-features and --disable-features will be merged with simple logic: + + + + The features are the union of the specified features and built-in features. If a feature is disabled, it is removed from the enabled features list. + + + + + If you specify command-line switches and sets this property, the --edge-webview-switches value takes precedence and is processed last. If a switch fails to parse, the switch is ignored. The default state for the operation is to run the browser process with no extra flags. + + + Please note that calling this API twice will replace the previous value rather than appending to it. If there are multiple switches, there should be a space in between them. The one exception is if multiple features are being enabled/disabled for a single switch, in which case the features should be comma-separated. Ex. "--disable-features=feature1,feature2 --some-other-switch --do-something" + + + + + + Gets or sets the default display language for WebView. + + + It applies to browser UIs such as context menu and dialogs. It also applies to the accept-languages HTTP header that WebView sends to websites. It is in the format of language[-country] where language is the 2-letter code from [ISO 639](https://www.iso.org/iso-639-language-codes.html) and country is the 2-letter code from [ISO 3166](https://www.iso.org/standard/72482.html). + + + + + Gets or sets the version of the WebView2 Runtime binaries required to be compatible with your app. + + + This defaults to the WebView2 Runtime version that corresponds with the version of the SDK the app is using. The format of this value is the same as the format of the property and other BrowserVersion values. Only the version part of the BrowserVersion value is respected. The channel suffix, if it exists, is ignored. The version of the WebView2 Runtime binaries actually used may be different from the specified TargetCompatibleBrowserVersion. The binaries are only guaranteed to be compatible. Verify the actual version on the property. + + + + + Determines whether to enable single sign on with Azure Active Directory (AAD) resources inside WebView using the logged in Windows account and single sign on (SSO) with web sites using Microsoft account associated with the login in Windows account. + + + The default value is false. Universal Windows Platform apps must also declare enterpriseCloudSSO [restricted capability](/windows/uwp/packaging/app-capability-declarations#restricted-capabilities) for the single sign on (SSO) to work. + + + + + Determines whether other processes can create from created with the same user data folder and therefore sharing the same WebView browser process instance. + + + The default value is false. + + + + + When IsCustomCrashReportingEnabled is set to true, Windows won't send crash data to Microsoft endpoint. + + + The default value is false. In this case, WebView will respect OS consent. + + + + + The EnableTrackingPrevention property is used to enable/disable tracking prevention feature in WebView2. This property enable/disable tracking prevention for all the WebView2's created in the same environment. By default this feature is enabled to block potentially harmful trackers and trackers from sites that aren't visited before and set to or whatever value was last changed/persisted on the profile. + + + You can set this property to false to disable the tracking prevention feature if the app only renders content in the WebView2 that is known to be safe. Disabling this feature when creating environment also improves runtime performance by skipping related code. + + You shouldn't disable this property if WebView2 is being used as a "full browser" with arbitrary navigation and should protect end user privacy. + + There is property to control levels of tracking prevention of the WebView2's associated with a same profile. However, you can also disable tracking prevention later using property and value but that doesn't improves runtime performance. + + See for more details. + + Tracking prevention protects users from online tracking by restricting the ability of trackers to access browser-based storage as well as the network. See [Tracking prevention](/microsoft-edge/web-platform/tracking-prevention). + + + + + CoreWebView2Frame provides direct access to the iframes information and handling. + + + CoreWebView2Frame provides direct access to the iframes information and handling. You can get a CoreWebView2Frame by handling the event. + + + CoreWebView2Frame provides direct access to the iframes information and handling. You can get a CoreWebView2Frame by handling the event. + + + CoreWebView2Frame provides direct access to the iframes information and handling. You can get a CoreWebView2Frame by handling the event. + + + CoreWebView2Frame provides direct access to the iframes information and handling. You can get a CoreWebView2Frame by handling the event. + + + + + Adds the provided host object to script running in the WebViewFrame with the specified name for the list of the specified origins. + The host object will be accessible for this iframe only if the iframe's origin during + access matches one of the origins which are passed. The provided origins + will be normalized before comparing to the origin of the document. + So the scheme name is made lower case, the host will be punycode decoded + as appropriate, default port values will be removed, and so on. + This means the origin's host may be punycode encoded or not and will match + regardless. If list contains malformed origin the call will fail. + The method can be called multiple times in a row without calling + RemoveHostObjectFromScript for the same object name. It will replace + the previous object with the new object and new list of origins. + List of origins will be treated as following: + 1. empty list - call will succeed and object will be added for the iframe + but it will not be exposed to any origin; + 2. list with origins - during access to host object from iframe the + origin will be checked that it belongs to this list; + 3. list with "*" element - host object will be available for iframe for + all origins. We suggest not to use this feature without understanding + security implications of giving access to host object from from iframes + with unknown origins. + 4. list with "file://" element - host object will be available for iframes + loaded via file protocol. + + + The name of the host object. + + + The host object to be added to script. + + + The list of the iframe origins for which host object will be accessible. + + + + + + The name of the iframe from the iframe html tag declaring it. + + + + + NameChanged is raised when the iframe changes its window.name property. + + + + + + Destroyed event is raised when the iframe corresponding to this object is removed or the document containing that iframe is destroyed. + + + + + + Remove the host object specified by the name so that it is no longer accessible from JavaScript code in the iframe. + + + While new access attempts are denied, if the object is already obtained by JavaScript code in the iframe, the JavaScript code continues to have access to that object. Calling this method for a name that is already removed or was never added fails. If the iframe is destroyed this method will return fail also. + + + + + Check whether a frame is destroyed. Returns true during the event. + + + + + NavigationStarting is raised when the current frame is requesting permission to navigate to a different URI. + + + A frame navigation will raise a event and a event. All of the event handlers will be run before the event handlers. All of the event handlers share a common object. Whichever event handler is last to change the property will decide if the frame navigation will be cancelled. + Redirects raise this event as well, and the navigation id is the same as the original one. You may block corresponding navigations until the event handler returns. + + + + + ContentLoading is raised before any content is loaded, including scripts added with . ContentLoading is not raised if a same page navigation occurs. + + + This operation follows the event and precedes the and events. + + + + + NavigationCompleted is raised when the current frame has completely loaded (body.onload has been raised) or loading stopped with error. + + + + + DOMContentLoaded is raised when the initial HTML document has been parsed. + + + This aligns with the the document's DOMContentLoaded event in HTML. + + + + + WebMessageReceived is raised when the setting is set and the iframe runs window.chrome.webview.postMessage. + + + The postMessage function is void postMessage(object) where object is any object supported by JSON conversion. + When postMessage is called, the handler's Invoke method will be called with the object parameter postMessage converted to a JSON string. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="WebMessageReceivedIFrame"::: + + + + + Runs JavaScript code from the javaScript parameter in the current frame. + + The JavaScript code to be run in the current frame. + A JSON encoded string that represents the result of running the provided JavaScript. + + A function that has no explicit return value returns undefined. If the script that was run throws an unhandled exception, then the result is also null. This method is applied asynchronously. + If the method is run before , the script will not be executed and the JSON null will be returned. + This operation works even if is set to false. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="ExecuteScriptFrame"::: + + + + + Posts the specified webMessageAsJson to the current frame. + + The web message to be posted to the iframe. + + The event args is an instance of MessageEvent. The setting must be true or the message will not be sent. The event arg's data property of the event arg is the webMessageAsJson string parameter parsed as a JSON string into a JavaScript object. The event arg's source property of the event arg is a reference to the window.chrome.webview object. For information about sending messages from the iframe to the host, navigate to . The message is sent asynchronously. If a navigation occurs before the message is posted to the iframe, the message is not be sent. + + + Runs the message event of the window.chrome.webview of the iframe. JavaScript in that document may subscribe and unsubscribe to the event using the following code: + + window.chrome.webview.addEventListener('message', handler) + window.chrome.webview.removeEventListener('message', handler) + + + + + + + + + Posts a message that is a simple string rather than a JSON string representation of a JavaScript object. + + The web message to be posted to the iframe. + + This behaves in exactly the same manner as , but the data property of the event arg of the window.chrome.webview message is a string with the same value as webMessageAsString. Use this instead of if you want to communicate using simple strings rather than JSON objects. + + + + + + + PermissionRequested is raised when content in an iframe or any of its descendant iframes requests permission to access some privileged resources. + + + This relates to the PermissionRequested event on the CoreWebView2. + Both these events will be raised in the case of an iframe requesting permission. The CoreWebView2Frame's event handlers will be invoked before the event handlers on the CoreWebView2. If the Handled property of the PermissionRequestedEventArgs is set to TRUE within the CoreWebView2Frame event handler, then the event will not be raised on the CoreWebView2, and it's event handlers will not be invoked. + In the case of nested iframes, the PermissionRequested event will be raised from the top level iframe. + If a deferral is not taken on the event args, the subsequent scripts are blocked until the event handler returns. If a deferral is taken, the scripts are blocked until the deferral is completed. + + + + + Share a shared buffer object with script of the iframe in the WebView. + + The object to be shared with script. + The desired given to script. + Additional data to be send to script. If it is not null or empty string, and it is not a valid JSON string, will be thrown. + + The script will receive a sharedbufferreceived event from chrome.webview. + The event arg for that event will have the following methods and properties. + + + + Property + Description + + + getBuffer() + A method that returns an ArrayBuffer object with the backing content from the shared buffer. + + + additionalData + An object as the result of parsing additionalDataAsJson as JSON string. This property will be undefined if additionalDataAsJson is nullptr or empty string. + + + source + With a value set as chrome.webview object. + + + + If access is , the script will only have read access to the buffer. + If the script tries to modify the content in a read only buffer, it will cause an access violation in WebView renderer process and crash the renderer process. + + If the shared buffer is already closed, the API throws with error code of RO_E_CLOSED. + The script code should call chrome.webview.releaseBuffer with the shared buffer as the parameter to release underlying resources as soon as it does not need access to the shared buffer any more. + + The application can post the same shared buffer object to multiple web pages or iframes, or post to the same web page or iframe multiple times. + Each PostSharedBufferToScript will create a separate ArrayBuffer object with its own view of the memory and is separately released. + The underlying shared memory will be released when all the views are released. + + Sharing a buffer to script has security risk. You should only share buffer with trusted site. + If a buffer is shared to a untrusted site, possible sensitive information could be leaked. + If a buffer is shared as modifiable by the script and the script modifies it in an unexpected way, it could result in corrupted data that might even crash the application. + + The example code shows how to send data to script for one time read only consumption. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="OneTimeShareBuffer"::: + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/assets/sharedBuffer.html" id="ShareBufferScriptCode_1"::: + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/assets/sharedBuffer.html" id="ShareBufferScriptCode_2"::: + + + + + + Iterator for a collection of HTTP headers. + + + + + + + + + + No COM support; throws instead. + + + No COM support. + + + + + + + + Gets the header in the + or collection at the + current position of the enumerator. + + + + + + true when the iterator has not run out of headers. + + + If the collection over which the iterator is iterating is empty or if the iterator has gone past the end of the collection then this is false. + + + + + HTTP request headers. + + + Used to inspect the HTTP request on event and event. It is possible to modify the HTTP request headers from a event, but not from a event. + + + + + + + + + + + + + Returns an enumerator that iterates through the or collection. + + + + + Gets the header value matching the name. + + The header value matching the name. + + + + Gets the header value matching the name using a . + + The header value matching the name. + + + + Checks whether the headers contain an entry that matches the header name. + + Whether the headers contain an entry that matches the header name. + + + + Adds or updates header that matches the name. + + + + + Removes header that matches the name. + + + + + Gets a over the collection of request headers. + + + + + HTTP response headers. + + + Used to construct a for the event. + + + + + + + + + + + Returns an enumerator that iterates through the or collection. + + + + + Appends header line with name and value. + + The header name to be appended. + The header value to be appended. + + + + Checks whether this CoreWebView2HttpResponseHeaders contain entries matching the header name. + + The name of the header to seek. + + + + Gets the first header value in the collection matching the name. + + The header name. + The first header value in the collection matching the name. + + + + Gets the header values matching the name. + + The header name. + + + + Gets a over the collection of entire . + + + + + Event args for the CoreWebView2InitializationCompleted event. + + + + + Initializes a new instance of the CoreWebView2InitializationCompletedEventArgs class. + + + Exception that occurred during initialization, or null if initialization was successful. + + + + + True if the init task completed successfully. + + + + + The exception thrown from the init task. If the task completed successfully, this property is null. + + + + + Multiple profiles can be created under a single user data directory but with separated cookies, user preference settings, and various data storage etc.. If the CoreWebView2 was created with a , the CoreWebView2Profile will match those specified options. Otherwise if this CoreWebView2 was created without a , then this will be the default CoreWebView2Profile for the corresponding CoreWebView2Environment. + + + Multiple profiles can be created under a single user data directory but with separated cookies, user preference settings, and various data storage etc.. If the CoreWebView2 was created with a , the CoreWebView2Profile will match those specified options. Otherwise if this CoreWebView2 was created without a , then this will be the default CoreWebView2Profile for the corresponding CoreWebView2Environment. + + + Multiple profiles can be created under a single user data directory but with separated cookies, user preference settings, and various data storage etc.. If the CoreWebView2 was created with a , the CoreWebView2Profile will match those specified options. Otherwise if this CoreWebView2 was created without a , then this will be the default CoreWebView2Profile for the corresponding CoreWebView2Environment. + + + Multiple profiles can be created under a single user data directory but with separated cookies, user preference settings, and various data storage etc.. If the CoreWebView2 was created with a , the CoreWebView2Profile will match those specified options. Otherwise if this CoreWebView2 was created without a , then this will be the default CoreWebView2Profile for the corresponding CoreWebView2Environment. + + + Multiple profiles can be created under a single user data directory but with separated cookies, user preference settings, and various data storage etc.. If the CoreWebView2 was created with a , the CoreWebView2Profile will match those specified options. Otherwise if this CoreWebView2 was created without a , then this will be the default CoreWebView2Profile for the corresponding CoreWebView2Environment. + + + Multiple profiles can be created under a single user data directory but with separated cookies, user preference settings, and various data storage etc.. If the CoreWebView2 was created with a , the CoreWebView2Profile will match those specified options. Otherwise if this CoreWebView2 was created without a , then this will be the default CoreWebView2Profile for the corresponding CoreWebView2Environment. + + + + + Clear the browsing data for the specified dataKinds between the + startTime and endTime. Overload the ClearBrowsingDataAsync method to + allow for additional time parameters. + + + + + Clear the entirety of the browsing data associated with the profile + it is called on. It clears the data regardless of timestamp. + + + + + The name of the profile. + + + + + InPrivate mode is enabled or not. + + + + + Full path of the profile directory. + + + + + The default download folder path. + + + The default value is the system default download folder path for the user. The default download folder path is persisted in the user data folder across sessions. The value should be an absolute path to a folder that the user and application can write to. Throws an exception if the value is invalid, and the default download path is not changed. Otherwise the path is changed immediately. If the directory does not yet exist, it is created at the time of the next download. If the host application does not have permission to create the directory, then the user is prompted to provide a new path through the Save As dialog. The user can override the default download folder path for a given download by choosing a different path in the Save As dialog. + + + + + The PreferredColorScheme property sets the overall color scheme of the WebView2s associated with this profile. + + + This sets the color scheme for WebView2 UI like dialogs, prompts, and menus by setting the media feature prefers-color-scheme. + The default value for this is , which will follow whatever color scheme the OS is currently set to. + + + + + Clear the browsing data of the associated profile. + + + Clears browsing data on the profile the method is called on. Additional optional parameters include the start time and end time to clear the browsing data between as well as the data specific data kinds to clear on the profile. The method may be overloaded to take: + + + No parameters - in which the entirety of the data on the profile will be cleared. + + + The data kind(s) - in which the data kind(s) will be cleared for their entirety. + + + The data kind(s), start time, and end time - in which the data kind(s) will be cleared between the start and end time. The start time will be offset by -1.0 and the end time will be offset by +1.0 to include the last fractional second on each respective end. The start time is inclusive in the time period while the end time is exclusive. + + + + The exposed methods are as follows: + + ClearBrowsingDataAsync(CoreWebView2BrowsingDataKinds dataKinds); + ClearBrowsingDataAsync(CoreWebView2BrowsingDataKinds dataKinds, DateTime startTime, DateTime endTime); + ClearBrowsingDataAsync(); + + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="ClearBrowsingData"::: + + + + + The PreferredTrackingPreventionLevel property allows you to control levels of tracking prevention for WebView2 which are associated with a profile. This level would apply to the context of the profile. That is, all WebView2s sharing the same profile will be affected and also the value is persisted in the user data folder. + + + See for descriptions of levels. + + If tracking prevention feature is enabled when creating the WebView2 environment, you can also disable tracking prevention later using this property and value but that doesn't improves runtime performance. + + There is property to enable/disable tracking prevention feature for all the WebView2's created in the same environment. If enabled, PreferredTrackingPreventionLevel is set to by default for all the WebView2's and profiles created in the same environment or is set to the level whatever value was last changed/persisted to the profile. If disabled PreferredTrackingPreventionLevel is not respected by WebView2. If PreferredTrackingPreventionLevel is set when the feature is disabled, the property value get changed and persisted but it will takes effect only if is true. + + See for more details. + + + + + Sets permission state for the given permission kind and origin asynchronously. + + + The state change persists across sessions until it is changed by another call to SetPermissionState, or by setting the State property in PermissionRequestedEventArgs. Setting the state to will erase any state saved in the profile and restore the default behavior. The origin should have a valid scheme and host (e.g. "https://www.example.com"), otherwise the method fails. Additional URI parts like path and fragment are ignored. For example, "https://wwww.example.com/app1/index.html/" is treated the same as "https://wwww.example.com". See the [MDN origin definition](https://developer.mozilla.org/docs/Glossary/Origin) for more details. + + + + + Invokes the handler with a collection of all nondefault permission settings. + + + Use this method to get the permission state set in the current and previous sessions. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="GetNonDefaultPermissionSettings"::: + + + + + Get the which Creates, adds or updates, gets, or or view the cookies for the current profile. + + + All CoreWebView2s associated with this profile share the same cookie values. Changes to cookies in this cookie manager apply to all CoreWebView2s associated with this profile. + + + + + + Determines whether password information will be autosaved. + + + When disabled, no new password data is saved and no Save/Update Password prompts are displayed. However, if there was password data already saved before disabling this setting, then that password information is auto-populated, suggestions are shown and clicking on one will populate the fields. + When enabled, password information is auto-populated, suggestions are shown and clicking on one will populate the fields, new data is saved, and a Save/Update Password prompt is displayed. The default value is false. It will apply immediately after setting. + This property has the same value as , and changing one will change the other. All WebView2s with the same will share the same value for this property, so for the WebView2s with the same profile, their and will always have the same value. + + + + + Determines whether general form information will be saved and autofilled. + + + General autofill information includes information like names, street and email addresses, phone numbers, and arbitrary input. This excludes password information. When disabled, no suggestions appear, and no new information is saved. + When enabled, information is saved, suggestions appear, and clicking on one will populate the form fields. The default value is true. It will apply immediately after setting. + This property has the same value as , and changing one will change the other. All WebView2s with the same will share the same value for this property, so for the WebView2s with the same profile, their and will always have the same value. + + + + + This is used to complete deferrals on event args that support getting deferrals using the GetDeferral method. This class implements . + + + + + + + + + Protected implementation of Dispose pattern. + + + + + Completes the associated deferred event. + + + Complete should only be run once for each deferral taken. + + + + + This class is deprecated; use CoreWebView2PrivateHostObjectHelper instead. + + + + + This class implements . + + + A shared memory based buffer object that is created by . + + + + + + + + Protected implementation of Dispose pattern. + + + + + The file mapping handle of the shared memory of the buffer. + + + Normal app should use to + get a stream object to access the buffer. + For advanced scenarios, you could use native file mapping APIs to obtain + other views or duplicate this handle to another application process and + create a view from the duplicated handle in that process to access the buffer + from that separate process. + + + + + The size of the shared buffer in bytes. + + + + + The raw memory address of the buffer. + + + You can cast it to pointer to real data types like byte* to access the memory from unsafe code region. + Normal app should use to get a stream object to access the buffer. + + + + + Get an stream object that can be used to access the shared buffer. + + + + + Release the backing shared memory. + + + The application should call Close or when no access to the buffer is needed any more, to ensure that the underlying resources are released timely even if the shared buffer object itself is not released due to some leaked reference. + After the shared buffer is closed, the buffer address and file mapping handle previously obtained becomes invalid and cannot be used anymore. + Properties of the object will also be unaccessible. Operations like Read or Write on the stream objects returned from will also fail. + will also fail. The failures will be represented as with error code of RO_E_CLOSED. + + The script code should call chrome.webview.releaseBuffer with the shared buffer as the parameter to release underlying resources as soon as it does not need access the shared buffer any more. + When script tries to access the buffer after calling chrome.webview.releaseBuffer, JavaScript TypeError exception will be raised complaining about accessing a detached ArrayBuffer, the same exception when trying to access a transferred ArrayBuffer. + + Closing the buffer object on native side doesn't impact access from Script and releasing the buffer from script doesn't impact access to the buffer from native side. The underlying shared memory will be released by the OS when both native and script side release the buffer. + + + + + Constructor + + + + + Read at most bufferSize bytes into buffer and return the effective + number of bytes read in bytesReadPtr (unless null). + + + mscorlib disassembly shows the following MarshalAs parameters + void Read([Out, MarshalAs(UnmanagedType.LPArray, SizeParamIndex=1)] byte[] pv, int cb, IntPtr pcbRead); + This means marshaling code will have found the size of the array buffer in the parameter bufferSize. + + + Critical: calls Marshal.WriteInt32 which LinkDemands, takes pointers as input + + + + + Move the stream pointer to the specified position. + + + System.IO.stream supports searching past the end of the stream, like + OLE streams. + newPositionPtr is not an out parameter because the method is required + to accept NULL pointers. + + + Critical: calls Marshal.WriteInt64 which LinkDemands, takes pointers as input + + + + + Sets stream's size. + + + + + Obtain stream stats. + + + STATSG has to be qualified because it is defined both in System.Runtime.InteropServices and + System.Runtime.InteropServices.ComTypes. + The STATSTG structure is shared by streams, storages and byte arrays. Members irrelevant to streams + or not available from System.IO.Stream are not returned, which leaves only cbSize and grfMode as + meaningful and available pieces of information. + grfStatFlag is used to indicate whether the stream name should be returned and is ignored because + this information is unavailable. + + + + + Write at most bufferSize bytes from buffer. + + + Critical: calls Marshal.WriteInt32 which LinkDemands, takes pointers as input + + + + + Create a clone. + + + Not implemented. + + + + + Read at most bufferSize bytes from the receiver and write them to targetStream. + + + Not implemented. + + + + + Commit changes. + + + Only relevant to transacted streams. + + + + + Lock at most byteCount bytes starting at offset. + + + Not supported by System.IO.Stream. + + + + + Undo writes performed since last Commit. + + + Relevant only to transacted streams. + + + + + Unlock the specified region. + + + Not supported by System.IO.Stream. + + + + + The exception that is thrown when an WebView2 Runtime installation is missing. + + + + + Initializes a new instance of the WebView2RuntimeNotFoundException class. + + + + + Initializes a new instance of the WebView2RuntimeNotFoundException class with a specified error message. + + + The error message that explains the reason for the exception. + + + + + Initializes a new instance of the WebView2RuntimeNotFoundException class with a reference to the inner exception that is the cause of this exception. + + + The exception that is the cause of the current exception. + + + + + Initializes a new instance of the WebView2RuntimeNotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception. + + + The error message that explains the reason for the exception. + + + The exception that is the cause of the current exception. + + + + + + + + + + + + + + + + + Specifies the web resource request contexts. + + + + + Specifies all resources. + + + + + Specifies a document resources. + + + + + Specifies a CSS resources. + + + + + Specifies an image resources. + + + + + Specifies another media resource such as a video. + + + + + Specifies a font resource. + + + + + Specifies a script resource. + + + + + Specifies an XML HTTP request, Fetch and EventSource HTTP communication. + + + + + Specifies a Fetch API communication. + + + Note that this isn't working. Fetch API requests are fired as a part + of COREWEBVIEW2_WEB_RESOURCE_CONTEXT_XML_HTTP_REQUEST. + + + + Specifies a TextTrack resource. + + + + + Specifies an EventSource API communication. + + + Note that this isn't working. EventSource API requests are fired as a part + of COREWEBVIEW2_WEB_RESOURCE_CONTEXT_XML_HTTP_REQUEST. + + + + Specifies a WebSocket API communication. + + + + + Specifies a Web App Manifest. + + + + + Specifies a Signed HTTP Exchange. + + + + + Specifies a Ping request. + + + + + Specifies a CSP Violation Report. + + + + + Specifies an other resource. + + + + + Indicates the error status values for web navigations. + + + + + Indicates that an unknown error occurred. + + + + + Indicates that the SSL certificate common name does not match the web address. + + + + + Indicates that the SSL certificate has expired. + + + + + Indicates that the SSL client certificate contains errors. + + + + + Indicates that the SSL certificate has been revoked. + + + + + Indicates that the SSL certificate is not valid. The certificate may not match the public key pins for the host name, the certificate is signed by an untrusted authority or using a weak sign algorithm, the certificate claimed DNS names violate name constraints, the certificate contains a weak key, the validity period of the certificate is too long, lack of revocation information or revocation mechanism, non-unique host name, lack of certificate transparency information, or the certificate is chained to a [legacy Symantec root](https://security.googleblog.com/2018/03/distrust-of-symantec-pki-immediate.html). + + + + + Indicates that the host is unreachable. + + + + + Indicates that the connection has timed out. + + + + + Indicates that the server returned an invalid or unrecognized response. + + + + + Indicates that the connection was stopped. + + + + + Indicates that the connection was reset. + + + + + Indicates that the Internet connection has been lost. + + + + + Indicates that a connection to the destination was not established. + + + + + Indicates that the provided host name was not able to be resolved. + + + + + Indicates that the operation was canceled. This status code is also used when the app cancels a navigation via event, and for original navigation if the app navigates the WebView2 in a rapid succession away after the load for original navigation commenced, but before it completed. + + + + + Indicates that the request redirect failed. + + + + + An unexpected error occurred. + + + + + Indicates that user is prompted with a login, waiting on user action. Initial navigation to a login site will always return this even if app provides credential using . HTTP response status code in this case is 401. See status code reference here: https://developer.mozilla.org/docs/Web/HTTP/Status. + + + + + Indicates that user lacks proper authentication credentials for a proxy server. HTTP response status code in this case is 407. See status code reference here: https://developer.mozilla.org/docs/Web/HTTP/Status. + + + + + Tracking prevention levels. + + + + + Tracking prevention is turned off. + + + + + The least restrictive level of tracking prevention. Set to this level to protect against malicious trackers but allows most other trackers and personalize content and ads. See [Current tracking prevention behavior](/microsoft-edge/web-platform/tracking-prevention#current-tracking-prevention-behavior) for fine-grained information on what is being blocked with this level and can change with different Edge versions. + + + + + The default level of tracking prevention. Set to this level to protect against social media tracking on top of malicious trackers. Content and ads will likely be less personalized. See [Current tracking prevention behavior](/microsoft-edge/web-platform/tracking-prevention#current-tracking-prevention-behavior) for fine-grained information on what is being blocked with this level and can change with different Edge versions. + + + + + The most restrictive level of tracking prevention. Set to this level to protect against malicious trackers and most trackers across sites. Content and ads will likely have minimal personalization. This level blocks the most trackers but could cause some websites to not behave as expected. See [Current tracking prevention behavior](/microsoft-edge/web-platform/tracking-prevention#current-tracking-prevention-behavior) for fine-grained information on what is being blocked with this level and can change with different Edge versions. + + + + + Specifies the desired access from script to . + + + + + Script from web page only has read access to the shared buffer. + + + + + Script from web page has read and write access to the shared buffer. + + + + + Specifies the action type when server certificate error is detected to be used in the . + + + + + Indicates to ignore the warning and continue the request with the TLS certificate. This decision is cached for the RequestUri's host and the server certificate in the session. + + + + + Indicates to reject the certificate and cancel the request. + + + + + Indicates to display the default TLS interstitial error page to user for page navigations. For others TLS certificate is rejected and the request is cancelled. + + + + + Specifies the JavaScript dialog kind used in . + + + + + Indicates that the dialog uses window.alert JavaScript function. + + + + + Indicates that the dialog uses window.confirm JavaScript function. + + + + + Indicates that the dialog uses window.prompt JavaScript function. + + + + + Indicates that the dialog uses window.beforeunload JavaScript event. + + + + + Specifies the process kind used in . + + + The values in this enum make reference to the process kinds in the Chromium architecture. For more information about what these processes are and what they do, see [Browser Architecture - Inside look at modern web browser](https://developers.google.com/web/updates/2018/09/inside-browser-part1). + + + + + Indicates that the process is browser process. + + + + + Indicates that the process is render process. + + + + + Indicates that the process is utility process. + + + + + Indicates that the process is sandbox helper process. + + + + + Indicates that the process is Gpu process. + + + + + Indicates that the process is ppapi plugin process. + + + + + Indicates that the process is ppapi broker process. + + + + + Specifies the process failure reason used in . + + + + + Indicates that an unexpected process failure occurred. + + + + + Indicates that the process became unresponsive. This only applies to the main frame's render process. + + + + + Indicates that the process was terminated. For example, from Task Manager. + + + + + Indicates that the process crashed. + + + + + Indicates that the process failed to launch. + + + + + Indicates that the process died due to running out of memory. + + + + + Indicates the webview2's profile has been deleted. + + + + + Specifies the process failure kind used in . + + + The values in this enum make reference to the process kinds in the Chromium architecture. For more information about what these processes are and what they do, see [Browser Architecture - Inside look at modern web browser](https://developers.google.com/web/updates/2018/09/inside-browser-part1). + + + + + Indicates that the browser process ended unexpectedly. The WebView automatically moves to the Closed state. The app has to recreate a new WebView to recover from this failure. + + + + + Indicates that the main frame's render process ended unexpectedly. A new render process is created automatically and navigated to an error page. You can use the method to try reload the page that failed. + + + + + Indicates that the main frame's render process is unresponsive. + + + + + Indicates that a frame-only render process ended unexpectedly. The process exit does not affect the top-level document, only a subset of the subframes within it. The content in these frames is replaced with an error page in the frame. + + + + + Indicates that a utility process ended unexpectedly. + + + + + Indicates that a sandbox helper process ended unexpectedly. + + + + + Indicates that the GPU process ended unexpectedly. + + + + + Indicates that a PPAPI plugin process ended unexpectedly. + + + + + Indicates that a PPAPI plugin broker process ended unexpectedly. + + + + + Indicates that a process of unspecified kind ended unexpectedly. + + + + + Indicates the status for printing. + + + + + Indicates that the print operation is succeeded. + + + + + Indicates that the printer is not available. + + + + + Indicates that the print operation is failed. + + + + + The orientation for printing, used by the property. Currently only printing to PDF is supported. + + + + + Print the page(s) in portrait orientation. + + + + + Print the page(s) in landscape orientation. + + + + + Specifies the media size for a print. + + + + + The default media size for a printer. + + + + + Indicate custom media size that is specific to the printer. + + + + + Specifies the duplex option for a print. + + + + + The default duplex for a printer. + + + + + Print on only one side of the sheet. + + + + + Print on both sides of the sheet, flipped along the long edge. + + + + + Print on both sides of the sheet, flipped along the short edge. + + + + + Specifies the print dialog kind. + + + + + Opens the browser print preview dialog. + + + + + Opens the system print dialog. + + + + + Specifies the color mode for a print. + + + + + The default color mode for a printer. + + + + + Indicate that the printed output will be in color. + + + + + Indicate that the printed output will be in shades of gray. + + + + + Specifies the collation for a print. + + + + + The default collation for a printer. + + + + + Indicate that the collation has been selected for the printed output. + + + + + Indicate that the collation has not been selected for the printed output. + + + + + Preferred color scheme for WebView2's associated with a profile. + + + + + Auto color scheme. + + + + + Light color scheme. + + + + + Dark color scheme. + + + + + Pointer event kind used by to convey the kind of pointer event being sent to WebView. + + + + + Corresponds to WM_POINTERACTIVATE. + + + + + Corresponds to WM_POINTERDOWN. + + + + + Corresponds to WM_POINTERENTER. + + + + + Corresponds to WM_POINTERLEAVE. + + + + + Corresponds to WM_POINTERUP. + + + + + Corresponds to WM_POINTERUPDATE. + + + + + Specifies the response to a permission request. + + + + + Specifies that the default browser behavior is used, which normally prompts users for decision. + + + + + Specifies that the permission request is granted. + + + + + Specifies that the permission request is denied. + + + + + Indicates the kind of a permission request. + + + + + Indicates an unknown permission. + + + + + Indicates permission to capture audio. + + + + + Indicates permission to capture video. + + + + + Indicates permission to access geolocation. + + + + + Indicates permission to send web notifications. Apps that would like to show notifications should handle and/or events and no browser permission prompt will be shown for notification requests. Note that push notifications are currently unavailable in WebView2. + + + + + Indicates permission to access generic sensor. Generic Sensor covers ambient-light-sensor, accelerometer, gyroscope, and magnetometer. + + + + + Indicates permission to read the system clipboard without a user gesture. + + + + + Indicates permission to automatically download multiple files. Permission is requested when multiple downloads are triggered in quick succession. + + + + + Indicates permission to read and write to files or folders on the device. Permission is requested when developers use the [File System Access API](https://developer.mozilla.org/docs/Web/API/File_System_Access_API) to show the file or folder picker to the end user, and then request "readwrite" permission for the user's selection. + + + + + Indicates permission to play audio and video automatically on sites. This permission affects the autoplay attribute and play method of the audio and video HTML elements, and the start method of the Web Audio API. See the [Autoplay guide for media and Web Audio APIs](https://developer.mozilla.org/docs/Web/Media/Autoplay_guide) for details. + + + + + Indicates permission to use fonts on the device. Permission is requested when developers use the [Local Font Access API](https://wicg.github.io/local-font-access/) to query the system fonts available for styling web content. + + + + + Indicates permission to send and receive system exclusive messages to/from MIDI (Musical Instrument Digital Interface) devices. Permission is requested when developers use the [Web MIDI API](https://developer.mozilla.org/docs/Web/API/Web_MIDI_API) to request access to system exclusive MIDI messages. + + + + + Indicates permission to open and place windows on the screen. Permission is requested when developers use the [Multi-Screen Window Placement API](https://www.w3.org/TR/window-placement/) to get screen details. + + + + + Specifies the PDF toolbar item types used for the . + + + + + No item. By default the equal to this value. + + + + + The save button on PDF toolbar. + + + + + The print button on PDF toolbar. + + + + + The save as button on PDF toolbar. + + + + + The zoom in button on PDF toolbar. + + + + + The zoom out button on PDF toolbar. + + + + + The rotate button on PDF toolbar. + + + + + The fit to width button on PDF toolbar. + + + + + The page view button on PDF toolbar. + + + + + The contents button on PDF toolbar. + + + + + The page number button on PDF toolbar. + + + + + The search button on PDF toolbar. + + + + + The full screen button on PDF toolbar. + + + + + The setting and more button on PDF toolbar. + + + + + Specifies the reason for moving focus. + + + + + Specifies that the code is setting focus into WebView. + + + + + Specifies that the focus is moved due to Tab traversal forward. + + + + + Specifies that the focus is moved due to Tab traversal backward. + + + + + Mouse event virtual keys associated with a for . + + + + + No additional keys pressed. + + + + + Left mouse button is down, MK_LBUTTON. + + + + + Right mouse button is down, MK_RBUTTON. + + + + + Shift key is down, MK_SHIFT. + + + + + Ctrl key is down, MK_CONTROL. + + + + + Middle mouse button is down, MK_MBUTTON. + + + + + First X button is down, MK_XBUTTON1. + + + + + Second X button is down, MK_XBUTTON2. + + + + + Mouse event kind used by to convey the kind of mouse event being sent to WebView. + + + + + Mouse horizontal wheel scroll event, WM_MOUSEHWHEEL. + + + + + Left button double click mouse event, WM_LBUTTONDBLCLK. + + + + + Left button down mouse event, WM_LBUTTONDOWN. + + + + + Left button up mouse event, WM_LBUTTONUP. + + + + + Mouse leave event, WM_MOUSELEAVE. + + + + + Middle button double click mouse event, WM_MBUTTONDBLCLK. + + + + + Middle button down mouse event, WM_MBUTTONDOWN. + + + + + Middle button up mouse event, WM_MBUTTONUP. + + + + + Mouse move event, WM_MOUSEMOVE. + + + + + Right button double click mouse event, WM_RBUTTONDBLCLK. + + + + + Right button down mouse event, WM_RBUTTONDOWN. + + + + + Right button up mouse event, WM_RBUTTONUP. + + + + + Mouse wheel scroll event, WM_MOUSEWHEEL. + + + + + First or second X button double click mouse event, WM_XBUTTONDBLCLK. + + + + + First or second X button down mouse event, WM_XBUTTONDOWN. + + + + + First or second X button up mouse event, WM_XBUTTONUP. + + + + + Desired memory consumption level of a WebView. + + + + + Normal memory usage target level. + + + + + Low memory usage target level. Used for inactivate WebView for reduced memory consumption. + + + + + Specifies the key event kind that raises an event. + + + + + Specifies that the key event kind corresponds to window message WM_KEYDOWN. + + + + + Specifies that the key event kind corresponds to window message WM_KEYUP. + + + + + Specifies that the key event kind corresponds to window message WM_SYSKEYDOWN. + + + + + Specifies that the key event kind corresponds to window message WM_SYSKEYUP. + + + + + Kind of cross origin resource access allowed for host resources during download. + + + Note that other normal access checks like same origin DOM access check and [Content Security Policy](https://developer.mozilla.org/docs/Web/HTTP/CSP) still apply. + The following table illustrates the host resource cross origin access according to access context and CoreWebView2HostResourceAccessKind. + + + + Cross Origin Access Context + Deny + Allow + DenyCors + + + From DOM like src of img, script or iframe element + Deny + Allow + Allow + + + From Script like Fetch or XMLHttpRequest + Deny + Allow + Deny + + + + + + + All cross origin resource access is denied, including normal sub resource access as src of a script or image element. + + + + + All cross origin resource access is allowed, including accesses that are subject to Cross-Origin Resource Sharing(CORS) check. The behavior is similar to a web site sends back http header Access-Control-Allow-Origin: *. + + + + + Cross origin resource access is allowed for normal sub resource access like as src of a script or image element, while any access that subjects to CORS check will be denied. See [Cross-Origin Resource Sharing](https://developer.mozilla.org/docs/Web/HTTP/CORS) for more information. + + + + + The requested format to get the Favicon from . + + + + + Request the Favicon to be retrieved a Png Format. + + + + + Request the Favicon to be retrieved a Jpeg Format. + + + + + The state of the . + + + + + The download is in progress. + + + + + The connection with the file host was broken. The reason why a download was interrupted can accessed from . See for descriptions of the different kinds of interrupt reasons. Host can check whether an interrupted download can be resumed with . Once resumed, the download state is in progress. + + + + + The download completed successfully. + + + + + The reason why the was interrupted. + + + + + No interrupt reason. + + + + + Generic file error. + + + + + Access denied due to security restrictions. + + + + + Disk full. User should free some space or choose a different location to store the file. + + + + + Result file path with file name is too long. + + + + + File is too large for file system. + + + + + Microsoft Defender Smartscreen detected a virus in the file. + + + + + File was in use, too many files opened, or out of memory. + + + + + File blocked by local policy. + + + + + Security check failed unexpectedly. Microsoft Defender SmartScreen could not scan this file. + + + + + Seeking past the end of a file in opening a file, as part of resuming an interrupted download. The file did not exist or was not as large as expected. Partially downloaded file was truncated or deleted, and download will be restarted automatically. + + + + + Partial file did not match the expected hash and was deleted. Download will be restarted automatically. + + + + + Generic network error. User can retry the download manually. + + + + + Network operation timed out. + + + + + Network connection lost. User can retry the download manually. + + + + + Server has gone down. User can retry the download manually. + + + + + Network request invalid because original or redirected URI is invalid, has an unsupported scheme, or is disallowed by network policy. + + + + + Generic server error. User can retry the download manually. + + + + + Server does not support range requests. + + + + + Server does not have the requested data. + + + + + Server did not authorize access to resource. + + + + + Server certificate problem. + + + + + Server access forbidden. + + + + + Unexpected server response. Responding server may not be intended server. User can retry the download manually. + + + + + Server sent fewer bytes than the Content-Length header. Content-Length header may be invalid or connection may have closed. Download is treated as complete unless there are [strong validators](https://tools.ietf.org/html/rfc7232#section-2) present to interrupt the download. + + + + + Unexpected cross-origin redirect. + + + + + User canceled the download. + + + + + User shut down the WebView. Resuming downloads that were interrupted during shutdown is not yet supported. + + + + + User paused the download. + + + + + WebView crashed. + + + + + The default download dialog can be aligned to any of the WebView corners by setting the property. The default position is top-right corner. + + + + + The top-left corner of the WebView. + + + + + The top-right corner of the WebView. + + + + + The bottom-left corner of the WebView. + + + + + The bottom-right corner of the WebView. + + + + + Kind of cookie SameSite status used in the class. + + + These fields match those as specified in https://developer.mozilla.org/docs/Web/HTTP/Cookies#. + Learn more about SameSite cookies here: https://tools.ietf.org/html/draft-west-first-party-cookies-07 + + + + + None SameSite type. No restrictions on cross-site requests. + + + + + Lax SameSite type. The cookie will be sent with "same-site" requests, and with "cross-site" top level navigation. + + + + + Strict SameSite type. The cookie will only be sent along with "same-site" requests. + + + + + Indicates the kind of context for which the context menu was created for the property. This enum will always represent the active element that caused the context menu request. If there is a selection with multiple images, audio and text, for example, the element that the end user right clicks on within this selection will be the option represented by this enum. + + + + + Indicates that the context menu was created for the page without any additional content. + + + + + Indicates that the context menu was created for an image element. + + + + + Indicates that the context menu was created for selected text. + + + + + Indicates that the context menu was created for an audio element. + + + + + Indicates that the context menu was created for a video element. + + + + + Specifies the menu item kind for the property. + + + + + Specifies a command menu item kind. + + + + + Specifies a check box menu item kind. objects of this kind will need the property to determine current state of the check box. + + + + + Specifies a radio button menu item kind. objects of this kind will need the property to determine current state of the radio button. + + + + + Specifies a separator menu item kind. objects of this kind are used to signal a visual separator with no functionality. + + + + + Specifies a submenu menu item kind. objects of this kind will contain a collection of its children objects. + + + + + The kind of the . + + + + + Specifies smart card certificate. + + + + + Specifies PIN certificate. + + + + + Specifies other certificate. + + + + + Specifies the image format for the method. + + + + + Indicates that the PNG image format is used. + + + + + Indicates that the JPEG image format is used. + + + + + Indicates the kind of browsing data to clear. Or operations can be applied to create a mask representing multiple CoreWebView2BrowsingDataKinds. The resulting mask may be passed to or to clear the corresponding data. + + + + + Specifies file systems data. + + + + + Specifies data stored by the IndexedDB DOM feature. + + + + + Specifies data stored by the localStorage DOM API. + + + + + Specifies data stored by the Web SQL database DOM API. + + + + + Specifies data stored by the CacheStorage DOM API. + + + + + Specifies DOM storage data, now and future. This browsing data kind is inclusive of CoreWebView2BrowsingDataKinds.FileSystems, CoreWebView2BrowsingDataKinds.IndexedDb, CoreWebView2BrowsingDataKinds.WebSql, CoreWebView2BrowsingDataKinds.CacheStorage. New DOM storage data types may be added to this data kind in the future. + + + + + Specifies HTTP cookies data. + + + + + Specifies all site data, now and future. This browsing data kind is inclusive of CoreWebView2BrowsingDataKinds.AllDomStorage and CoreWebView2BrowsingDataKinds.Cookies. New site data types may be added to this data kind in the future. + + + + + Specifies disk cache. + + + + + Specifies download history data. + + + + + Specifies general autofill form data. This excludes password information and includes information like: names, street and email addresses, phone numbers, and arbitrary input. This also includes payment data. + + + + + Specifies password autosave data. + + + + + Specifies browsing history data. + + + + + Specifies settings data. + + + + + Specifies profile data that should be wiped to make it look like a new profile. This does not delete account-scoped data like passwords but will remove access to account-scoped data by signing the user out. Specifies all profile data, now and future. New profile data types may be added to this data kind in the future. This browsing data kind is inclusive of , , , , , , . + + + + + Specifies the browser process exit kind used in . + + + + + Indicates that the browser process ended normally. + + + + + Indicates that the browser process ended unexpectedly. A event will also be raised to listening WebViews from the associated to the failed process. + + + + + Mode for how the property is interpreted in relation to the property. + + + + + property represents raw pixels. Physical size of WebView is not impacted by . + + + + + property represents logical pixels and the property is used to get the physical size of the WebView. + + + + + Contains the information packed into the LPARAM sent to a Win32 key event. + + + For more information about WM_KEYDOWN, navigate to [WM_KEYDOWN message](/windows/win32/inputdev/wm-keydown). + + + + + Specifies the repeat count for the current message. + + + + + Specifies the scan code. + + + + + Indicates that the key is an extended key. + + + + + Indicates that a menu key is held down (context code). + + + + + Indicates that the key was held down. + + + + + Indicates that the key was released. + + + + + A value representing RGBA color (Red, Green, Blue, Alpha) for WebView2. + + + Each component takes a value from 0 to 255, with 0 being no intensity and 255 being the highest intensity. + + + + + Specifies the intensity of the Alpha ie. opacity value. 0 is transparent, 255 is opaque. + + + + + Specifies the intensity of the Red color. + + + + + Specifies the intensity of the Green color. + + + + + Specifies the intensity of the Blue color. + + + + + The window features for a WebView popup window. + + + The fields match the windowFeatures passed to window.open() as specified in [Window features](https://developer.mozilla.org/docs/Web/API/Window/open#Window_features) on MDN. There is no requirement for you to respect the values. If your app does not have corresponding UI features (for example, no toolbar) or if all instance of WebView are opened in tabs and do not have distinct size or positions, then your app does not respect the values. You may want to respect values, but perhaps only some apply to the UI of you app. Accordingly, you may respect all, some, or none of the properties as appropriate for your app. For all numeric properties, if the value that is passed to window.open() is outside the range of an uint, the resulting value is uint.MaxValue. If you are not able to parse the value an integer, it is considered 0. If the value is a floating point value, it is rounded down to an integer. + + + + + Indicates whether the left and top values are specified. + + + + + Indicates whether the height and width values are specified. + + + + + Gets the left position of the window. Ignored if is false. + + + + + Gets the top position of the window. Ignored if is false. + + + + + Gets the height of the window. Ignored if is false. + + + + + Gets the width of the window. Ignored if is false. + + + + + Indicates that the menu bar is displayed. + + + + + Indicates that the status bar is displayed. + + + + + Indicates that the browser toolbar is displayed. + + + + + Indicates that the scroll bars are displayed. + + + + + View of the HTTP representation for a web resource response. + + + The properties of this object are not mutable. This response view is used with the event. + + + + + Gets the HTTP response headers as received. + + + + + Gets the HTTP response status code. + + + + + Gets the HTTP response reason phrase. + + + + + Gets the response content stream asynchronously. + + The content failed to load. + + A null stream means no content was found. Note content (if any) for redirect responses is ignored. + This method returns null if content size is more tha 123MB or for navigations that become downloads or if response is downloadable content type (e.g., application/octet-stream). See event to handle the response. + If this method is being called again before a first call has completed, it will complete at the same time all prior calls do. + If this method is being called after a first call has completed, it will return immediately (asynchronously). + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="WebResourceResponseReceived"::: + + + + + Event args for the event. + + + + + Gets the request object for the web resource, as committed. + + + This includes headers added by the network stack that were not be included during the associated event, such as Authentication headers. Modifications to this object have no effect on how the request is processed as it has already been sent. + + + + + Gets view of the response object received for the web resource. + + + + + An HTTP response used with the event. + + + + + Gets HTTP response content as stream. + + + Stream must have all the content data available by the time the event deferral of this response is completed. Stream should be agile or be created from a background thread to prevent performance impact to the UI thread. null means no content data. + + + + + + Gets the overridden HTTP response headers. + + + + + Gets or sets the HTTP response status code. + + + + + Gets or sets the HTTP response reason phrase. + + + + + Event args for the event. + + + + + Gets the web resource request. + + + The request object may be missing some headers that are added by network stack at a later time. + + + + + Gets or sets the object. + + + If this object is set, the event will be completed with this Response. + An empty object can be created with and then modified to construct the Response. + + + + + Gets the web resource request context. + + + + + Gets a object and put the event into a deferred state. + + + Use this to the event at a later time. + + + + + An HTTP request used with the event. + + + + + Gets or sets the request URI. + + + + + Gets or sets the HTTP request method. + + + + + Gets or sets the HTTP request message body as stream. + + + POST data should be here. If a stream is set, which overrides the message body, the stream must have all the content data available by the time the event deferral of this request is completed. Stream should be agile or be created from a background STA to prevent performance impact to the UI thread. null means no content data. + + + + + + Gets the mutable HTTP request headers. + + + + + Event args for the event. + + + Event args for the event. + + + + + Gets the URI of the document that sent this web message. + + + + + Gets the message posted from the WebView content to the host converted to a JSON string. + + + Run this operation to communicate using JavaScript objects. + + + For example, the following postMessage runs result in the following WebMessageAsJson values: + + + postMessage({'a': 'b'}) "{\"a\": \"b\"}" + postMessage(1.2) "1.2" + postMessage('example') "\"example\"" + + + + + + Gets the message posted from the WebView content to the host as a string. + + The message posted from the WebView content to the host. + The message posted is some other kind of JavaScript type. + + Run this operation to communicate using simple strings. + + + For example the following postMessage runs result in the following values returned by TryWebMessageAsString: + + + postMessage({'a': 'b'}) ArgumentException + postMessage(1.2) ArgumentException + postMessage('example') "example" + + + + + + Additional received WebMessage objects. + + + To pass AdditionalObjects via WebMessage to the app, use the chrome.webview.postMessageWithAdditionalObjects content API. Any DOM object type that can be natively representable that has been passed in to additionalObjects parameter will be accessible here. Currently a WebMessage object can be the type. + Entries in the collection can be nullptr if null or undefined was passed. Cast the object to the native type to access its specific properties. + + object additionalObject = eventArgs.AdditionalObjects[0]; + if (additionalObject is CoreWebView2File) + { + CoreWebView2File file = additionalObject as CoreWebView2File; + } else if ... + + + + + + Event args for the event. + + + + + true if the page being navigated to is a new document. + + + + + Defines properties that enable, disable, or modify WebView features. + + + Changes to and will take effect immediately, while other setting changes made after event do not apply until the next top-level navigation. + + + Defines properties that enable, disable, or modify WebView features. + + + Changes to and will take effect immediately, while other setting changes made after event do not apply until the next top-level navigation. + + + Defines properties that enable, disable, or modify WebView features. + + + Changes to and will take effect immediately, while other setting changes made after event do not apply until the next top-level navigation. + + + Defines properties that enable, disable, or modify WebView features. + + + Changes to and will take effect immediately, while other setting changes made after event do not apply until the next top-level navigation. + + + Defines properties that enable, disable, or modify WebView features. + + + Changes to and will take effect immediately, while other setting changes made after event do not apply until the next top-level navigation. + + + Defines properties that enable, disable, or modify WebView features. + + + Changes to and will take effect immediately, while other setting changes made after event do not apply until the next top-level navigation. + + + Defines properties that enable, disable, or modify WebView features. + + + Changes to and will take effect immediately, while other setting changes made after event do not apply until the next top-level navigation. + + + Defines properties that enable, disable, or modify WebView features. + + + Changes to and will take effect immediately, while other setting changes made after event do not apply until the next top-level navigation. + + + + + Determines whether running JavaScript is enabled in all future navigations in the WebView. + + + This only affects scripts in the document. Scripts injected with runs even if script is disabled. The default value is true. + + + + + Determines whether communication from the host to the top-level HTML document of the WebView is allowed. + + + This is used when loading a new HTML document. If set to true, communication from the host to the top-level HTML document of the WebView is allowed using , , and message event of window.chrome.webview. Communication from the top-level HTML document of the WebView to the host is allowed using window.chrome.webview.postMessage function and the event. If set to false, then communication is disallowed. and fail and window.chrome.webview.postMessage fails by throwing an instance of an Error object. The default value is true. + + + + + + + + Determines whether WebView renders the default JavaScript dialog box. + + + This is used when loading a new HTML document. If set to false, WebView does not render the default JavaScript dialog box (specifically those displayed by the JavaScript alert, confirm, prompt functions and beforeunload event). Instead, WebView raises event that contains all of the information for the dialog and allow the host app to show a custom UI. The default value is true. + + + + + + Determines whether the status bar is displayed. + + + The status bar is usually displayed in the lower left of the WebView and shows things such as the URI of a link when the user hovers over it and other information. The default value is true. The status bar UI can be altered by web content and should not be considered secure. + + + + + Determines whether the user is able to use the context menu or keyboard shortcuts to open the DevTools window. + + + The default value is true. + + + + + Determines whether the default context menus are shown to the user in WebView. + + + The default value is true. + + + + + Determines whether host objects are accessible from the page in WebView. + + + The default value is true. + + + + + Determines whether the user is able to impact the zoom of the WebView. + + + When disabled, the user is not able to zoom using Ctrl++, Ctr+-, or Ctrl+mouse wheel, but the zoom is set using property. The default value is true. + + + + + Determines whether to disable built in error page for navigation failure and render process failure. + + + When disabled, blank page is displayed when related error happens. The default value is true. + + + + + Determines WebView2's User Agent. + + + The default value is the default User Agent of the Edge browser. This property may be overridden if the User-Agent header is set in a request. If the parameter is empty the User Agent will not be updated and the current User Agent will remain. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="SetUserAgent"::: + + + + + Determines whether browser-specific accelerator keys are enabled. + + + When this setting is set to false, it disables all accelerator keys that access + features specific to a web browser, including but not limited to: + + + + Ctrl+F and F3 for Find on Page + + + Ctrl+P for Print + + + Ctrl+R and F5 for Reload + + + Ctrl+Plus and Ctrl+Minus for zooming + + + Ctrl+Shift-C and F12 for DevTools + + + Special keys for browser functions, such as Back, Forward, and Search + + + + It does not disable accelerator keys related to movement and text editing, such + as: + + + + Home, End, Page Up, and Page Down + + + Ctrl+X, Ctrl+C, Ctrl+V + + + Ctrl+A for Select All + + + Ctrl+Z for Undo + + + + Those accelerator keys will always be enabled unless they are handled in the event. + + This setting has no effect on the event. The event + will be fired for all accelerator keys, whether they are enabled or not. + + The default value of AreBrowserAcceleratorKeysEnabled is true. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="AllowWebViewShortcutKeys"::: + + + + + Determines whether password information will be autosaved. + + + When disabled, no new password data is saved and no Save/Update Password prompts are displayed. However, if there was password data already saved before disabling this setting, then that password information is auto-populated, suggestions are shown and clicking on one will populate the fields. + When enabled, password information is auto-populated, suggestions are shown and clicking on one will populate the fields, new data is saved, and a Save/Update Password prompt is displayed. The default value is false. It will apply immediately after setting. + This property has the same value as , and changing one will change the other. All WebView2s with the same will share the same value for this property, so for the WebView2s with the same profile, their and will always have the same value. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="PasswordAutosaveEnabled"::: + + + + + Determines whether general form information will be saved and autofilled. + + + General autofill information includes information like names, street and email addresses, phone numbers, and arbitrary input. This excludes password information. When disabled, no suggestions appear, and no new information is saved. + When enabled, information is saved, suggestions appear, and clicking on one will populate the form fields. The default value is true. It will apply immediately after setting. + This property has the same value as , and changing one will change the other. And all WebView2s that created with the same will share the same value for this property, so for the WebView2s with the same profile, their and will always have the same value. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="GeneralAutofillEnabled"::: + + + + + + Determines the ability of the end users to use pinching motions on touch input enabled devices to scale the web content in the WebView2. + + + When disabled, the end users cannot use pinching motions on touch input enabled devices to scale the web content in the WebView2. The default value is true. + Pinch-zoom, referred to as "Page Scale" zoom, is performed as a post-rendering step, it changes the page scale factor property and scales the surface the web page is rendered onto when user performs a pinch zooming action. It does not change the layout but rather changes the viewport and clips the web content, the content outside of the viewport isn't visible onscreen and users can't reach this content using mouse. This API only affects the Page Scale zoom and has no effect on the existing browser zoom properties ( and ) or other end user mechanisms for zooming. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="TogglePinchZoomEnabled"::: + + + + + Determines whether the end user to use swiping gesture on touch input enabled devices to navigate in WebView2. + + + Swiping gesture navigation on touch screen includes: + + + Swipe left/right (swipe horizontally) to navigate to previous/next page in navigation history. + + + Pull to refresh (swipe vertically) the current page. (This feature is currently disabled by default in the browser, to enable in WebView2, set property with --pull-to-refresh switch). + + + It defaults to true. When set to false, the end user cannot swipe to navigate or pull to refresh. This API only affects the overscrolling navigation functionality and has no effect on the scrolling interaction used to explore the web content shown in WebView2. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="ToggleSwipeNavigationEnabled"::: + + + + + Used to customize the PDF toolbar items. + + + By default, it is and so it displays all of the items. + Changes to this property apply to all CoreWebView2s in the same environment and using the same profile. + Changes to this setting apply only after the next navigation. + + + :::code language="csharp" source="../code/sample/SampleApps/WebView2WpfBrowser/MainWindow.xaml.cs" id="ToggleHiddenPdfToolbarItems"::: + + + + + Determines whether SmartScreen is enabled when visiting web pages + + + The default value is true. + IsReputationCheckingRequired is used to control whether SmartScreen is enabled or not. + SmartScreen is enabled or disabled for all CoreWebView2s using the same user data folder. + If CoreWebView2Setting.IsReputationCheckingRequired is true for any CoreWebView2 using the same user data folder, then SmartScreen is enabled. If CoreWebView2Setting.IsReputationCheckingRequired is false for all CoreWebView2 using the same user data folder, then SmartScreen is disabled. + When it is changed, the change will be applied to all WebViews using the same user data folder on the next navigation or download. + If the newly created CoreWebview2 does not set SmartScreen to false, when navigating(Such as Navigate(), LoadDataUrl(), ExecuteScript(), etc.), the default value will be applied to all CoreWebview2 using the same user data folder. + + + + + Event args for the event. + + + + + The TLS error code for the invalid certificate. + + + + + URI associated with the request for the invalid certificate. + + + + + Returns the . + + + + + The action of the server certificate error detection. + + + The default value is . + + + + + Gets a object. + + + Use this to the event at a later time. + + + + + Event args for the event. + + + + + Gets the URI of the page that requested the dialog box. + + + + + Gets the kind of JavaScript dialog box. + + + + + + Gets the message of the dialog box. + + + From JavaScript this is the first parameter passed to alert, confirm, and prompt and is empty for beforeunload. + + + + + Gets the default value to use for the result of the prompt JavaScript function. + + + This is the second parameter passed to the JavaScript prompt dialog. + + + + + Gets or sets the return value from the JavaScript prompt function if is run. + + + This value is ignored for s other than . If is not run, this value is ignored and false is returned from prompt. + + + + + + Responds with **OK** to confirm, prompt, and beforeunload dialogs. Not run this method to indicate cancel. + + + From JavaScript, this means that the confirm function and beforeunload event returns true if Accept is run. And for the prompt function it returns the value of if Accept is run and otherwise returns false. + + + + + Gets a object. + + + Use this to the event at a later time. + + + + + Provides a set of properties for a process list in the . + + + + + Get the process id of the process. + + + + + Get the kind of the process. + + + + + Event args for the event. + + + Event args for the event. + + + + + Gets the kind of process failure that has occurred. + + + ProcessFailedKind is if the failed process is the main frame's renderer, even if there were subframes rendered by such process; all frames are gone when this happens. + + + + + Gets the reason for the process failure. + + + The reason is always when is , and when is . For other process failure kinds, the reason may be any of the reason values. + + + + + Gets the exit code of the failing process, for telemetry purposes. + + + The exit code is always 1 when is , and STILL_ACTIVE(259) when is . + + + + + Gets a description of the failing process, assigned by the WebView2 Runtime. + + + This is a technical English term appropriate for logging or development purposes, and not localized for the end user. It applies to utility processes (for example, "Audio Service", "Video Capture") and plugin processes (for example, "Flash"). The returned string is empty if the WebView2 Runtime did not assign a description to the process. + + + + + Gets the collection of s for frames in the that were being rendered by the failed process. + + + The content in these frames is replaced with an error page. + This is only available when is ; the returned collection is empty for all other process failure kinds, including the case in which the failed process was the renderer for the main frame and subframes within it, for which the failure kind is . + + + + + Settings used by the method. Other programmatic printing is not currently supported. + + + Settings used by the method. Other programmatic printing is not currently supported. + + + + + The orientation can be portrait or landscape. + + + The default orientation is portrait. See . + + + + + The scale factor is a value between 0.1 and 2.0. + + + The default is 1.0. If an invalid value is provided, the current value is not changed and an ArgumentException is thrown. + + + + + The page width in inches. + + + The default width is 8.5 inches. If the provided page width is less than or equal to zero, the current value is not changed and an ArgumentException is thrown. + + + + + The page height in inches. + + + The default height is 11 inches. If the provided page height is less than or equal to zero, the current value is not changed and an ArgumentException is thrown. + + + + + The top margin in inches. + + + The default is 1 cm, or ~0.4 inches. A margin cannot be less than zero. If an invalid value is provided, the current value is not changed and an ArgumentException is thrown. + + + + + The bottom margin in inches. + + + The default is 1 cm, or ~0.4 inches. A margin cannot be less than zero. If an invalid value is provided, the current value is not changed and an ArgumentException is thrown. + + + + + The left margin in inches. + + + The default is 1 cm, or ~0.4 inches. A margin cannot be less than zero. If an invalid value is provided, the current value is not changed and an ArgumentException is thrown. + + + + + The right margin in inches. + + + The default is 1 cm, or ~0.4 inches. A margin cannot be less than zero. If an invalid value is provided, the current value is not changed and an ArgumentException is thrown. + + + + + true if background colors and images should be printed. + + + The default value is false. + + + + + true if only the current end user's selection of HTML in the document should be printed. + + + The default value is false. + + + + + true if header and footer should be printed. + + + The default value is false. The header consists of the date and time of printing, and the title of the page. The footer consists of the URI and page number. The height of the header and footer is 0.5 cm, or ~0.2 inches. + + + + + The title in the header if is true. + + + The default value is the title of the current document. If an empty string or null value is provided, no title is shown in the header. + + + + + The URI in the footer if is true. + + + The default value is the current URI. If an empty string or null value is provided, no URI is shown in the footer. + + + + + Page range to print. Defaults to empty string, which means print all pages. + + + The PageRanges property is a list of page ranges specifying one or more pages that should be printed separated by commas. Any whitespace between page ranges is ignored. + A valid page range is either a single integer identifying the page to print, or a range in the form [start page]-[last page] where start page and last page are integers identifying the first and last inclusive pages respectively to print. + Every page identifier is an integer greater than 0 unless wildcards are used (see below examples). + The first page is 1. + + In a page range of the form [start page]-[last page] the start page number must be larger than 0 and less than or equal to the document's total page count. + If the start page is not present, then 1 is used as the start page. + The last page must be larger than the start page. + If the last page is not present, then the document total page count is used as the last page. + + Repeating a page does not print it multiple times. To print multiple times, use the property. + + The pages are always printed in ascending order, even if specified in non-ascending order. + + If page range is not valid or if a page is greater than document total page count, ArgumentException is thrown. + + The following examples assume a document with 20 total pages. + + + + Example + Result + Notes + + + "2" + Page 2 + + + + "1-4, 9, 3-6, 10, 11" + Pages 1-6, 9-11 + + + + "1-4, -6" + Pages 1-6 + The "-6" is interpreted as "1-6". + + + "2-" + Pages 2-20 + The "2-" is interpreted as "pages 2 to the end of the document". + + + "4-2, 11, -6" + Invalid + "4-2" is an invalid range. + + + "-" + Pages 1-20 + The "-" is interpreted as "page 1 to the end of the document". + + + "1-4dsf, 11" + Invalid + + + + "2-2" + Page 2 + + + + + + + + Prints multiple pages of a document on a single piece of paper. Choose from 1, 2, 4, 6, 9 or 16. + + + The default value is 1. + + If an invalid value is provided, ArgumentException is thrown. + + Below examples shows print output for PagesPerSide and Duplex. + + + + PagesPerSide + Total pages + Two-sided printing + Result + + + 1 + 1 + - + 1 page on the front side. + + + 2 + 1 + Yes + 1 page on the front side. + + + 2 + 4 + - + 2 pages on the first paper and 2 pages on the next paper. + + + 2 + 4 + Yes + 2 pages on the front side and 2 pages on back side. + + + 4 + 4 + Yes + 4 pages on the front side. + + + 4 + 8 + Yes + 4 pages on the front side and 4 pages on the back side. + + + + + + + Number of copies to print. Minimum value is 1 and the maximum copies count is 999. + + + The default value is 1. + + + + + Printer collation. + + + See for descriptions of collation. The default value is . + + Printing uses default value of printer's collation if an invalid value is provided for the specific printer. + + This value is ignored in method. + + + + + Printer color mode. + + + See for descriptions of color modes. The default value is . + + Printing uses default value of printer supported color if an invalid value is provided for the specific printer. + + + + + Printer duplex settings. + + + See for descriptions of duplex. The default value is . + + Printing uses default value of printer's duplex if an invalid value is provided for the specific printer. + + This value is ignored in method. + + + + + Printer media size. + + + See for descriptions of media size. The default value is . + + If media size is , you should set the and . + + Printing uses default value of printer supported media size if an invalid value is provided for the specific printer. + + This value is ignored in method. + + + + + The name of the printer to use. + + + Defaults to empty string. If the printer name is empty string or null, then it prints to the default printer on the user OS. + + If provided printer name doesn't match with the name of any installed printers on the user OS, the method returns with . + + Use [PrintCapabilities](/dotnet/api/system.printing.printcapabilities?view=windowsdesktop-6.0) class to enumerate available printers. + + This value is ignored in method. + + + + + This mostly represents a combined win32 POINTER_INFO, POINTER_TOUCH_INFO, and POINTER_PEN_INFO object. + + + + + Gets or sets the PointerKind of the pointer event. + + + This corresponds to the pointerKind property of the POINTER_INFO struct. The values are defined by the POINTER_INPUT_KIND enum in the Windows SDK (_winuser.h_). Supports PT_PEN and PT_TOUCH. + + + + + Gets or sets the PointerId of the pointer event. + + + This corresponds to the pointerId property of the POINTER_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the FrameID of the pointer event. + + + This corresponds to the frameId property of the POINTER_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the PointerFlags of the pointer event. + + + This corresponds to the pointerFlags property of the POINTER_INFO struct. The values are defined by the POINTER_FLAGS constants in the Windows SDK (_winuser.h_). + + + + + Gets or sets the PointerDeviceRect of the sourceDevice property of the POINTER_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the DisplayRect of the sourceDevice property of the POINTER_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the PixelLocation of the pointer event. + + + This corresponds to the ptPixelLocation property of the POINTER_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the HimetricLocation of the pointer event. + + + This corresponds to the ptHimetricLocation property of the POINTER_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the PixelLocationRaw of the pointer event. + + + This corresponds to the ptPixelLocationRaw property of the POINTER_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the HimetricLocationRaw of the pointer event. + + + This corresponds to the ptHimetricLocationRaw property of the POINTER_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the Time of the pointer event. + + + This corresponds to the dwTime property of the POINTER_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the HistoryCount of the pointer event. + + + This corresponds to the historyCount property of the POINTER_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the InputData of the pointer event. + + + This corresponds to the InputData property of the POINTER_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the KeyStates of the pointer event. + + + This corresponds to the dwKeyStates property of the POINTER_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the PerformanceCount of the pointer event. + + + This corresponds to the PerformanceCount property of the POINTER_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the ButtonChangeKind of the pointer event. + + + This corresponds to the ButtonChangeKind property of the POINTER_INFO struct. The values are defined by the POINTER_BUTTON_CHANGE_KIND enum in the Windows SDK (_winuser.h_). + + + + + Gets or sets the PenFlags of the pointer event. + + + This corresponds to the penFlags property of the POINTER_PEN_INFO struct. The values are defined by the PEN_FLAGS constants in the Windows SDK (_winuser.h_). + + + + + Gets or sets the PenMask of the pointer event. + + + This corresponds to the penMask property of the POINTER_PEN_INFO struct. The values are defined by the PEN_MASK constants in the Windows SDK (_winuser.h_). + + + + + Gets or sets the PenPressure of the pointer event. + + + This corresponds to the pressure property of the POINTER_PEN_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the PenRotation of the pointer event. + + + This corresponds to the rotation property of the POINTER_PEN_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the PenTiltX of the pointer event. + + + This corresponds to the tiltX property of the POINTER_PEN_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the PenTiltY of the pointer event. + + + This corresponds to the tiltY property of the POINTER_PEN_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the TouchFlags of the pointer event. + + + This corresponds to the touchFlags property of the POINTER_TOUCH_INFO struct. The values are defined by the TOUCH_FLAGS constants in the Windows SDK (_winuser.h_). + + + + + Gets or sets the TouchMask of the pointer event. + + + This corresponds to the touchMask property of the POINTER_TOUCH_INFO struct. The values are defined by the TOUCH_MASK constants in the Windows SDK (_winuser.h_). + + + + + Gets or sets the TouchContact of the pointer event. + + + This corresponds to the rcContact property of the POINTER_TOUCH_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the TouchContactRaw of the pointer event. + + + This corresponds to the rcContactRaw property of the POINTER_TOUCH_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the TouchOrientation of the pointer event. + + + This corresponds to the orientation property of the POINTER_TOUCH_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Gets or sets the TouchPressure of the pointer event. + + + This corresponds to the pressure property of the POINTER_TOUCH_INFO struct as defined in the Windows SDK (_winuser.h_). + + + + + Provides a set of properties for a permission setting. + + + + + The kind of the permission setting. + + + + + The origin of the permission setting. + + + + + The state of the permission setting. + + + + + + Event args for the event. + + + Event args for the event. + + + Event args for the event. + + + + + Gets the origin of the web content that requests the permission. + + + + + Gets the kind of the permission that is requested. + + + + + true when the permission request was initiated through a user gesture such as clicking an anchor tag with target. + + + Being initiated through a user gesture does not mean that user intended to access the associated resource. + + + + + Gets or sets the status of a permission request. For example, whether the request is granted. + + + The default value is . + + + + + Gets a object. + + + Use the deferral object to make the permission decision at a later time. The deferral only applies to the current request, and does not prevent the PermissionRequested event from getting raised for new requests. However, for some permission kinds the WebView will avoid creating a new request if there is a pending request of the same kind. + + + + + The host may set this flag to TRUE to prevent the PermissionRequested event from firing on the CoreWebView2 as well. + + By default, both the PermissionRequested on the CoreWebView2Frame and CoreWebView2 will be fired. + + + + Set the SavesInProfile property to FALSE to not persist the state beyond the current request, and to continue to receive PermissionRequested events for this origin and permission kind. + + + The permission state set from the PermissionRequested event is saved in the profile by default; it is persisted across sessions and becomes the new default behavior for future PermissionRequested events. Browser heuristics can affect whether the event continues to be raised when the state is persisted. + + + + + Event args for the event. + + + Event args for the event. + + + + + Gets the target uri of the new window request. + + + + + Gets the new window or sets a WebView as a result of the new window requested. + + + Provides a WebView as the target for a window.open() from inside the requesting WebView. If this is set, the top-level window of this WebView is returned as the opened [WindowProxy](https://developer.mozilla.org/docs/glossary/windowproxy) to the opener script. If this is not set, then is checked to determine behavior for the . + The methods which should affect the new web contents like has to be called and completed before setting NewWindow. Other methods which should affect the new web contents like have to be called after setting NewWindow. It is best not to use before setting NewWindow, otherwise it may not work for later added scripts. + WebView provided in the NewWindow property must be on the same as the opener WebView and cannot be navigated. Changes to settings should be made before setting NewWindow to ensure that those settings take effect for the newly setup WebView. The new WebView must have the same profile as the opener WebView. + + + + + Indicates whether the event is handled by host. + + + If this is false and no is set, the WebView opens a popup window and returns the opened WindowProxy to the opener script. Note that in this case, there is no avenue to control the popup window from the app. If set to true and no is set for window.open(), the opened proxy is for a dummy window object, but this window does not load and is immediately closed. The default value is false. + + + + + true when the new window request was initiated through a user gesture such as selecting an anchor tag with target. + + + The Microsoft Edge popup blocker is disabled for WebView so the app is able to use this flag to block non-user initiated popups. + + + + + Gets the window features specified by the window.open() call. These features should be considered for positioning and sizing of new WebView windows. + + + + + Gets a object and put the event into a deferred state. + + + Use this to the window open request at a later time. While this event is deferred the opener window returns a WindowProxy to an un-navigated window, which navigates when the deferral is complete. + + + + + Gets the name of the new window. + + + This window can be created via window.open(url, windowName), where the windowName parameter corresponds to Name property. + If no windowName is passed to window.open, then the Name property will be set to an empty string. Additionally, if window is opened through other means, such as <a target="windowName"> or <iframe name="windowName">, then the Name property will be set accordingly. In the case of target=_blank, the Name property will be an empty string. + Opening a window via Ctrl+clicking a link would result in the Name property being set to an empty string. + + + + + Event args for the event. + + + Event args for the event. + + + + + Gets the uri of the requested navigation. + + + + + true when the new window request was initiated through a user gesture. + + + Examples of user initiated requests are: + - Selecting an anchor tag with target + - Programmatic window open from a script that directly run as a result of user interaction such as via onclick handlers. + Non-user initiated requests are programmatic window opens from a script that are not directly triggered by user interaction, such as those that run while loading a new page or via timers. + The Microsoft Edge popup blocker is disabled for WebView so the app is able to use this flag to block non-user initiated popups. + + + + + true when the navigation is redirected. + + + + + Gets the HTTP request headers for the navigation. + + + Note, you are not able to modify the HTTP request headers in a event. + + + + + + Determines whether to cancel the navigation. + + + If set to true, the navigation is no longer present and the content of the current page is intact. For performance reasons, GET HTTP requests may happen, while the host is responding. You may set cookies and use part of a request for the navigation. Cancellation for navigation to about:blank or frame navigation to srcdoc is not supported and ignored. + + + + + Gets the ID of the navigation. + + + + + Additional allowed frame ancestors set by the host app. + + + The app may set this property to allow a frame to be embedded by additional ancestors besides what is allowed by http header [X-Frame-Options](https://developer.mozilla.org/docs/Web/HTTP/Headers/X-Frame-Options) and [Content-Security-Policy frame-ancestors directive](https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors). + If set, a frame ancestor is allowed if it is allowed by the additional allowed frame ancestors or original http header from the site. + Whether an ancestor is allowed by the additional allowed frame ancestors is done the same way as if the site provided it as the source list of the Content-Security-Policy frame-ancestors directive. + For example, if https://example.com and https://www.example.com are the origins of the top page and intermediate iframes that embed a nested site-embedding iframe, and you fully trust those origins, you should set this property to https://example.com https://www.example.com. + + This property gives the app the ability to use iframe to embed sites that otherwise could not be embedded in an iframe in trusted app pages. + This could potentially subject the embedded sites to [Clickjacking](https://wikipedia.org/wiki/Clickjacking) attack from the code running in the embedding web page. Therefore, you should only set this property with origins of fully trusted embedding page and any intermediate iframes. + Whenever possible, you should use the list of specific origins of the top and intermediate frames instead of wildcard characters for this property. + This API is to provide limited support for app scenarios that used to be supported by <webview> element in other solutions like JavaScript UWP apps and Electron. + You should limit the usage of this property to trusted pages, and specific navigation target url, by checking the , and . + + This property is ignored for top level document navigation. + + + + + Event args for the event. + + + Event args for the event. + + + + + true when the navigation is successful; false for a navigation that ended up in an error page (failures due to no network, DNS lookup failure, HTTP server responds with 4xx). Note that WebView2 will report the navigation as 'unsuccessful' if the load for the navigation did not reach the expected completion for any reason. Such reasons include potentially catastrophic issues such network and certificate issues, but can also be the result of intended actions such as the app canceling a navigation or navigating away before the original navigation completed. Applications should not just rely on this flag, but also consider the reported WebErrorStatus to determine whether the failure is indeed catastrophic in their context. + + + WebErrorStatuses that may indicate a non-catastrophic failure include: + + + + + + + + + + + + + + This may also be false for additional scenarios such as window.stop() run on navigated page. + + + + + Gets the error code if the navigation failed. + + + + + Gets the ID of the navigation. + + + + + The HTTP status code of the navigation if it involved an HTTP request. For instance, this will usually be 200 if the request was successful, 404 if a page was not found, etc. See https://developer.mozilla.org/docs/Web/HTTP/Status for a list of common status codes. + + + The HttpStatusCode property will be 0 in the following cases: + + + The navigation did not involve an HTTP request. For instance, if it was a navigation to a file:// URL, or if it was a same-document navigation. + + + The navigation failed before a response was received. For instance, if the hostname was not found, or if there was a network error. + + + In those cases, you can get more information from the and properties. + + If the navigation receives a successful HTTP response, but the navigated page calls window.stop() before it finishes loading, then HttpStatusCode may contain a success code like 200, but will be false and will be . + + Since WebView2 handles HTTP continuations and redirects automatically, it is unlikely for HttpStatusCode to ever be in the 1xx or 3xx ranges. + + + + + Event args for the event. + + + + + Gets the reason for WebView to raise the event. + + + + + Indicates whether the event has been handled by the app. + + + If the app has moved the focus to another desired location, it should set Handled property to true. When Handled property is false after the event handler returns, default action is taken. The default action is to try to find the next tab stop child window in the app and try to move focus to that window. If no other window exists to move focus, focus is cycled within the web content of the WebView. + + + + + Event args for the event. + + + + + Gets the URI with the external URI scheme to be launched. + + + + + Gets the origin initiating the external URI scheme launch. + + + The origin will be an empty string if the request is initiated by calling on the external URI scheme. If a script initiates the navigation, the `InitiatingOrigin` will be the top-level document's `Source`, i.e. if `window.location` is set to `"calculator://", the `InitiatingOrigin` will be set to `calculator://`. If the request is initiated from a child frame, the `InitiatingOrigin` will be the source of that child frame. + + + + + true when the launching external URI scheme request was initiated through a user gesture. + + + + + Determines whether to cancel the navigation. + + + + + Gets a object and put the event into a deferred state. + + + Use this to the launching external URI scheme request at a later time. + + + + + Provides a set of properties for a frame in the . + + + + + Gets the name attribute of the frame, as in <iframe name="frame-name" ...>. + + + The returned string is empty when the frame has no name attribute. + + + + + The URI of the document in the frame. + + + + + Event args for the event. + + + + + Gets the created frame. + + + + + + Representation of a DOM[File](https://developer.mozilla.org/docs/Web/API/File) object passed via WebMessage. + + + You can use this object to obtain the path of a File dropped on WebView2. + + + + + The absolute file path. + + + + + Event args for the event. + + + + + Returns the for the download that has started. + + + + + Indicates whether to cancel the download. + + + If canceled, the download save dialog is not displayed regardless of the value and the state is changed to with interrupt reason . + + + + + The path to the file. + + + If setting the path, the host should ensure that it is an absolute path, including the file name, and that the path does not point to an existing file. If the path points to an existing file, the file will be overwritten. If the directory does not exist, it is created. + + + + + Indicates whether to hide the default download dialog. + + + If set to true, the default download dialog is hidden for this download. The download progresses normally if it is not canceled, there will just be no default UI shown. By default the value is false and the default download dialog is shown. + + + + + Gets a object. + + + Use this to the event at a later time. + + + + + Event args for the event. + + + + + Gets the ID of the navigation. + + + + + A Receiver is created for a particular DevTools Protocol event and allows you to subscribe and unsubscribe from that event. + + + Obtained from the WebView object using . + + + + + + DevToolsProtocolEventReceived is raised when the corresponding DevToolsProtocol event is raised. + + + + + + Event args for the event. + + + Event args for the event. + + + + + Gets the parameter object of the corresponding DevToolsProtocol event represented as a JSON string. + + + + + Gets the sessionId of the target where the event originates from. Empty string is returned as sessionId if the event comes from the default session for the top page. + + + + + Represents the information regarding the context menu target. Includes the context selected and the appropriate data used for the actions of a context menu. + + + + + Gets the kind of context that the user selected as . + + + + + Returns true if the context menu is requested on an editable component. + + + + + Returns true if the context menu was requested on the main frame and false if invoked on another frame. + + + + + Gets the uri of the page. + + + + + Gets the uri of the frame. Will match the if is true. + + + + + Returns true if the context menu is requested on HTML containing an anchor tag. + + + + + Gets the uri of the link (if is true, null otherwise). + + + + + Returns true if the context menu is requested on text element that contains an anchor tag. + + + + + Gets the text of the link (if is true, null otherwise). + + + + + Returns true if the context menu is requested on HTML containing a source uri. + + + + + Gets the active source uri of element (if is true, null otherwise). + + + + + Returns true if the context menu is requested on a selection. + + + + + Gets the selected text (if is true, null otherwise). + + + + + Event args for the event. + + + Will contain the selection information and a collection of all of the default context menu items that the WebView would show. Allows the app to draw its own context menu or add/remove from the default context menu. + + + + + Gets the collection of objects. + + + + + Gets the target information associated with the requested context menu. + + + + + + Gets the coordinates where the context menu request occurred in relation to the upper left corner of the WebView bounds. + + + + + Gets or sets the selected 's . + + + When the app handles the event, it can set this to report the selected command from the context menu. The default value is -1 which means that no selection occurred. The app can also set the command ID for a custom context menu item, which will cause the event to be fired, however while command IDs for each custom context menu item is unique during a ContextMenuRequested event, WebView may reassign command ID values of deleted custom ContextMenuItems to new objects and the command ID assigned to the same custom item can be different between each app runtime. The command ID should always be obtained via the property. + + + + + Gets or sets whether the event is handled by host after the event handler completes or after the deferral is completed if there is a taken . + + + If Handled is set to true then WebView2 will not display a context menu and will instead use the property to indicate which, if any, context menu item to invoke. If after the event handler or deferral completes, Handled is set to false then WebView will display a context menu based on the contents of the property. The default value is false. + + + + + Returns a object. + + + Use this operation to complete the event when the custom context menu is closed. + + + + + Represents a context menu item of a context menu displayed by WebView. + + + + + Gets the unlocalized name for the . + + + Use this to distinguish between context menu item types. This will be the English label of the menu item in lower camel case. For example, the "Save as" menu item will be "saveAs". Extension menu items will be "extension", custom menu items will be "custom" and spellcheck items will be "spellCheck". + Some example context menu item names are: + + + + "saveAs" + + + "copyImage" + + + "openLinkInNewWindow" + + + + + + + Gets the localized label for the . Will contain an ampersand for characters to be used as keyboard accelerator. + + + + + Gets the Command ID for the . + + + Use this to report the in event. + + + + + Gets the localized keyboard shortcut for this . + + + It will be the empty string if there is no keyboard shortcut. This is text intended to be displayed to the end user to show the keyboard shortcut. For example this property is Ctrl+Shift+I for the "Inspect" . + + + + + Gets the Icon for the in PNG, Bitmap or SVG formats in the form of an IStream. + + + Stream will be rewound to the start of the image data before being read. + + + + + Gets the kind of as . + + + + + Gets or sets the enabled property of the . Must only be used in the case of a custom context menu item. + + + The default value for this is true. + + + + + Gets or sets the checked property of the . + + + Must only be used for custom context menu items that are of kind or . + + + + + Gets the list of children menu items if the kind is . + + + If the kind is not , will return null. + + + + + CustomItemSelected event is raised when the user selects this . + + + Will only be raised for end developer created context menu items. + + + + + Event args for the event. + + + + + true if the loaded content is an error page. + + + + + Gets the ID of the navigation. + + + + + This class is an extension of the class to support visual hosting. + + + This class is an extension of the class to support visual hosting. + + + This class is an extension of the class to support visual hosting. + + + + + Gets or sets the root visual in the hosting app's visual tree. + + + This visual is where the WebView will connect its visual tree. The app uses this visual to position the WebView within the app. The app still needs to use the property to size the WebView. The RootVisualTarget property can be an IDCompositionVisual or a Windows::UI::Composition::ContainerVisual. WebView will connect its visual tree to the provided visual before returning from the property setter. The app needs to commit on its device setting the RootVisualTarget property. The RootVisualTarget property supports being set to null to disconnect the WebView from the app's visual tree. + + + + + Gets the current cursor that WebView thinks it should be. + + + The cursor should be set in WM_SETCURSOR through Mouse.SetCursor or set on the corresponding parent/ancestor HWND of the WebView through ::SetClassLongPtr. The HCURSOR can be freed so CopyCursor/DestroyCursor is recommended to keep your own copy if you are doing more than immediately setting the cursor. + + + + + Gets the current system cursor ID reported by the underlying rendering engine for WebView. + + + + + The event is raised when WebView thinks the cursor should be changed. + + + For example, when the mouse cursor is currently the default cursor but is then moved over text, it may try to change to the IBeam cursor. + It is expected for the developer to send messages (in addition to messages) through . This is to ensure that the mouse is actually within the WebView that sends out CursorChanged events. + + + + + Sends mouse input to the WebView. + + The mouse event kind. + The virtual keys associated with the eventKind. + The amount of wheel movement. + The absolute position of the mouse, or the amount of motion since the last mouse event was generated, depending on the eventKind. + + If eventKind is or , then mouseData specifies the amount of wheel movement. + A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user. One wheel click is defined as WHEEL_DELTA, which is 120. If eventKind is , , or , then mouseData specifies which X buttons were pressed or released. This value should be 1 if the first X button is pressed/released and 2 if the second X button is pressed/released. If eventKind is , then virtualKeys, mouseData, and point should all be zero. If eventKind is any other value, then mouseData should be zero. point is expected to be in the client coordinate space of the WebView. To track mouse events that start in the WebView and can potentially move outside of the WebView and host application, calling SetCapture and ReleaseCapture is recommended. To dismiss hover popups, it is also recommended to send messages. + + + + + Sends pen or pointer input to the WebView. + + The pointer event kind. + The pointer information. + + Accepts touch or pen pointer input of kinds defined in . + Any pointer input from the system must be converted into a first. + + + + + Call this method to inform the CoreWebView2CompositionController that a drag operation has left the WebView. + + + Corresponds to the [ICoreDropOperationTarget.LeaveAsync](/uwp/api/windows.applicationmodel.datatransfer.dragdrop.core.icoredropoperationtarget.leaveasync) method when performing a drag operation into the WebView. + + + + + Event args for the event. + + + + + Returns host name of the server that requested client certificate authentication. + + + Normalization rules applied to the hostname are: + + + + Convert to lowercase characters for ascii characters. + + + Punycode is used for representing non ascii characters. + + + Strip square brackets for IPV6 address. + + + + + + + Returns port of the server that requested client certificate authentication. + + + + + Returns true if the server that issued this request is an http proxy. Returns false if the server is the origin server. + + + + + The list contains Base64 encoding of DER encoded distinguished names of certificate authorities allowed by the server. + + + + + Returns the list of when client certificate authentication is requested. The list contains mutually trusted CA certificate. + + + + + Selected certificate to respond to the server. + + + + + Indicates whether to cancel the certificate selection. + + + If canceled, the request is aborted regardless of the property. By default the value is false. + + + + + Indicates whether the event has been handled by host. + + + Set to true to respond to the server with or without a certificate. If this flag is true with a it responds to the server with the selected certificate otherwise respond to the server without a certificate. By default the value of and are false and display default client certificate selection dialog prompt to allow the user to choose a certificate. The is ignored unless is set to true. + + + + + Gets a object. + + + Use this to the event at a later time. + + + + + Event args for the event. + + + + + The kind of browser process exit that has occurred. + + + + + The process ID of the browser process that has exited. + + + + + Represents a Basic HTTP authentication response that contains a user name and a password as according to RFC7617 (https://tools.ietf.org/html/rfc7617) + + + + + User name provided for authentication. + + + + + Password provided for authentication. + + + + + Event args for the BasicAuthenticationRequested event. Will contain the request that led to the HTTP authorization challenge, the challenge and allows the host to provide authentication response or cancel the request. + + + + + The URI that led to the authentication challenge. For proxy authentication requests, this will be the URI of the proxy server. + + + + + The authentication challenge string. + + + + + Response to the authentication request with credentials. + + + This object will be populated by the app if the host would like to provide authentication credentials. + + + + + Indicates whether to cancel the authentication request. + + + false by default. If set to true, Response will be ignored. + + + + + Gets a object. + + + Use this Deferral to defer the decision to show the Basic Authentication dialog. + + + + + Event args for the event. + + + + + Gets the key event kind that caused the event to run. + + + + + Gets the Win32 virtual key code of the key that was pressed or released. + + + It is one of the Win32 virtual key constants such as VK_RETURN or an (uppercase) ASCII value such as 'A'. Verify whether Ctrl or Alt are pressed by running GetKeyState(VK_CONTROL) or GetKeyState(VK_MENU). + + + + + Gets the LPARAM value that accompanied the window message. + + + See the documentation for the WM_KEYDOWN and WM_KEYUP messages. + + + + + Gets a representing the information passed in the LPARAM of the window message. + + + + + Indicates whether the event is handled by host. + + + If set to true then this prevents the WebView from performing the default action for this accelerator key. Otherwise the WebView will perform the default action for the accelerator key. + + + + diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/Microsoft.Web.WebView2.WinForms.dll b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/Microsoft.Web.WebView2.WinForms.dll new file mode 100644 index 0000000..646317d Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/Microsoft.Web.WebView2.WinForms.dll differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/Microsoft.Web.WebView2.WinForms.xml b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/Microsoft.Web.WebView2.WinForms.xml new file mode 100644 index 0000000..8bce676 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/Microsoft.Web.WebView2.WinForms.xml @@ -0,0 +1,504 @@ + + + + Microsoft.Web.WebView2.WinForms + + + + + This class is a bundle of the most common parameters used to create and instances. + Its main purpose is to be set to in order to customize the environment and/or controller used by a during implicit initialization. + + + This class isn't intended to contain all possible environment or controller customization options. + If you need complete control over the environment and/or controller used by a WebView2 control then you'll need to initialize the control explicitly by + creating your own environment (with ) and/or controller options (with ) and passing them to + *before* you set the property to anything. + See the class documentation for an initialization overview. + + + + + Creates a new instance of with default data for all properties. + + + + + Gets or sets the value to pass as the browserExecutableFolder parameter of when creating an environment with this instance. + + + + + Gets or sets the value to pass as the userDataFolder parameter of when creating an environment with this instance. + + + + + Gets or sets the value to use for the Language property of the CoreWebView2EnvironmentOptions parameter passed to when creating an environment with this instance. + + + + + Gets or sets the value to use for the ProfileName property of the CoreWebView2ControllerOptions parameter passed to CreateCoreWebView2ControllerWithOptionsAsync when creating an controller with this instance. + + + + + Gets or sets the value to pass as the AdditionalBrowserArguments parameter of which is passed to when creating an environment with this instance. + + + + + Gets or sets the value to use for the IsInPrivateModeEnabled property of the CoreWebView2ControllerOptions parameter passed to CreateCoreWebView2ControllerWithOptionsAsync when creating an controller with this instance. + + + + + Create a using the current values of this instance's properties. + + A task which will provide the created environment on completion, or null if no environment-related options are set. + + As long as no other properties on this instance are changed, repeated calls to this method will return the same task/environment as earlier calls. + If some other property is changed then the next call to this method will return a different task/environment. + + + + + Creates a using the current values of this instance's properties. + + A object or null if no controller-related properties are set. + Thrown if the parameter environment is null. + + + + Control to embed WebView2 in WinForms. + + + + + Create a new WebView2 WinForms control. + After construction the property is null. + Call to initialize the underlying . + + + This control is effectively a wrapper around the WebView2 COM API, which you can find documentation for here: https://aka.ms/webview2 + You can directly access the underlying ICoreWebView2 interface and all of its functionality by accessing the property. + Some of the most common COM functionality is also accessible directly through wrapper methods/properties/events on the control. + + Upon creation, the control's CoreWebView2 property will be null. + This is because creating the CoreWebView2 is an expensive operation which involves things like launching Edge browser processes. + There are two ways to cause the CoreWebView2 to be created: + 1) Call the method. This is referred to as explicit initialization. + 2) Set the property. This is referred to as implicit initialization. + Either option will start initialization in the background and return back to the caller without waiting for it to finish. + To specify options regarding the initialization process, either pass your own to EnsureCoreWebView2Async or set the control's property prior to initialization. + + When initialization has finished (regardless of how it was triggered) then the following things will occur, in this order: + 1) The control's event will be invoked. If you need to perform one time setup operations on the CoreWebView2 prior to its use then you should do so in a handler for that event. + 2) If a Uri has been set to the property then the control will start navigating to it in the background (i.e. these steps will continue without waiting for the navigation to finish). + 3) The Task returned from will complete. + + For more details about any of the methods/properties/events involved in the initialization process, see its specific documentation. + + Accelerator key presses (e.g. Ctrl+P) that occur within the control will + fire standard key press events such as OnKeyDown. You can suppress the + control's default implementation of an accelerator key press (e.g. + printing, in the case of Ctrl+P) by setting the Handled property of its + EventArgs to true. Also note that the underlying browser process is + blocked while these handlers execute, so: + + + You should avoid doing a lot of work in these handlers. + + + Some of the WebView2 and CoreWebView2 APIs may throw errors if + invoked within these handlers due to being unable to communicate with + the browser process. + + + If you need to do a lot of work and/or invoke WebView2 APIs in response to + accelerator keys then consider kicking off a background task or queuing + the work for later execution on the UI thread. + + + + + Cleans up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Overrides the base OnPaint event to have custom actions + in designer mode + + The graphics devices which is the source + + + + Overrides the base WndProc events to handle specific window messages. + + The Message object containing the HWND window message and parameters + + + + Gets or sets a bag of options which are used during initialization of the control's . + This property cannot be modified (an exception will be thrown) after initialization of the control's CoreWebView2 has started. + + Thrown if initialization of the control's CoreWebView2 has already started. + + + + Explicitly trigger initialization of the control's . + + + A pre-created that should be used to create the . + Creating your own environment gives you control over several options that affect how the is initialized. + If you pass null (the default value) then a default environment will be created and used automatically. + + + A pre-created that should be used to create the . + Creating your own controller options gives you control over several options that affect how the is initialized. + If you pass a controllerOptions to this method then it will override any settings specified on the property. + If you pass null (the default value) and no value has been set to then a default controllerOptions will be created and used automatically. + + + A Task that represents the background initialization process. + When the task completes then the property will be available for use (i.e. non-null). + Note that the control's event will be invoked before the task completes + or on exceptions. + + + Unless previous initialization has already failed, calling this method additional times with the same parameter will have no effect (any specified environment is ignored) and return the same Task as the first call. + Unless previous initialization has already failed, calling this method after initialization has been implicitly triggered by setting the property will have no effect if no environment is given + and simply return a Task representing that initialization already in progress. + Unless previous initialization has already failed, calling this method with a different environment after initialization has begun will result in an . For example, this can happen if you begin initialization + by setting the property and then call this method with a new environment, if you begin initialization with and then call this method with a new + environment, or if you begin initialization with one environment and then call this method with no environment specified. + When this method is called after previous initialization has failed, it will trigger initialization of the control's again. + Note that even though this method is asynchronous and returns a Task, it still must be called on the UI thread like most public functionality of most UI controls. + + The following summarizes the possible error values and a description of why these errors occur. + + + Error Value + Description + + + HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED) + *\\Edge\\Application* path used in browserExecutableFolder. + + + HRESULT_FROM_WIN32(ERROR_INVALID_STATE) + Specified options do not match the options of the WebViews that are currently running in the shared browser process. + + + HRESULT_FROM_WIN32(ERROR_INVALID_WINDOW_HANDLE) + WebView2 Initialization failed due to an invalid host HWND parentWindow. + + + HRESULT_FROM_WIN32(ERROR_DISK_FULL) + WebView2 Initialization failed due to reaching the maximum number of installed runtime versions. + + + HRESULT_FROM_WIN32(ERROR_PRODUCT_UNINSTALLED + If the Webview depends upon an installed WebView2 Runtime version and it is uninstalled. + + + HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) + Could not find Edge installation. + + + HRESULT_FROM_WIN32(ERROR_FILE_EXISTS) + User data folder cannot be created because a file with the same name already exists. + + + E_ACCESSDENIED + Unable to create user data folder, Access Denied. + + + E_FAIL + Edge runtime unable to start. + + + + + + Thrown if this method is called with a different environment than when it was initialized. See Remarks for more info. + + + Thrown if this instance of is already disposed, or if the calling thread isn't the thread which created this object (usually the UI thread). See for more info. + May also be thrown if the browser process has crashed unexpectedly and left the control in an invalid state. We are considering throwing a different type of exception for this case in the future. + + + + + Explicitly trigger initialization of the control's . + + + A pre-created that should be used to create the . + Creating your own environment gives you control over several options that affect how the is initialized. + If you pass null then a default environment will be created and used automatically. + + + A Task that represents the background initialization process. + When the task completes then the property will be available for use (i.e. non-null). + Note that the control's event will be invoked before the task completes + or on exceptions. + + + Unless previous initialization has already failed, calling this method additional times with the same parameter will have no effect (any specified environment is ignored) and return the same Task as the first call. + Unless previous initialization has already failed, calling this method after initialization has been implicitly triggered by setting the property will have no effect if no environment is given + and simply return a Task representing that initialization already in progress. + Unless previous initialization has already failed, calling this method with a different environment after initialization has begun will result in an . For example, this can happen if you begin initialization + by setting the property and then call this method with a new environment, if you begin initialization with and then call this method with a new + environment, or if you begin initialization with one environment and then call this method with no environment specified. + When this method is called after previous initialization has failed, it will trigger initialization of the control's again. + Note that even though this method is asynchronous and returns a Task, it still must be called on the UI thread like most public functionality of most UI controls. + + + Thrown if this method is called with a different environment than when it was initialized. See Remarks for more info. + + + Thrown if this instance of is already disposed, or if the calling thread isn't the thread which created this object (usually the UI thread). See for more info. + May also be thrown if the browser process has crashed unexpectedly and left the control in an invalid state. We are considering throwing a different type of exception for this case in the future. + + + + + This is the private function which implements the actual background initialization task. + Cannot be called if the control is already initialized or has been disposed. + + + The environment to use to create the . + If that is null then a default environment is created with and its default parameters. + + + The controllerOptions to use to create the . + If that is null then a default controllerOptions is created with its default parameters. + + A task representing the background initialization process. + All the event handlers added here need to be removed in . + + + + Protected CreateParams property. Used to set custom window styles to the forms HWND. + + + + + Protected VisibilityChanged handler. + + + + + Protected SizeChanged handler. + + + + + Protected Select method: override this to capture tab direction when WebView control is activated + + + + + Protected OnGotFocus handler. + + + + + Protected OnParentChanged handler. + + + + + True if initialization finished successfully and the control is not disposed yet. + + + + + Recursive retrieval of the parent control + + The control to get the parent for + The root parent control + + + + The underlying CoreWebView2. Use this property to perform more operations on the WebView2 content than is exposed + on the WebView2. This value is null until it is initialized and the object itself has undefined behaviour once the control is disposed. + You can force the underlying CoreWebView2 to + initialize via the method. + + Thrown if the calling thread isn't the thread which created this object (usually the UI thread). See for more info. + + + + The zoom factor for the WebView. + + + + + Enable/disable external drop. + + + + + The Source property is the URI of the top level document of the + WebView2. Setting the Source is equivalent to calling . + Setting the Source will trigger initialization of the , if not already initialized. + The default value of Source is null, indicating that the is not yet initialized. + + Specified value is not an absolute . + Specified value is null and the control is initialized. + + + + + Returns true if the webview can navigate to a next page in the + navigation history via the method. + This is equivalent to the . + If the underlying is not yet initialized, this property is false. + + + + + + Returns true if the webview can navigate to a previous page in the + navigation history via the method. + This is equivalent to the . + If the underlying is not yet initialized, this property is false. + + + + + + The default background color for the WebView. + + + + + Executes the provided script in the top level document of the . + This is equivalent to . + + The underlying is not yet initialized. + Thrown when browser process has unexpectedly and left this control in an invalid state. We are considering throwing a different type of exception for this case in the future. + + + + + Reloads the top level document of the . + This is equivalent to . + + The underlying is not yet initialized. + Thrown when browser process has unexpectedly and left this control in an invalid state. We are considering throwing a different type of exception for this case in the future. + + + + + Navigates to the next page in navigation history. + This is equivalent to . + If the underlying is not yet initialized, this method does nothing. + + + + + + Navigates to the previous page in navigation history. + This is equivalent to . + If the underlying is not yet initialized, this method does nothing. + + + + + + Renders the provided HTML as the top level document of the . + This is equivalent to . + + The underlying is not yet initialized. + Thrown when browser process has unexpectedly and left this control in an invalid state. We are considering throwing a different type of exception for this case in the future. + The htmlContent parameter may not be larger than 2 MB (2 * 1024 * 1024 bytes) in total size. The origin of the new page is about:blank. + + + + + Stops any in progress navigation in the . + This is equivalent to . + If the underlying is not yet initialized, this method does nothing. + + + + + + This event is triggered either 1) when the control's has finished being initialized (regardless of how it was triggered or whether it succeeded) but before it is used for anything + OR 2) the initialization failed. + You should handle this event if you need to perform one time setup operations on the CoreWebView2 which you want to affect all of its usages + (e.g. adding event handlers, configuring settings, installing document creation scripts, adding host objects). + + + This sender will be the WebView2 control, whose CoreWebView2 property will now be valid (i.e. non-null) for the first time + if is true. + Unlikely this event can fire second time (after reporting initialization success first) + if the initialization is followed by navigation which fails. + + + + + NavigationStarting dispatches before a new navigate starts for the top + level document of the . + This is equivalent to the event. + + + + + + NavigationCompleted dispatches after a navigate of the top level + document completes rendering either successfully or not. + This is equivalent to the event. + + + + + + WebMessageReceived dispatches after web content sends a message to the + app host via chrome.webview.postMessage. + This is equivalent to the event. + + + + + + SourceChanged dispatches after the property changes. This may happen + during a navigation or if otherwise the script in the page changes the + URI of the document. + This is equivalent to the event. + + + + + + ContentLoading dispatches after a navigation begins to a new URI and the + content of that URI begins to render. + This is equivalent to the event. + + + + + + ZoomFactorChanged dispatches when the property changes. + This is equivalent to the event. + + + + + + Required designer variable. + + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/Microsoft.Web.WebView2.Wpf.dll b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/Microsoft.Web.WebView2.Wpf.dll new file mode 100644 index 0000000..c8fc4c6 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/Microsoft.Web.WebView2.Wpf.dll differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/Microsoft.Web.WebView2.Wpf.xml b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/Microsoft.Web.WebView2.Wpf.xml new file mode 100644 index 0000000..aa691d3 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/Microsoft.Web.WebView2.Wpf.xml @@ -0,0 +1,1047 @@ + + + + Microsoft.Web.WebView2.Wpf + + + + + This class is a bundle of the most common parameters used to create and instances. + Its main purpose is to be set to in order to customize the environment and/or controller used by a during implicit initialization. + It is also a nice WPF integration utility which allows commonly used environment/controller parameters to be dependency properties and be created and used in markup. + + + This class isn't intended to contain all possible environment or controller customization options. + If you need complete control over the environment and/or controller used by a WebView2 control then you'll need to initialize the control explicitly by + creating your own environment (with ) and/or controller options (with ) and passing them to + *before* you set the property to anything. + See the class documentation for an initialization overview. + + + + + Creates a new instance of with default data for all properties. + + + + + The WPF DependencyProperty which backs the property. + + + + + Gets or sets the value to pass as the browserExecutableFolder parameter of when creating an environment with this instance. + + + + + The WPF DependencyProperty which backs the property. + + + + + Gets or sets the value to pass as the userDataFolder parameter of when creating an environment with this instance. + + + + + The WPF DependencyProperty which backs the property. + + + + + Gets or sets the value to use for the Language property of the CoreWebView2EnvironmentOptions parameter passed to when creating an environment with this instance. + + + + + The WPF DependencyProperty which backs the property. + + + + + Gets or sets the value to use for the AdditionalBrowserArguments property of the CoreWebView2EnvironmentOptions parameter passed to when creating an environment with this instance. + + + + + The WPF DependencyProperty which backs the property. + + + + + Gets or sets the value to use for the ProfileName property of the CoreWebView2ControllerOptions parameter passed to CreateCoreWebView2ControllerWithOptionsAsync when creating an controller with this instance. + + + + + The WPF DependencyProperty which backs the property. + + + + + Gets or sets the value to use for the IsInPrivateModeEnabled property of the CoreWebView2ControllerOptions parameter passed to CreateCoreWebView2ControllerWithOptionsAsync when creating an controller with this instance. + + + + + The WPF DependencyProperty which backs the property. + + + + + Gets or sets the value to use for the ScriptLocale property of the CoreWebView2ControllerOptions parameter passed to CreateCoreWebView2ControllerWithOptionsAsync when creating an controller with this instance. + + + + + Create a using the current values of this instance's properties. + + A task which will provide the created environment on completion, or null if no environment-related options are set. + + As long as no other properties on this instance are changed, repeated calls to this method will return the same task/environment as earlier calls. + If some other property is changed then the next call to this method will return a different task/environment. + + + + + Create a using the current values of this instance's properties. + + A object or null if no controller-related properties are set. + Thrown if the parameter environment is null. + + + + Tracks the conditions which block implicit initialization and whether it has been requested or not. + The analogy is a set of gates which are either open (implicit init allowed) or closed (will have to wait). + All sub-gates must be open before implicit init can proceed. + If implicit init is requested while the gate is open then it happens immediately. + If it's requested while the gate is closed then it occurs when the gate becomes open. + + + It should be reasonably straight-forward to expand this class in the future to: + * add new sub-gates to further restrict when implicit initialization can occur + * support storing and invoking multiple actions next time the gate is open instead of only one + + + + + Tracks whether a sub-gate regarding / is open or closed. + This sub-gate is only closed after calls to `BeginInit` and before an equal number of calls to `EndInit`. + + + We don't want implicit initialization to occur in between those calls, + because implicit initialization is a side effect of setting the Source property, + and side effects of setting properties during that period are supposed to be delayed until `EndInit`. + + + + + How many times has been called without being called. + + + + + Tracks whether a sub-gate regarding is open or closed. + This sub-gate is closed if `SynchronizationContext.Current == null`. + + + Initialization won't work without a `SynchronizationContext` because otherwise an `await` might resume on a different thread. + As far as I know so far this only occurs before an event loop as started on the running thread. + Once there's an event loop running the `SynchronizationContext` ensures that `await`s resume in the same event loop (i.e. same thread). + Although it's a rare corner case, it's possible to create a `Window` w/ `WebView2` before an app's event loop starts. + This sub-gate handles that corner case. + + + + + An action which will trigger initialization next time the gate is open (and only once). + + + This basically tracks whether or not implicit initialization has been requested while the gate is closed. + If this is non-null then it should be a delegate that calls . + + + + + Closes the gate until is called an equal number of times. + + + + + Opens the gate closed by after being called the same number of times. + + + + + A handler that should be attached to an event which indicates that exists. + The best one I know of right now is . + When the handler is called, the gate will re-evaluate its state and potentially allow any pending initialization action. + + + + + Run a given action when the gate is open. + + + If the gate is currently open then the action runs immediately. + Otherwise the action runs next time the gate is discovered to be open. + The action is only ever run once; it will not run again a second/subsequent time the gate opens. + If the gate is closed and another action is already pending then the new action *overwrites* the current one (i.e. the currently stored action will never run). + To "forget" a currently stored action, pass `null`. + + Action to run when the gate is open, or null to clear a previously specified action. + + + + Examine our overall open/closed state and run any pending action if appropriate. + + + + + A control to embed web content in a WPF application. + + + This control is effectively a wrapper around the [WebView2 COM + API](https://aka.ms/webview2). You can directly access the underlying + ICoreWebView2 interface and all of its functionality by accessing the + property. Some of the most common COM + functionality is also accessible directly through wrapper + methods/properties/events on the control. + + Upon creation, the control's property will be + null. This is because creating the is an + expensive operation which involves things like launching Edge browser + processes. There are two ways to cause the to + be created: + + + Call the method. This is + referred to as explicit initialization. + + + Set the property (which could be done from + markup, for example). This is referred to as implicit initialization. + Either option will start initialization in the background and return + back to the caller without waiting for it to finish. + To specify options regarding the initialization process, either pass + your own to or set the control's property prior to initialization. + + + + When initialization has finished (regardless of how it was triggered or + whether it succeeded) then the following things will occur, in this + order: + + + The control's event + will be invoked. If you need to perform one time setup operations on + the prior to its use then you should + do so in a handler for that event. + + + If initialization was successful and a Uri has been set to the property then the control will start navigating to it in + the background (i.e. these steps will continue without waiting for the + navigation to finish). + + + The Task returned from will + complete. + + + + For more details about any of the methods/properties/events involved in + the initialization process, see its specific documentation. + + Because the control's is a very heavyweight + object (potentially responsible for multiple running processes and + megabytes of disk space) the control implements to provide an explicit means to free it. + Calling will release the + and its underlying resources (except any that are also being used by other + WebViews), and reset to null. After has been called the cannot be + re-initialized, and any attempt to use functionality which requires it + will throw an . + + Accelerator key presses (e.g. Ctrl+P) that occur within the control will + fire standard key press events such as OnKeyDown. You can suppress the + control's default implementation of an accelerator key press (e.g. + printing, in the case of Ctrl+P) by setting the Handled property of its + EventArgs to true. Also note that the underlying browser process is + blocked while these handlers execute, so: + + + You should avoid doing a lot of work in these handlers. + + + Some of the WebView2 and CoreWebView2 APIs may throw errors if + invoked within these handlers due to being unable to communicate with + the browser process. + + + If you need to do a lot of work and/or invoke WebView2 APIs in response to + accelerator keys then consider kicking off a background task or queuing + the work for later execution on the UI thread. + + Note that this control extends in order to embed + windows which live outside of the WPF ecosystem. This has some + implications regarding the control's input and output behavior as well as + the functionality it "inherits" from and . + See the and [WPF/Win32 + interop](https://docs.microsoft.com/dotnet/framework/wpf/advanced/wpf-and-win32-interoperation#hwnds-inside-wpf) + documentation for more information. + + + + + + Creates a new instance of a WebView2 control. + Note that the control's will be null until initialized. + See the class documentation for an initialization overview. + + + + + The WPF which backs the property. + + + + + + Gets or sets a bag of options which are used during initialization of the control's . + Setting this property will not work after initialization of the control's has started (the old value will be retained). + See the class documentation for an initialization overview. + + + + + + This is overridden from and is called to instruct us to create our HWND. + + The HWND that we should use as the parent of the one we create. + The HWND that we created. + + + + + This is overridden from and is called to instruct us to destroy our HWND. + + Our HWND that we need to destroy. + + + + + This is overridden from and is called to provide us with Win32 messages that are sent to our hwnd. + + Window receiving the message (should always match our ). + Indicates the message being received. See Win32 documentation for WM_* constant values. + The "wParam" data being provided with the message. Meaning varies by message. + The "lParam" data being provided with the message. Meaning varies by message. + If true then the message will not be forwarded to any (more) handlers. + Return value varies by message. + + + + + Override for painting to draw + + The tools to handle the drawing via . + + + + Accesses the complete functionality of the underlying COM API. + Returns null until initialization has completed. + See the class documentation for an initialization overview. + + + Thrown if the calling thread isn't the thread which created this object (usually the UI thread). See for more info. + May also be thrown if the browser process has crashed unexpectedly and left the control in an invalid state. We are considering throwing a different type of exception for this case in the future. + + Thrown if has already been called on the control. + + + + + + This event is triggered either + 1) when the control's has finished being initialized (regardless of how initialization was triggered) but before it is used for anything, or + 2) if the initialization failed. + You should handle this event if you need to perform one time setup operations on the which you want to affect all of its usages. + (e.g. adding event handlers, configuring settings, installing document creation scripts, adding host objects). + See the class documentation for an initialization overview. + + + This sender will be the control, whose property will now be valid (i.e. non-null) for the first time + if is true. + Unlikely this event can fire second time (after reporting initialization success first) + if the initialization is followed by navigation which fails. + + + + + + Explicitly triggers initialization of the control's . + See the class documentation for an initialization overview. + + + A pre-created that should be used to create the . + Creating your own environment gives you control over several options that affect how the is initialized. + If you pass an environment to this method then it will override any settings specified on the property. + If you pass null (the default value) and no value has been set to then a default environment will be created and used automatically. + + + A pre-created that should be used to create the . + Creating your own controller options gives you control over several options that affect how the is initialized. + If you pass a controllerOptions to this method then it will override any settings specified on the property. + If you pass null (the default value) and no value has been set to then a default controllerOptions will be created and used automatically. + + + A Task that represents the background initialization process. + When the task completes then the property will be available for use (i.e. non-null). + Note that the control's event will be invoked before the task completes. + + + Unless previous initialization has already failed, calling this method additional times with the same parameter will have no effect (any specified environment is ignored) and return the same Task as the first call. + Unless previous initialization has already failed, calling this method after initialization has been implicitly triggered by setting the property will have no effect if no environment is given + and simply return a Task representing that initialization already in progress, unless previous initialization has already failed. + Unless previous initialization has already failed, calling this method with a different environment after initialization has begun will result in an . For example, this can happen if you begin initialization + by setting the property and then call this method with a new environment, if you begin initialization with and then call this method with a new + environment, or if you begin initialization with one environment and then call this method with no environment specified. + When this method is called after previous initialization has failed, it will trigger initialization of the control's again. + Note that even though this method is asynchronous and returns a Task, it still must be called on the UI thread like most public functionality of most UI controls. + + The following summarizes the possible error values and a description of why these errors occur. + + + Error Value + Description + + + HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED) + *\\Edge\\Application* path used in browserExecutableFolder. + + + HRESULT_FROM_WIN32(ERROR_INVALID_STATE) + Specified options do not match the options of the WebViews that are currently running in the shared browser process. + + + HRESULT_FROM_WIN32(ERROR_INVALID_WINDOW_HANDLE) + WebView2 Initialization failed due to an invalid host HWND parentWindow. + + + HRESULT_FROM_WIN32(ERROR_DISK_FULL) + WebView2 Initialization failed due to reaching the maximum number of installed runtime versions. + + + HRESULT_FROM_WIN32(ERROR_PRODUCT_UNINSTALLED + If the Webview depends upon an installed WebView2 Runtime version and it is uninstalled. + + + HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) + Could not find Edge installation. + + + HRESULT_FROM_WIN32(ERROR_FILE_EXISTS) + User data folder cannot be created because a file with the same name already exists. + + + E_ACCESSDENIED + Unable to create user data folder, Access Denied. + + + E_FAIL + Edge runtime unable to start. + + + + + + Thrown if this method is called with a different environment than when it was initialized. See Remarks for more info. + + + Thrown if the calling thread isn't the thread which created this object (usually the UI thread). See for more info. + May also be thrown if is null, which probably indicates that the application's event loop hasn't started yet. + May also be thrown if the browser process has crashed unexpectedly and left the control in an invalid state. We are considering throwing a different type of exception for this case in the future. + + Thrown if has already been called on the control. + + + + + + Explicitly triggers initialization of the control's . + See the class documentation for an initialization overview. + + + A pre-created that should be used to create the . + Creating your own environment gives you control over several options that affect how the is initialized. + If you pass an environment to this method then it will override any settings specified on the property. + If you pass null and no value has been set to then a default environment will be created and used automatically. + + + A Task that represents the background initialization process. + When the task completes then the property will be available for use (i.e. non-null). + Note that the control's event will be invoked before the task completes. + + + Unless previous initialization has already failed, calling this method additional times with the same parameter will have no effect (any specified environment is ignored) and return the same Task as the first call. + Unless previous initialization has already failed, calling this method after initialization has been implicitly triggered by setting the property will have no effect if no environment is given + and simply return a Task representing that initialization already in progress, unless previous initialization has already failed. + Unless previous initialization has already failed, calling this method with a different environment after initialization has begun will result in an . For example, this can happen if you begin initialization + by setting the property and then call this method with a new environment, if you begin initialization with and then call this method with a new + environment, or if you begin initialization with one environment and then call this method with no environment specified. + When this method is called after previous initialization has failed, it will trigger initialization of the control's again. + Note that even though this method is asynchronous and returns a Task, it still must be called on the UI thread like most public functionality of most UI controls. + + + Thrown if this method is called with a different environment than when it was initialized. See Remarks for more info. + + + Thrown if the calling thread isn't the thread which created this object (usually the UI thread). See for more info. + May also be thrown if is null, which probably indicates that the application's event loop hasn't started yet. + May also be thrown if the browser process has crashed unexpectedly and left the control in an invalid state. We are considering throwing a different type of exception for this case in the future. + + Thrown if has already been called on the control. + + + + + + This is called by our base class according to the typical implementation of the pattern. + We implement it by releasing all of our underlying COM resources, including our . + + True if a caller is explicitly calling Dispose, false if we're being finalized. + + + + This is an event handler for our CoreWebView2's ProcessFailedEvent + + + + + This is a "gate" which controls whether or not implicit initialization can occur. + If implicit initialization is triggered while the gate is closed, + then the initialization should be delayed until the gate opens. + When we want to trigger implicit initialization we route the call through this gate. + If the gate is open then the initialization will proceed. + If the gate is closed then it will remember to trigger the initialization when it opens. + + + + + Implementation of the ISupportInitialize pattern. + Prevents the control from implicitly initializing its until is called. + Does *not* prevent explicit initialization of the CoreWebView2 (i.e. ). + Mainly intended for use by interactive UI designers. + + + Note that the "Initialize" in ISupportInitialize and the "Init" in BeginInit/EndInit mean + something different and more general than this control's specific concept of initializing + its CoreWebView2 (explicitly or implicitly). This ISupportInitialize pattern is a general + way to set batches of properties on the control to their initial values without triggering + any dependent side effects until all of the values are set (i.e. until EndInit is called). + In the case of this control, a specific side effect to be avoided is triggering implicit + initialization of the CoreWebView2 when setting the Source property. + For example, normally if you set after you've already set Source, + the data set to CreationProperties is ignored because implicit initialization has already started. + However, if you set the two properties (in the same order) in between calls to BeginInit and + EndInit then the implicit initialization of the CoreWebView2 is delayed until EndInit, so the data + set to CreationProperties is still used even though it was set after Source. + + + + + Implementation of the ISupportInitialize pattern. + Invokes any functionality that has been delayed since the corresponding call to . + Mainly intended for use by interactive UI designers. + + + See the documentation of for more information. + + + + + Updates one of our dependency properties to match a new value from the . + It both sets the value and remembers (in _propertyChangingFromCore) that it came from the CoreWebView2 rather than the caller, + allowing the property's "on changed" handler to alter its behavior based on where the new value came from. + It's only intended to be called in a CoreWebView2 event handler that's informing us of a new property value. + It's basically just a wrapper around the inherited SetCurrentValue which also maintains _propertyChangingFromCore. + See the comments on for additional background info. + One more thing worth explicitly stating is that it wraps SetCurrentValue rather than SetValue, + in order to avoid overwriting any OneWay bindings that are set on the specified properties. + Check the link https://stackoverflow.com/q/4230698 for more information about the difference between SetValue and SetCurrentValue. + + The property to change due to an equivalent change in the CoreWebView2. + The new value from the CoreWebView2. + + + + Checks if a given property is currently being updated to match an equivalent change in the . + This method should only be called from a property's "on changed" handler; it has no meaning at any other time. + It is used to determine if the property is changing to match the CoreWebView2 or because the caller set it. + Usually this is used in order to decide if the new value needs to be propagated down to the CoreWebView2. + See the comments on for additional background info. + + The property to check. + True if the property is changing to match the CoreWebView2, or false if the property was changed by the caller. + + + + Changes our controller's ParentWindow to the given HWND, along with any other necessary associated work. + + The new HWND to set as the controller's parent. IntPtr.Zero means that the controller will have no parent and the CoreWebView2 will be hidden. + Whether or not to call as required. Defaults to true. If you pass false then you should call it yourself if required. + + Reparenting the controller isn't necessarily as simple as changing its ParentWindow property, + and this method exists to ensure that any other work that needs to be done at the same time gets done. + The reason that SyncControllerWithParentWindow isn't baked directly into this method is because + sometimes we want to call the Sync functionality without necessarily reparenting (e.g. during initialization). + + + + + Syncs visual/windowing information between the controller and its parent HWND. + This should be called any time a new, non-null HWND is set as the controller's parent, + including when the controller is first created. + + + + + This is a handler for our base UIElement's IsVisibleChanged event. + It's predictably fired whenever IsVisible changes, and IsVisible reflects the actual current visibility status of the control. + We just need to pass this info through to our CoreWebView2Controller so it can save some effort when the control isn't visible. + + + + + This is overridden from and called when our control's location has changed. + The HwndHost takes care of updating the HWND we created. + What we need to do is move our CoreWebView2 to match the new location. + + + + + The WPF which backs the property. + + + + + The top-level which the WebView is currently displaying (or will display once initialization of its is finished). + Generally speaking, getting this property is equivalent to getting the property and setting this property (to a different value) is equivalent to calling the method. + + + Getting this property before the has been initialized will retrieve the last Uri which was set to it, or null (the default) if none has been. + Setting this property before the has been initialized will cause initialization to start in the background (if not already in progress), after which the will navigate to the specified . + This property can never be set back to null or to a relative . + See the class documentation for an initialization overview. + + Thrown if has already been called on the control. + Thrown if the property is set to null. + Thrown if the property is set to a relative (i.e. a whose property is false). + + + + + This is a callback that WPF calls to validate a potential new Source value. + + + True if the value is valid, false if it is not. + If we return false then WPF should respond by throwing an . + + + Note that we unfortunately can't treat null as invalid here because null is valid prior to initialization. + + + + + This is a callback that WPF calls when the WPF Source property's value changes. + This might have been triggered by either: + 1) The caller set Source to programmatically trigger a navigation. + 2) The CoreWebView changed its own source and we're just updating the dependency property to match. + We use to distinguish the two cases. + + + + + A wrapper around the . + The only difference between this event and is the first parameter that's passed to handlers. + Handlers of this event will receive the control, whereas handlers of will receive the instance. + + + + + + This is an event handler for our CoreWebView2's SourceChanged event. + Unsurprisingly, it fires when the CoreWebView2's source URI has been changed. + Note that there are two distinct triggers for this: + 1) The CoreWebView2 was told to navigate programmatically (potentially by us, see SourcePropertyChanged). + 2) The user interacted with the CoreWebView2, e.g. clicked a link. + In either of the above cases, this event might trigger several times due to e.g. redirection. + Aside from propagating to our own event, we just need to update our WPF Source property to match the CoreWebView2's. + + + + + A wrapper around the . + The only difference between this event and is the first parameter that's passed to handlers. + Handlers of this event will receive the control, whereas handlers of will receive the instance. + + + + + + This is an event handler for our CoreWebView2's NavigationStarting event. + We just need to propagate the event to WPF. + + + + + A wrapper around the . + The only difference between this event and is the first parameter that's passed to handlers. + Handlers of this event will receive the control, whereas handlers of will receive the instance. + + + + + + This is an event handler for our CoreWebView2's NavigationCompleted event. + We just need to propagate the event to WPF. + + + + + This is an event handler for our CoreWebView2's HistoryChanged event. + We're handling it in order to update our WPF CanGoBack and CanGoForward properties. + + + + + The WPF which backs the property. + + + + + Returns true if the WebView can navigate to a previous page in the navigation history. + Wrapper around the property of . + If isn't initialized yet then returns false. + + + + + + The WPF which backs the property. + + + + + Returns true if the WebView can navigate to a next page in the navigation history. + Wrapper around the property of . + If isn't initialized yet then returns false. + + + + + + This is overridden from and is called to inform us that tabbing has caused the focus to move into our control/window. + Since WPF can't manage the transition of focus to a non-WPF HWND, it delegates the transition to us here. + So our job is just to place the focus in our external HWND. + + Information about how the focus is moving. + true to indicate that we handled the navigation, or false to indicate that we didn't. + + + + This is overridden from and is called to inform us when we receive the keyboard focus. + We handle this by passing the keyboard focus on to the underlying . + We never want to land in a state where our window (this.Handle) actually has the keyboard focus. + + Arguments from the underlying GotKeyboardFocus event. + + Note that it's actually possible for us to receive keyboard focus without this method being called. + One known case where that happens is when our parent window is deactivated while we have focus, then reactivated. + We handle that case in . + + + + + + This is an event handler for our CoreWebView2Controller's MoveFocusRequested event. + It fires when the CoreWebView2Controller has focus but wants to move it elsewhere in the app. + E.g. this happens when the user tabs past the last item in the CoreWebView2 and focus needs to return to some other app control. + So our job is just to tell WPF to move the focus on to the next control. + Note that we don't propagate this event outward as a standard WPF routed event because we've implemented its purpose here. + If users of the control want to track focus shifting in/out of the control, they should use standard WPF events. + + + + + This is an event handler for our CoreWebView2Controller's GotFocus event. + We just need to propagate the event to WPF. + + + + + This is an event handler for our CoreWebView2Controller's LostFocus event. + We just need to propagate the event to WPF. + + + + + This is an event handler for our CoreWebView2Controller's AcceleratorKeyPressed event. + This is called to inform us about key presses that are likely to have special behavior (e.g. esc, return, Function keys, letters with modifier keys). + WPF can't detect this input because Windows sends it directly to the Win32 CoreWebView2Controller control. + We implement this by generating standard WPF key input events, allowing callers to handle the input in the usual WPF way if they want. + If nobody handles the WPF key events then we'll allow the default CoreWebView2Controller logic (if any) to handle it. + Of the possible options, this implementation should provide the most flexibility to callers. + + + + + This is overridden from and called to allow us to handle key press input. + WPF should never actually call this in response to keyboard events because we're hosting a non-WPF window. + When our window has focus Windows will send the input directly to it rather than to WPF's top-level window and input system. + This override should only be called when we're explicitly forwarding accelerator key input from the CoreWebView2 to WPF (in CoreWebView2Controller_AcceleratorKeyPressed). + Even then, this KeyDownEvent is only triggered because our PreviewKeyDownEvent implementation explicitly triggers it, matching WPF's usual system. + So the process is: + + CoreWebView2Controller_AcceleratorKeyPressed + PreviewKeyDownEvent + KeyDownEvent + OnKeyDown + + . + + + + + See . + + + + + This is the "Preview" (i.e. tunneling) version of , so it actually happens first. + Like OnKeyDown, this will only ever be called if we're explicitly forwarding key presses from the CoreWebView2. + In order to mimic WPF's standard input handling, when we receive this we turn around and fire off the standard bubbling KeyDownEvent. + That way others in the WPF tree see the same standard pair of input events that WPF itself would have triggered if it were handling the key press. + + + + + + See . + + + + + The WPF which backs the property. + + + + + The zoom factor for the WebView. + This property directly exposes , see its documentation for more info. + Getting this property before the has been initialized will retrieve the last value which was set to it, or 1.0 (the default) if none has been. + The most recent value set to this property before the CoreWebView2 has been initialized will be set on it after initialization. + + + + + + This is a callback that WPF calls when our WPF ZoomFactor property's value changes. + This might have been triggered by either: + 1) The caller set ZoomFactor to change the zoom of the CoreWebView2. + 2) The CoreWebView2 changed its own ZoomFactor and we're just updating the dependency property to match. + We use to distinguish the two cases. + + + + + The event is raised when the property changes. + This event directly exposes . + + + + + + + This is an event handler for our CoreWebView2Controller's ZoomFactorChanged event. + Unsurprisingly, it fires when the CoreWebView2Controller's ZoomFactor has been changed. + Note that there are two distinct triggers for this: + 1) The value was changed programmatically (potentially by us, see ZoomFactorPropertyChanged). + 2) The user interacted with the CoreWebView2, e.g. CTRL + Mouse Wheel. + Aside from propagating to our own event, we just need to update our WPF ZoomFactor property to match the CoreWebView2Controller's. + + + + + The WPF which backs the property. + + + + + The default background color for the WebView. + This property directly exposes , see its documentation for more info. + Getting this property before the has been initialized will retrieve the last value which was + set to it, or Color.White (the default) if none has been. + The most recent value set to this property before CoreWebView2Controller has been initialized will be set on it after initialization. + + + + + This is a callback that WPF calls when our WPF DefaultBackgroundColor property's value changes. + Since CoreWebView2Controller does not update this property itself, this is only triggered by the + caller setting DefaultBackgroundColor. + + + + + The WPF which backs the property. + + + + + The AllowExternalDrop property for the WebView. + This property directly exposes , see its documentation for more info. + Getting this property before the has been initialized will retrieve the last value which was + set to it, or true (the default) if none has been. + The most recent value set to this property before CoreWebView2Controller has been initialized will be set on it after initialization. + + + + + This is a callback that WPF calls when our WPF AllowExternalDrop property's value changes. + Since CoreWebView2Controller does not update this property itself, this is only triggered by the + caller setting AllowExternalDrop. + + + + + The WPF which backs the property. + + + + + The foreground color to be used in design mode. + + + + + Navigates the WebView to the previous page in the navigation history. + Equivalent to calling + If hasn't been initialized yet then does nothing. + + + Thrown if the calling thread isn't the thread which created this object (usually the UI thread). See for more info. + May also be thrown if the browser process has crashed unexpectedly and left the control in an invalid state. We are considering throwing a different type of exception for this case in the future. + + Thrown if has already been called on the control. + + + + + + Navigates the WebView to the next page in the navigation history. + Equivalent to calling . + If hasn't been initialized yet then does nothing. + + + Thrown if the calling thread isn't the thread which created this object (usually the UI thread). See for more info. + May also be thrown if the browser process has crashed unexpectedly and left the control in an invalid state. We are considering throwing a different type of exception for this case in the future. + + Thrown if has already been called on the control. + + + + + + Reloads the current page. + Equivalent to calling . + + + Thrown if hasn't been initialized yet, or if the calling thread isn't the thread which created this object (usually the UI thread). See for more info. + May also be thrown if the browser process has crashed unexpectedly and left the control in an invalid state. We are considering throwing a different type of exception for this case in the future. + + Thrown if has already been called on the control. + + + + + + Stops all navigations and pending resource fetches. + Equivalent to calling . + + + Thrown if hasn't been initialized yet, or if the calling thread isn't the thread which created this object (usually the UI thread). See for more info. + May also be thrown if the browser process has crashed unexpectedly and left the control in an invalid state. We are considering throwing a different type of exception for this case in the future. + + Thrown if has already been called on the control. + + + + + + Initiates a navigation to htmlContent as source HTML of a new document. + Equivalent to calling . + + + Thrown if hasn't been initialized yet, or if the calling thread isn't the thread which created this object (usually the UI thread). See for more info. + May also be thrown if the browser process has crashed unexpectedly and left the control in an invalid state. We are considering throwing a different type of exception for this case in the future. + + Thrown if has already been called on the control. + The htmlContent parameter may not be larger than 2 MB (2 * 1024 * 1024 bytes) in total size. The origin of the new page is about:blank. + + + + + + A wrapper around the . + The only difference between this event and is the first parameter that's passed to handlers. + Handlers of this event will receive the control, whereas handlers of will receive the instance. + + + + + + This is an event handler for our CoreWebView2's ContentLoading event. + We just need to propagate the event to WPF. + + + + + Executes JavaScript code from the javaScript parameter in the current top level document rendered in the WebView. + Equivalent to calling . + + + Thrown if hasn't been initialized yet, or if the calling thread isn't the thread which created this object (usually the UI thread). See for more info. + May also be thrown if the browser process has crashed unexpectedly and left the control in an invalid state. We are considering throwing a different type of exception for this case in the future. + + Thrown if has already been called on the control. + + + + + + A wrapper around the . + The only difference between this event and is the first parameter that's passed to handlers. + Handlers of this event will receive the control, whereas handlers of will receive the instance. + + + + + + This is an event handler for our CoreWebView2's WebMessageReceived event. + We just need to propagate the event to WPF. + + + + + True when we're in design mode and shouldn't create an underlying CoreWebView2. + + + + diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe index 477f094..372e2c9 100644 Binary files a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/BrowserMetrics/BrowserMetrics-64B47D7F-D560.pma b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/BrowserMetrics/BrowserMetrics-64B47D7F-D560.pma new file mode 100644 index 0000000..9b83c9a Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/BrowserMetrics/BrowserMetrics-64B47D7F-D560.pma differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Crashpad/metadata b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Crashpad/metadata new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Crashpad/settings.dat b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Crashpad/settings.dat new file mode 100644 index 0000000..1728b35 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Crashpad/settings.dat differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Crashpad/throttle_store.dat b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Crashpad/throttle_store.dat new file mode 100644 index 0000000..9639e1b --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Crashpad/throttle_store.dat @@ -0,0 +1 @@ +level=none expiry=0 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/AutofillStrikeDatabase/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/AutofillStrikeDatabase/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/AutofillStrikeDatabase/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/AutofillStrikeDatabase/LOG new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/AutofillStrikeDatabase/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/AutofillStrikeDatabase/LOG.old new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/BudgetDatabase/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/BudgetDatabase/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/BudgetDatabase/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/BudgetDatabase/LOG new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/BudgetDatabase/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/BudgetDatabase/LOG.old new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/data_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/data_0 new file mode 100644 index 0000000..d93621b Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/data_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/data_1 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/data_1 new file mode 100644 index 0000000..b6fa4a2 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/data_1 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/data_2 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/data_2 new file mode 100644 index 0000000..00c8bf1 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/data_2 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/data_3 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/data_3 new file mode 100644 index 0000000..5bfa354 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/data_3 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000001 new file mode 100644 index 0000000..d6505e9 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000002 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000002 new file mode 100644 index 0000000..482ec2f Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000002 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000003 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000003 new file mode 100644 index 0000000..2b2f405 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000003 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000004 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000004 new file mode 100644 index 0000000..49eeeee Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000004 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000005 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000005 new file mode 100644 index 0000000..a2ec815 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000005 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000006 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000006 new file mode 100644 index 0000000..945dfbb Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000006 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000007 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000007 new file mode 100644 index 0000000..65edfd8 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000007 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000008 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000008 new file mode 100644 index 0000000..86312cc Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000008 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000009 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000009 new file mode 100644 index 0000000..02dc614 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000009 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00000a b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00000a new file mode 100644 index 0000000..19c83a1 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00000a differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00000b b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00000b new file mode 100644 index 0000000..04fd791 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00000b differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00000c b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00000c new file mode 100644 index 0000000..634a71d Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00000c differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00000d b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00000d new file mode 100644 index 0000000..1932b62 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00000d differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00000f b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00000f new file mode 100644 index 0000000..d6505e9 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00000f differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000010 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000010 new file mode 100644 index 0000000..482ec2f Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000010 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000011 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000011 new file mode 100644 index 0000000..6d4130c Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000011 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000012 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000012 new file mode 100644 index 0000000..a2ec815 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000012 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000013 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000013 new file mode 100644 index 0000000..49eeeee Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000013 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000015 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000015 new file mode 100644 index 0000000..5e79383 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000015 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000016 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000016 new file mode 100644 index 0000000..2843543 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000016 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000017 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000017 new file mode 100644 index 0000000..bfd507b Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000017 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000018 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000018 new file mode 100644 index 0000000..1ac17ba Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000018 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000019 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000019 new file mode 100644 index 0000000..a4e64e6 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000019 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00001a b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00001a new file mode 100644 index 0000000..1144e5a Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00001a differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00001c b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00001c new file mode 100644 index 0000000..1efe8d8 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00001c differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00001d b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00001d new file mode 100644 index 0000000..4c31ff6 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00001d differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00001e b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00001e new file mode 100644 index 0000000..977d853 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00001e differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00001f b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00001f new file mode 100644 index 0000000..679eacd Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00001f differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000020 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000020 new file mode 100644 index 0000000..96cba18 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000020 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000021 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000021 new file mode 100644 index 0000000..a53f765 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000021 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000022 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000022 new file mode 100644 index 0000000..5ee6c2f Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000022 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000023 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000023 new file mode 100644 index 0000000..394c7e1 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000023 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000024 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000024 new file mode 100644 index 0000000..5e79383 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000024 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000026 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000026 new file mode 100644 index 0000000..bfd507b Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000026 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000027 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000027 new file mode 100644 index 0000000..2843543 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000027 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000028 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000028 new file mode 100644 index 0000000..a4e64e6 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000028 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000029 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000029 new file mode 100644 index 0000000..1ac17ba Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000029 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00002a b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00002a new file mode 100644 index 0000000..1144e5a Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00002a differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00002f b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00002f new file mode 100644 index 0000000..a53f765 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_00002f differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000031 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000031 new file mode 100644 index 0000000..a53f765 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000031 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000033 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000033 new file mode 100644 index 0000000..394c7e1 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000033 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000035 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000035 new file mode 100644 index 0000000..a53f765 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000035 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000036 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000036 new file mode 100644 index 0000000..2b2f405 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000036 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000038 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000038 new file mode 100644 index 0000000..d19fb44 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/f_000038 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/index b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/index new file mode 100644 index 0000000..5b522ce Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Cache/Cache_Data/index differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/0386097274ce6e06_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/0386097274ce6e06_0 new file mode 100644 index 0000000..fc34db4 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/0386097274ce6e06_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/06ddca1dc790fc00_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/06ddca1dc790fc00_0 new file mode 100644 index 0000000..31ff7fa Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/06ddca1dc790fc00_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/073fe52f4d94a01f_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/073fe52f4d94a01f_0 new file mode 100644 index 0000000..2a0c30d Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/073fe52f4d94a01f_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/147e3f3e8ae62cb5_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/147e3f3e8ae62cb5_0 new file mode 100644 index 0000000..153aaf8 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/147e3f3e8ae62cb5_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/17149ea7c2f17b45_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/17149ea7c2f17b45_0 new file mode 100644 index 0000000..05f4847 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/17149ea7c2f17b45_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/17a9db74e96c6fc6_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/17a9db74e96c6fc6_0 new file mode 100644 index 0000000..3f812f5 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/17a9db74e96c6fc6_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/1b9f708d7114773b_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/1b9f708d7114773b_0 new file mode 100644 index 0000000..d96b5e3 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/1b9f708d7114773b_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/1c52bb2e12e2299c_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/1c52bb2e12e2299c_0 new file mode 100644 index 0000000..b16d678 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/1c52bb2e12e2299c_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/1eccadefacd3afa0_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/1eccadefacd3afa0_0 new file mode 100644 index 0000000..f498ce3 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/1eccadefacd3afa0_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/217a1f1461ae62ad_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/217a1f1461ae62ad_0 new file mode 100644 index 0000000..40e3cb9 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/217a1f1461ae62ad_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/220139918831a6d8_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/220139918831a6d8_0 new file mode 100644 index 0000000..70ab466 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/220139918831a6d8_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/2609328301a2bb7a_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/2609328301a2bb7a_0 new file mode 100644 index 0000000..0184886 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/2609328301a2bb7a_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/26cc35d64b7a742b_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/26cc35d64b7a742b_0 new file mode 100644 index 0000000..03863ef Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/26cc35d64b7a742b_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/28d0090698af0c44_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/28d0090698af0c44_0 new file mode 100644 index 0000000..c5ae7b5 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/28d0090698af0c44_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/2b0eec55916c9adc_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/2b0eec55916c9adc_0 new file mode 100644 index 0000000..3059260 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/2b0eec55916c9adc_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/2c77913eba437f86_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/2c77913eba437f86_0 new file mode 100644 index 0000000..2f2b12f Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/2c77913eba437f86_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/2cdd3b66fc14f895_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/2cdd3b66fc14f895_0 new file mode 100644 index 0000000..a791459 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/2cdd3b66fc14f895_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/3647d00104952970_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/3647d00104952970_0 new file mode 100644 index 0000000..221af9f Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/3647d00104952970_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/38fc370d141eb1d2_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/38fc370d141eb1d2_0 new file mode 100644 index 0000000..c284d0c Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/38fc370d141eb1d2_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/412b46763632bf98_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/412b46763632bf98_0 new file mode 100644 index 0000000..1c81361 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/412b46763632bf98_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/4224f67253215de9_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/4224f67253215de9_0 new file mode 100644 index 0000000..cafd37a Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/4224f67253215de9_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/44eee0c51d45f5b6_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/44eee0c51d45f5b6_0 new file mode 100644 index 0000000..1702604 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/44eee0c51d45f5b6_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/46dd276fbf937cdc_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/46dd276fbf937cdc_0 new file mode 100644 index 0000000..5a6febf Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/46dd276fbf937cdc_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/48f8857713b06c98_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/48f8857713b06c98_0 new file mode 100644 index 0000000..2b11d1f Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/48f8857713b06c98_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/4ab7bb83356c3021_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/4ab7bb83356c3021_0 new file mode 100644 index 0000000..fa22b5d Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/4ab7bb83356c3021_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/558581530ed743b2_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/558581530ed743b2_0 new file mode 100644 index 0000000..2bdc9dc Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/558581530ed743b2_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/55b5db1a65d5dc81_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/55b5db1a65d5dc81_0 new file mode 100644 index 0000000..ddb24bc Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/55b5db1a65d5dc81_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/5606ba89c2bd0611_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/5606ba89c2bd0611_0 new file mode 100644 index 0000000..96f4500 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/5606ba89c2bd0611_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/58877a26f65ddcab_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/58877a26f65ddcab_0 new file mode 100644 index 0000000..01856f8 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/58877a26f65ddcab_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/590bb76515fbb8c6_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/590bb76515fbb8c6_0 new file mode 100644 index 0000000..b43240a Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/590bb76515fbb8c6_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/5cbea61cf2c6b429_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/5cbea61cf2c6b429_0 new file mode 100644 index 0000000..f230634 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/5cbea61cf2c6b429_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/5e56efe90b4a5702_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/5e56efe90b4a5702_0 new file mode 100644 index 0000000..d3795e8 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/5e56efe90b4a5702_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/636bf0057031e2b2_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/636bf0057031e2b2_0 new file mode 100644 index 0000000..1787f51 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/636bf0057031e2b2_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/676983615d80e8d5_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/676983615d80e8d5_0 new file mode 100644 index 0000000..054b229 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/676983615d80e8d5_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/6a527c4fa98f4924_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/6a527c4fa98f4924_0 new file mode 100644 index 0000000..26c8b77 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/6a527c4fa98f4924_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/6dac60fcfe1e1750_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/6dac60fcfe1e1750_0 new file mode 100644 index 0000000..fa21636 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/6dac60fcfe1e1750_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/7156c0be597fdbf4_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/7156c0be597fdbf4_0 new file mode 100644 index 0000000..c9ad06b Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/7156c0be597fdbf4_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/7162b4bf5e8017aa_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/7162b4bf5e8017aa_0 new file mode 100644 index 0000000..e1921c4 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/7162b4bf5e8017aa_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/71ac70b9ecc56b59_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/71ac70b9ecc56b59_0 new file mode 100644 index 0000000..8e5e3e8 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/71ac70b9ecc56b59_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/7a94ac5133601253_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/7a94ac5133601253_0 new file mode 100644 index 0000000..f40989c Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/7a94ac5133601253_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/7f4b0cb39cae8aff_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/7f4b0cb39cae8aff_0 new file mode 100644 index 0000000..e6ff629 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/7f4b0cb39cae8aff_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/85b4adc444b627c8_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/85b4adc444b627c8_0 new file mode 100644 index 0000000..4e6731e Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/85b4adc444b627c8_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/8b93a34d636493e0_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/8b93a34d636493e0_0 new file mode 100644 index 0000000..6c890a2 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/8b93a34d636493e0_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/8ceb488fe7c20351_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/8ceb488fe7c20351_0 new file mode 100644 index 0000000..75978b7 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/8ceb488fe7c20351_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/a1fbdcbf14894d8d_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/a1fbdcbf14894d8d_0 new file mode 100644 index 0000000..b216de0 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/a1fbdcbf14894d8d_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/a263fc7210af87b9_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/a263fc7210af87b9_0 new file mode 100644 index 0000000..1ed8e0b Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/a263fc7210af87b9_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/a78e82bd98f92ba7_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/a78e82bd98f92ba7_0 new file mode 100644 index 0000000..0ddd2da Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/a78e82bd98f92ba7_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/a860963402010bb8_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/a860963402010bb8_0 new file mode 100644 index 0000000..044510c Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/a860963402010bb8_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/acdf9e925fd0bf61_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/acdf9e925fd0bf61_0 new file mode 100644 index 0000000..b4ba6fb Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/acdf9e925fd0bf61_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/acf762c19fd2f80c_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/acf762c19fd2f80c_0 new file mode 100644 index 0000000..a39b1c1 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/acf762c19fd2f80c_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/b58bd2d8d405a9d2_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/b58bd2d8d405a9d2_0 new file mode 100644 index 0000000..1e89833 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/b58bd2d8d405a9d2_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/bb6c0dfc8a69a0c2_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/bb6c0dfc8a69a0c2_0 new file mode 100644 index 0000000..ab67e78 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/bb6c0dfc8a69a0c2_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/beddbbcf5f5d7a89_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/beddbbcf5f5d7a89_0 new file mode 100644 index 0000000..e2b793f Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/beddbbcf5f5d7a89_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/bf957a30bf6d8116_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/bf957a30bf6d8116_0 new file mode 100644 index 0000000..b1584a6 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/bf957a30bf6d8116_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/bfd2a59bb3ac2e1f_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/bfd2a59bb3ac2e1f_0 new file mode 100644 index 0000000..aa232ac Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/bfd2a59bb3ac2e1f_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c249abf02738e864_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c249abf02738e864_0 new file mode 100644 index 0000000..4454a59 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c249abf02738e864_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c2ce35dc21854497_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c2ce35dc21854497_0 new file mode 100644 index 0000000..10f95ca Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c2ce35dc21854497_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c2de54e7bdac988d_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c2de54e7bdac988d_0 new file mode 100644 index 0000000..dfa300d Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c2de54e7bdac988d_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c2de6a451185fbb5_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c2de6a451185fbb5_0 new file mode 100644 index 0000000..37f72d0 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c2de6a451185fbb5_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c75a99d3fc0e760f_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c75a99d3fc0e760f_0 new file mode 100644 index 0000000..b75bbf0 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c75a99d3fc0e760f_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c8342cdc99537a6c_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c8342cdc99537a6c_0 new file mode 100644 index 0000000..2f131dd Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c8342cdc99537a6c_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c945d6a4f07c9bb6_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c945d6a4f07c9bb6_0 new file mode 100644 index 0000000..4a80ed3 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/c945d6a4f07c9bb6_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/cbe38cbdaf6461df_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/cbe38cbdaf6461df_0 new file mode 100644 index 0000000..5e8e9ee Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/cbe38cbdaf6461df_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/ccc75c051a2c31e2_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/ccc75c051a2c31e2_0 new file mode 100644 index 0000000..f1ce3bd Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/ccc75c051a2c31e2_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/d00ac1aecfb5b212_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/d00ac1aecfb5b212_0 new file mode 100644 index 0000000..b9b2dc8 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/d00ac1aecfb5b212_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/d1719c6c172c6d3a_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/d1719c6c172c6d3a_0 new file mode 100644 index 0000000..22fdf7b Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/d1719c6c172c6d3a_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/d1f7076ffaa6bbed_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/d1f7076ffaa6bbed_0 new file mode 100644 index 0000000..9295bac Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/d1f7076ffaa6bbed_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/d43338ba9e93ffb4_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/d43338ba9e93ffb4_0 new file mode 100644 index 0000000..baa44e5 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/d43338ba9e93ffb4_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/d6efc00e5e843ae6_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/d6efc00e5e843ae6_0 new file mode 100644 index 0000000..e430c86 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/d6efc00e5e843ae6_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/dde5f3da15c49ac9_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/dde5f3da15c49ac9_0 new file mode 100644 index 0000000..9da6481 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/dde5f3da15c49ac9_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/e43563903e0b4871_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/e43563903e0b4871_0 new file mode 100644 index 0000000..72aa369 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/e43563903e0b4871_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/e680efc0bdba5e76_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/e680efc0bdba5e76_0 new file mode 100644 index 0000000..0a64eaa Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/e680efc0bdba5e76_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/e82722be0ce0b799_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/e82722be0ce0b799_0 new file mode 100644 index 0000000..caf13a9 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/e82722be0ce0b799_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/e9f657f5b91538df_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/e9f657f5b91538df_0 new file mode 100644 index 0000000..960c260 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/e9f657f5b91538df_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/f89911361a766fc0_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/f89911361a766fc0_0 new file mode 100644 index 0000000..40cd156 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/f89911361a766fc0_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/fc290fdf86b5b036_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/fc290fdf86b5b036_0 new file mode 100644 index 0000000..3463282 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/fc290fdf86b5b036_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/fe161ceef199ef40_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/fe161ceef199ef40_0 new file mode 100644 index 0000000..7abafaa Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/fe161ceef199ef40_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/index b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/index new file mode 100644 index 0000000..79bd403 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/index differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/index-dir/the-real-index b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/index-dir/the-real-index new file mode 100644 index 0000000..25517ad Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/js/index-dir/the-real-index differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/wasm/index b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/wasm/index new file mode 100644 index 0000000..79bd403 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/wasm/index differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/wasm/index-dir/the-real-index b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/wasm/index-dir/the-real-index new file mode 100644 index 0000000..b94274e Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Code Cache/wasm/index-dir/the-real-index differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DIPS b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DIPS new file mode 100644 index 0000000..9fdfdd5 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DIPS differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DIPS-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DIPS-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DawnCache/data_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DawnCache/data_0 new file mode 100644 index 0000000..d76fb77 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DawnCache/data_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DawnCache/data_1 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DawnCache/data_1 new file mode 100644 index 0000000..e61c517 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DawnCache/data_1 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DawnCache/data_2 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DawnCache/data_2 new file mode 100644 index 0000000..c7e2eb9 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DawnCache/data_2 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DawnCache/data_3 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DawnCache/data_3 new file mode 100644 index 0000000..5eec973 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DawnCache/data_3 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DawnCache/index b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DawnCache/index new file mode 100644 index 0000000..0726619 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/DawnCache/index differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Download Service/EntryDB/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Download Service/EntryDB/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Download Service/EntryDB/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Download Service/EntryDB/LOG new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Download Service/EntryDB/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Download Service/EntryDB/LOG.old new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/EdgeEDrop/EdgeEDropSQLite.db b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/EdgeEDrop/EdgeEDropSQLite.db new file mode 100644 index 0000000..765ea45 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/EdgeEDrop/EdgeEDropSQLite.db differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/EdgeEDrop/EdgeEDropSQLite.db-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/EdgeEDrop/EdgeEDropSQLite.db-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Rules/000003.log b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Rules/000003.log new file mode 100644 index 0000000..4acb4c8 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Rules/000003.log differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Rules/CURRENT b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Rules/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Rules/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Rules/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Rules/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Rules/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Rules/LOG new file mode 100644 index 0000000..ec94ea5 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Rules/LOG @@ -0,0 +1,2 @@ +2023/07/17-00:28:49.530 91a4 Creating DB C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Extension Rules since it was missing. +2023/07/17-00:28:49.540 91a4 Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Extension Rules/MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Rules/MANIFEST-000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Rules/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Rules/MANIFEST-000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Scripts/000003.log b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Scripts/000003.log new file mode 100644 index 0000000..4acb4c8 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Scripts/000003.log differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Scripts/CURRENT b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Scripts/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Scripts/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Scripts/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Scripts/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Scripts/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Scripts/LOG new file mode 100644 index 0000000..158afdb --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Scripts/LOG @@ -0,0 +1,2 @@ +2023/07/17-00:28:49.552 91a4 Creating DB C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Extension Scripts since it was missing. +2023/07/17-00:28:49.564 91a4 Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Extension Scripts/MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Scripts/MANIFEST-000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Scripts/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension Scripts/MANIFEST-000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/000003.log b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/000003.log new file mode 100644 index 0000000..b248f53 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/000003.log differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/CURRENT b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/LOG new file mode 100644 index 0000000..2222a75 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/LOG @@ -0,0 +1,3 @@ +2023/07/17-00:30:07.686 b4f8 Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Extension State/MANIFEST-000001 +2023/07/17-00:30:07.686 b4f8 Recovering log #3 +2023/07/17-00:30:07.686 b4f8 Reusing old log C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Extension State/000003.log diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/LOG.old new file mode 100644 index 0000000..95b46d9 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/LOG.old @@ -0,0 +1,2 @@ +2023/07/17-00:28:49.613 ce7c Creating DB C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Extension State since it was missing. +2023/07/17-00:28:49.622 ce7c Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Extension State/MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/MANIFEST-000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Extension State/MANIFEST-000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/ExtensionActivityComp b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/ExtensionActivityComp new file mode 100644 index 0000000..f8e5b96 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/ExtensionActivityComp differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/ExtensionActivityComp-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/ExtensionActivityComp-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/ExtensionActivityEdge b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/ExtensionActivityEdge new file mode 100644 index 0000000..ab2fb55 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/ExtensionActivityEdge differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/ExtensionActivityEdge-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/ExtensionActivityEdge-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Favicons b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Favicons new file mode 100644 index 0000000..b3f2437 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Favicons differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Favicons-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Favicons-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Feature Engagement Tracker/AvailabilityDB/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Feature Engagement Tracker/AvailabilityDB/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Feature Engagement Tracker/AvailabilityDB/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Feature Engagement Tracker/AvailabilityDB/LOG new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Feature Engagement Tracker/AvailabilityDB/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Feature Engagement Tracker/AvailabilityDB/LOG.old new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Feature Engagement Tracker/EventDB/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Feature Engagement Tracker/EventDB/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Feature Engagement Tracker/EventDB/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Feature Engagement Tracker/EventDB/LOG new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Feature Engagement Tracker/EventDB/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Feature Engagement Tracker/EventDB/LOG.old new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/.usage b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/.usage new file mode 100644 index 0000000..39f62ba Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/.usage differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/Paths/000003.log b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/Paths/000003.log new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/Paths/CURRENT b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/Paths/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/Paths/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/Paths/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/Paths/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/Paths/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/Paths/LOG new file mode 100644 index 0000000..0df7158 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/Paths/LOG @@ -0,0 +1,2 @@ +2023/07/17-00:30:08.555 7a5c Creating DB C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\File System\000\t\Paths since it was missing. +2023/07/17-00:30:08.561 7a5c Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\File System\000\t\Paths/MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/Paths/MANIFEST-000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/Paths/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/000/t/Paths/MANIFEST-000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/.usage b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/.usage new file mode 100644 index 0000000..39f62ba Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/.usage differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/Paths/000003.log b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/Paths/000003.log new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/Paths/CURRENT b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/Paths/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/Paths/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/Paths/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/Paths/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/Paths/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/Paths/LOG new file mode 100644 index 0000000..1433f9d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/Paths/LOG @@ -0,0 +1,2 @@ +2023/07/17-00:30:08.563 7a5c Creating DB C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\File System\001\t\Paths since it was missing. +2023/07/17-00:30:08.569 7a5c Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\File System\001\t\Paths/MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/Paths/MANIFEST-000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/Paths/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/001/t/Paths/MANIFEST-000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/000003.log b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/000003.log new file mode 100644 index 0000000..d09ee7d Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/000003.log differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/CURRENT b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/LOG new file mode 100644 index 0000000..558726e --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/LOG @@ -0,0 +1,3 @@ +2023/07/17-00:30:08.553 7a5c Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\File System\Origins/MANIFEST-000001 +2023/07/17-00:30:08.553 7a5c Recovering log #3 +2023/07/17-00:30:08.554 7a5c Reusing old log C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\File System\Origins/000003.log diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/LOG.old new file mode 100644 index 0000000..9def3e6 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/LOG.old @@ -0,0 +1,2 @@ +2023/07/17-00:28:51.725 91a4 Creating DB C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\File System\Origins since it was missing. +2023/07/17-00:28:51.732 91a4 Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\File System\Origins/MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/MANIFEST-000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/File System/Origins/MANIFEST-000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/GPUCache/data_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/GPUCache/data_0 new file mode 100644 index 0000000..42ffdcb Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/GPUCache/data_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/GPUCache/data_1 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/GPUCache/data_1 new file mode 100644 index 0000000..17fe0ad Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/GPUCache/data_1 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/GPUCache/data_2 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/GPUCache/data_2 new file mode 100644 index 0000000..202273f Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/GPUCache/data_2 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/GPUCache/data_3 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/GPUCache/data_3 new file mode 100644 index 0000000..30534cb Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/GPUCache/data_3 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/GPUCache/index b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/GPUCache/index new file mode 100644 index 0000000..94a5e01 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/GPUCache/index differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/History b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/History new file mode 100644 index 0000000..1574e36 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/History differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/History-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/History-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/000003.log b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/000003.log new file mode 100644 index 0000000..5b6389a Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/000003.log differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/CURRENT b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/LOG new file mode 100644 index 0000000..13e0988 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/LOG @@ -0,0 +1,3 @@ +2023/07/17-00:30:25.319 b4f8 Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\IndexedDB\https_identitysso.betfair.com_0.indexeddb.leveldb/MANIFEST-000001 +2023/07/17-00:30:25.319 b4f8 Recovering log #3 +2023/07/17-00:30:25.319 b4f8 Reusing old log C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\IndexedDB\https_identitysso.betfair.com_0.indexeddb.leveldb/000003.log diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/LOG.old new file mode 100644 index 0000000..165353f --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/LOG.old @@ -0,0 +1,3 @@ +2023/07/17-00:30:08.747 b4f8 Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\IndexedDB\https_identitysso.betfair.com_0.indexeddb.leveldb/MANIFEST-000001 +2023/07/17-00:30:08.747 b4f8 Recovering log #3 +2023/07/17-00:30:08.747 b4f8 Reusing old log C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\IndexedDB\https_identitysso.betfair.com_0.indexeddb.leveldb/000003.log diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/MANIFEST-000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/MANIFEST-000001 new file mode 100644 index 0000000..3ccb46a Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_identitysso.betfair.com_0.indexeddb.leveldb/MANIFEST-000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_www.betfair.com_0.indexeddb.leveldb/000003.log b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_www.betfair.com_0.indexeddb.leveldb/000003.log new file mode 100644 index 0000000..8c43b4b Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_www.betfair.com_0.indexeddb.leveldb/000003.log differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_www.betfair.com_0.indexeddb.leveldb/CURRENT b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_www.betfair.com_0.indexeddb.leveldb/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_www.betfair.com_0.indexeddb.leveldb/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_www.betfair.com_0.indexeddb.leveldb/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_www.betfair.com_0.indexeddb.leveldb/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_www.betfair.com_0.indexeddb.leveldb/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_www.betfair.com_0.indexeddb.leveldb/LOG new file mode 100644 index 0000000..8cde166 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_www.betfair.com_0.indexeddb.leveldb/LOG @@ -0,0 +1,2 @@ +2023/07/17-00:30:23.232 b4f8 Creating DB C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\IndexedDB\https_www.betfair.com_0.indexeddb.leveldb since it was missing. +2023/07/17-00:30:23.239 b4f8 Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\IndexedDB\https_www.betfair.com_0.indexeddb.leveldb/MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_www.betfair.com_0.indexeddb.leveldb/MANIFEST-000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_www.betfair.com_0.indexeddb.leveldb/MANIFEST-000001 new file mode 100644 index 0000000..3ccb46a Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/IndexedDB/https_www.betfair.com_0.indexeddb.leveldb/MANIFEST-000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/LOG new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/LOG.old new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/000003.log b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/000003.log new file mode 100644 index 0000000..853344e Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/000003.log differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/CURRENT b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/LOG new file mode 100644 index 0000000..236395b --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/LOG @@ -0,0 +1,3 @@ +2023/07/17-00:30:07.640 d96c Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Local Storage\leveldb/MANIFEST-000001 +2023/07/17-00:30:07.641 d96c Recovering log #3 +2023/07/17-00:30:07.643 d96c Reusing old log C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Local Storage\leveldb/000003.log diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/LOG.old new file mode 100644 index 0000000..9d81f89 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/LOG.old @@ -0,0 +1,2 @@ +2023/07/17-00:28:49.579 d7ec Creating DB C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Local Storage\leveldb since it was missing. +2023/07/17-00:28:49.598 d7ec Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Local Storage\leveldb/MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/MANIFEST-000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Local Storage/leveldb/MANIFEST-000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Login Data b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Login Data new file mode 100644 index 0000000..6905efa Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Login Data differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Login Data-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Login Data-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network Action Predictor b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network Action Predictor new file mode 100644 index 0000000..86354cf Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network Action Predictor differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network Action Predictor-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network Action Predictor-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Cookies b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Cookies new file mode 100644 index 0000000..357d91a Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Cookies differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Cookies-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Cookies-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Network Persistent State b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Network Persistent State new file mode 100644 index 0000000..41624b7 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Network Persistent State @@ -0,0 +1 @@ +{"net":{"http_server_properties":{"servers":[{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://tags.tiqcdn.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://collect.tealiumiq.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615733136738","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://adservice.google.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615733253595","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://region1.google-analytics.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615733334024","host":"googleads.g.doubleclick.net","port":443,"protocol_str":"quic"},{"advertised_alpns":["h3"],"expiration":"13336615733334025","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://adservice.google.co.uk","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://static.criteo.net","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://ag.gbc.criteo.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://gem.gbc.criteo.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://dnacdn.net","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://sslwidget.criteo.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://secure.adnxs.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://contextual.media.net","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://eb2.3lift.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://rtb-csync.smartadserver.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://sync-t1.taboola.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://match.sharethrough.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://x.bidswitch.net","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://criteo-sync.teads.tv","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://dis.criteo.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://visitor.omnitagjs.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://ups.analytics.yahoo.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://cm.adform.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615734396131","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://matching.ivitrack.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://ad.360yield.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://simage2.pubmatic.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://exchange.mediavine.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://beacon.krxd.net","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://gum.criteo.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://e1.emxdgt.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://sync-criteo.ads.yieldmo.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://criteo-partners.tremorhub.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://s.thebrighttag.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"server":"https://csm.nl3.eu.criteo.net","supports_spdy":true},{"anonymization":["HAAAABUAAABodHRwczovL21pY3Jvc29mdC5jb20AAAA=",false],"server":"https://edge.microsoft.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615733408477","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"network_stats":{"srtt":30844},"server":"https://4898337.fls.doubleclick.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615734206170","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"network_stats":{"srtt":30947},"server":"https://cm.g.doubleclick.net","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://betfair-app.quantummetric.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615754704707","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://fonts.googleapis.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110222981625","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://clientmetrics.betfair.com"},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://n7v3e8x0.mi-content.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110156788378","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":16139},"server":"https://gmimages.cdnppb.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110129869424","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://ie1-sscbf.cdnppb.net","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://static.cloudflareinsights.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615732990525","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":41224},"server":"https://www.googletagmanager.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110138083944","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":16139},"server":"https://ie1-ssobf.cdnppb.net","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://secure.adnxs.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://cdn-ukwest.onetrust.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://sc-static.net","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://static.ads-twitter.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://zn0mqjwmvgaleudun-paddypower.siteintercept.qualtrics.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://t.co","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://analytics.twitter.com","supports_spdy":true},{"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"server":"https://bat.bing.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615814573965","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":29734},"server":"https://a.nel.cloudflare.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110224514915","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":16997},"server":"https://ips.betfair.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110220996613","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":16997},"server":"https://messaging.betfair.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110227664739","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":16997},"server":"https://movableink.betfair.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110222757627","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":16997},"server":"https://www.betfair.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110227160484","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":16997},"server":"https://identitysso.betfair.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110224231761","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":17132},"server":"https://apieds.betfair.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110224160525","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":17132},"server":"https://scan-inbf.betfair.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110222958019","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":17132},"server":"https://ssc.betfair.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110219844116","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":17132},"server":"https://usp.betfair.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110219969860","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":17132},"server":"https://was.betfair.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110219930918","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":17132},"server":"https://lbr.betfair.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110222978286","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":25840},"server":"https://assets.cdnppb.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110154168607","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":25840},"server":"https://cache.cdnppb.net"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110155509551","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":25840},"server":"https://ie1eds.cdnppb.net"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110201511208","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":25840},"server":"https://ie2eds.cdnppb.net"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110224607938","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":25840},"server":"https://ie2-ssobf.cdnppb.net"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110216203198","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":16725},"server":"https://cdn.quantummetric.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110132937534","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":34288},"server":"https://connect.facebook.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110222917492","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":17962},"server":"https://smd.betfair.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110224424683","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":17962},"server":"https://ero.betfair.com"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615755034232","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":26880},"server":"https://fonts.gstatic.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110141642722","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":30799},"server":"https://ie2-sscbf.cdnppb.net"},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615808279315","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":35452},"server":"https://stats.g.doubleclick.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615827742389","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"network_stats":{"srtt":28044},"server":"https://tr.snapchat.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615829483278","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":31003},"server":"https://tr.snapchat.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110227338073","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":19639},"server":"https://www.facebook.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13334110214175914","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",true],"network_stats":{"srtt":32363},"server":"https://www.facebook.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615827367996","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":21482},"server":"https://www.google-analytics.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615808373907","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":20661},"server":"https://www.google.co.uk","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13336615808377901","port":443,"protocol_str":"quic"}],"anonymization":["GAAAABMAAABodHRwczovL2JldGZhaXIuY29tAA==",false],"network_stats":{"srtt":26279},"server":"https://www.google.com","supports_spdy":true}],"supports_quic":{"address":"192.168.0.33","used_quic":true},"version":5},"network_qualities":{"CAESABiAgICA+P////8B":"4G"}}} \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/NetworkDataMigrated b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/NetworkDataMigrated new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Reporting and NEL b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Reporting and NEL new file mode 100644 index 0000000..480235c Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Reporting and NEL differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Reporting and NEL-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Reporting and NEL-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/SCT Auditing Pending Reports b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/SCT Auditing Pending Reports new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/SCT Auditing Pending Reports @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Sdch Dictionaries b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Sdch Dictionaries new file mode 100644 index 0000000..8bca100 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/Sdch Dictionaries @@ -0,0 +1 @@ +{"SDCH":{"dictionaries":{},"version":2}} \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/TransportSecurity b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/TransportSecurity new file mode 100644 index 0000000..e845381 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Network/TransportSecurity @@ -0,0 +1 @@ +{"sts":[{"expiry":1721086133.822366,"host":"BHTBGd79pXMCYJLNH1q3C05V1cJQr1TB+F7sRvc4JoY=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550133.822368},{"expiry":1721086227.717915,"host":"Bf1UtPVpQdMDBe5RvPtgBPJRmKAlUQqTTkdH1mHLnoY=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550227.717918},{"expiry":1721086133.84479,"host":"D7y1i3EdynrWEsK2aiH+LiPcNGyzRhbV3t7zbFEXAW4=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550133.844793},{"expiry":1689571733.408761,"host":"FOiTLmV1Li2HsFhBwtu5Y+GIeZuX4oM377lbc/7/ln0=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550133.408764},{"expiry":1721086229.551683,"host":"KMr9YX7lsxeIKEKcpq38GQQL5ZYZdJChRMrnjyChZPo=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550229.551686},{"expiry":1721086224.51519,"host":"Ky6n2W/8y50XKaDgBo7ZCwX7NCEnMLxUfkaJCh+sNps=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550224.515194},{"expiry":1700436608.279363,"host":"LAZkYS46RVRcFiZAzmUJrz6TJHBd4nwE6VxPWfPLYHs=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550208.279366},{"expiry":1721086227.160664,"host":"MIWToKhJcEtonrMN9VanWTdHSYCYZbP0fBu2yl2VdQs=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550227.160667},{"expiry":1721086132.990738,"host":"M4bfUnCmQAi4PNb3B8aI/2+SVJhHKsMfMMT7fzi6ij4=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550132.990742},{"expiry":1721086224.160664,"host":"PqSRDa533fOZNcO/kt4I7Cg0S++R/+JOJeHau8mnz3Q=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550224.160668},{"expiry":1721086133.565226,"host":"R3T10keZxs6l8nVogWKq7OuoLlDBoMwfWibVzhOAbws=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550133.56523},{"expiry":1721086227.338239,"host":"TZmujbl93Yt3JI8wZ4X/zjkA0WFNGNW44A+o7h4YyHw=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550227.338241},{"expiry":1721086134.301265,"host":"UGPzUCrERP4G+gCRkGEGhfWVFjbQUJO4L8fTn0tIFSo=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550134.301266},{"expiry":1721086227.910337,"host":"VXaF1pUbZA8ezo4nJ3i8RkPWqf3qVO7LPTnPgRQ1hyo=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550227.910339},{"expiry":1721086222.978469,"host":"WnHobQDCIdGqd3rXtnCa2Q+Ki9Mv/msNOYkCZQnbeXo=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550222.978472},{"expiry":1721086219.931206,"host":"W91/2X+OoViu93OAaDkYMgl8MHeoPh0J2roFq76g4Dg=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550219.93121},{"expiry":1689636621.28538,"host":"XkkkB2ofzfdQ3XFACyPJHT0+0YfxhedJOx4t3KIByk8=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550221.285384},{"expiry":1721086134.313925,"host":"YHSMTQnYC85xpfxQXKcYuC0wBIhWAWiCTB+UjCnXwn0=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550134.313928},{"expiry":1721086227.98837,"host":"YkXcdVR7rfNPi/XeMwIWdPPOMgln+CB3Myi2yjQ8vbs=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550227.988373},{"expiry":1721086134.39217,"host":"Y1cbV6ziZu1KjdKdxBzKmgzsZCYqaDEHWONjJAo942Q=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550134.392173},{"expiry":1721086222.91757,"host":"aVwhrVErX9vh6h8CAF6FdplG2h4VXW3xV/EUI9El8HA=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550222.917572},{"expiry":1721086222.819755,"host":"aYy0IynXzqKVIDEoAF8sFo82kab0dmyhN9qOU1gY2Ms=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550222.819757},{"expiry":1721086229.483327,"host":"avV1PvCevL2Cm1dpAl2Dh8eNtO3IndDayOqksoGzf9E=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550229.48333},{"expiry":1721086141.644029,"host":"b0N3pMn0EQ3LWwEa2a5KDDADqCtIEHb+7/5BQ7k/I+0=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550141.644032},{"expiry":1721086227.811491,"host":"b+1zAjx7TfZR0tau/Dayr1KXpJsp8wekXoIt8+pqvbs=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550227.811494},{"expiry":1721086134.219982,"host":"dYC53Ql9DXGBKeZ2KSRgJEaCu7sGobE+62EUuW9maAw=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550134.219984},{"expiry":1700436532.860723,"host":"fJjUrPqhktMfiTHJX3Q0pJi/P12Q72DBgzzJqjlNC4o=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550132.860726},{"expiry":1721086224.42506,"host":"gQEG0BnaekRzUiCp4CuhZM9ga3je+oOeiMeG1y2JRjQ=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550224.425065},{"expiry":1721086223.359358,"host":"g5ok0k62kje9iCZ9bI5HKXEiIGrXPgtxdC4uZHLT6n0=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550223.359362},{"expiry":1721086224.231856,"host":"hPflnvn0HyRoMpmFfiwrkZQY21Dr8Fy0Yq4tiJ9/SFw=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550224.231859},{"expiry":1721086130.946947,"host":"lNUjTFV0BdZaWHUFN1CAhsVryf3gzufylS+dafilIZw=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550130.946951},{"expiry":1721086220.997274,"host":"lWQWQBH1cIntBLi4hri+LMV3lUc8cUQHe0sbrSZoAZw=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550220.997277},{"expiry":1721086156.78862,"host":"lmDaGIeOyGtbgTVQ1y1/MH8Mgg9/Z9hDYODMP4OOke0=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550156.788623},{"expiry":1721086154.704876,"host":"nAuqgR4iEWti7SOdT3UHPl6rmZU/DeaIm38P2O2OkgA=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550154.70488},{"expiry":1721086138.084189,"host":"nCzl/4wkPTn+6RhTP+MSl3hCrxgFT8C+BSoOegTB2ok=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550138.084193},{"expiry":1721086224.608514,"host":"nheo+VMXsGjK8tMtJRg0dbBJ+2k1UvCncZhbZsQz8Qg=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550224.608517},{"expiry":1721086201.511476,"host":"pkEuS8whwwSj7M0vDhNBbEZvwTEaOz+52yEUdFZJYyk=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550201.511479},{"expiry":1721086155.50981,"host":"pu7H6fej9LeBtIoMSQH5bCdBufHvQQen/Uhv43HiZrE=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550155.509814},{"expiry":1721086141.699462,"host":"sk5yEJ1u+GlM7PViIJ+fLF8Do1e9Z9vId8BrI5sCBMM=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550141.699465},{"expiry":1721086134.402794,"host":"vifNOaTUh1l0znOLY0vXjRvf72JiHdZh2kkpyU9UlMM=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550134.402797},{"expiry":1721086133.848179,"host":"wf64ELdOSmpV81UTCOJtWt6QebPRbq4VxF8ip+/8nOw=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550133.848181},{"expiry":1721086130.412271,"host":"xeVb3t43rthab0/gySoqCmdco6c7AtWh52u5FUUirGA=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550130.412274},{"expiry":1721086227.664863,"host":"0DEkmWETaPFm4Vg5pG5UKM9NAHG/7EU4BDU7VasKQbc=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550227.664866},{"expiry":1721086222.981699,"host":"0uiOoZVV9HTgIxkNqKKjCFBVlhjI4uA08Y1lDRuQhq8=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550222.981701},{"expiry":1721086142.208823,"host":"1xIGZMTJOhDaSrtima3tEDtHuxWHKUOkPXwS9wddt/g=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550142.208827},{"expiry":1721086219.844239,"host":"1+y6YYoo1gwI58of+WZLpELablQwU1OwzSImTXgGaWk=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550219.844242},{"expiry":1721086216.203374,"host":"2rgmKrl8Ly9Rj0k9LKu5uiCOoDZ0hLwvmM2WSj1PAYw=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550216.203377},{"expiry":1721086134.048236,"host":"4IJ4xUy82N4Kofo+HVcAung543u3KpxfW0U2RYJgNSc=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550134.04824},{"expiry":1721086154.168743,"host":"57yDRIiHJfTe/dRhdv07pIH3O+eZXVfGukrqskoKjxc=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550154.168746},{"expiry":1721086219.970135,"host":"6cFYcFKYJVktuwyKBfzgIpT0tf8tNlxxuLQJZCik+wg=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550219.970138},{"expiry":1721086229.522706,"host":"66r9k1CXrt29BVAm1YSextZRPIwKWJTGyw5G7x5g0LU=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550229.522709},{"expiry":1721086222.958115,"host":"8xBr1xwfY5K3sqdZtsp+J5KblsROpt3rnPXKs9Zvb3E=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550222.958118},{"expiry":1721086208.883276,"host":"9LiVNJ3dWDdV8RRUiBgn2v3o37c9BP4vhVEZp9yQrAk=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550208.883279},{"expiry":1721086227.849348,"host":"9jFJneXMVHTXLZTJwwlFuScHMcN/99brFSgqRKTizGw=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550227.84935},{"expiry":1721086225.458896,"host":"+cdo9A2IUqlYd0SEUiApmZkgPhlzlDF1buywLA+1ZJ0=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550225.458899},{"expiry":1721086222.757753,"host":"+d3H48aS12t4fg1G8T7n/knSuaDoj8WpzZgFoQ1WpKg=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550222.757756},{"expiry":1721086132.937862,"host":"+loO+DGmT6DTr59JZFAnGSlBAwPkO5M/R9ec1Sw/9KA=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550132.93787},{"expiry":1721086129.869823,"host":"/WnymQJX0vNji4IdP9TOIm6JmVbL1BEP3//BiVleht0=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1689550129.869825},{"expiry":1721086134.59838,"host":"/77A5T6JogONNjN+n9oB7n86t/CqzpKXBbG9Xptlpjg=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1689550134.598383}],"version":2} \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Preferences b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Preferences new file mode 100644 index 0000000..9a769cb --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Preferences @@ -0,0 +1 @@ +{"aadc_info":{"age_group":0},"account_tracker_service_last_update":"13334023729603740","alternate_error_pages":{"backup":true,"enabled":false},"autocomplete":{"retention_policy_last_version":114},"autofill":{"autostuff_enabled":false,"credit_card_enabled":false,"custom_data_enabled":false,"custom_data_fill_enabled":false,"custom_data_identify_info_from_form_enabled":false,"custom_data_save_enabled":false,"orphan_rows_removed":true,"upload_encoding_seed":"EC4C426DEC44A480DC7B36B74C1405B8","upload_events":{"138":65,"187":64},"upload_events_last_reset_timestamp":"13334023741309293"},"browser":{"available_dark_theme_options":"All","has_seen_welcome_page":false},"browser_content_container_height":524,"browser_content_container_width":986,"browser_content_container_x":0,"browser_content_container_y":0,"countryid_at_install":18242,"credentials_enable_service":false,"dips_timer_last_update":"13334023729579542","domain_diversity":{"last_reporting_timestamp":"13334023729602767"},"dual_engine":{"consumer_mode":{"ie_user":false},"consumer_sitelist_location":"","consumer_sitelist_version":"","shared_cookie_data":{},"sitelist_data_2":{},"sitelist_has_consumer_data":false,"sitelist_has_enterprise_data":false,"sitelist_location":"","sitelist_source":0,"sitelist_version":""},"edge":{"msa_sso_info":{"allow_for_non_msa_profile":true},"profile_sso_info":{"is_msa_first_profile":true,"msa_sso_algo_state":1},"services":{"signin_scoped_device_id":"f8bb3b2a-87eb-4153-8fc0-4fe9caf2e95c"}},"edge_rewards":{"cache_data":"CAA=","coachmark_promotions":{},"hva_promotions":[],"redeem_promotions":[],"refresh_status_muted_until":"13334628529580108"},"edge_ux_config":{"assignmentcontext":"","dataversion":"0","experimentvariables":{},"flights":{}},"edge_vpn":{"available":true},"enable_edge_collections":false,"extensions":{"alerts":{"initialized":true},"chrome_url_overrides":{},"last_chrome_version":"114.0.1823.82","pdf_upsell_triggered":false,"pinned_extension_migration":true,"pinned_extensions":[]},"fsd":{"retention_policy_last_version":114},"google":{"services":{"consented_to_sync":false}},"intl":{"selected_languages":"en-GB,en,en-US"},"language_dwell_time_average":{"en":9.0},"language_model_counters":{"en":5},"language_usage_count":{"en":1},"media":{"device_id_salt":"C1F2DF3141051C18B11617FC0B8F7A8F"},"muid":{"last_sync":"13334023729535026","values_seen":[]},"optimization_guide":{"hintsfetcher":{"hosts_successfully_fetched":{}},"previously_registered_optimization_types":{"ABOUT_THIS_SITE":true,"HISTORY_CLUSTERS":true},"store_file_paths_to_delete":{}},"personalization_data_consent":{"personalization_in_context_consent_can_prompt":true,"personalization_in_context_count":0},"privacy_sandbox":{"anti_abuse_initialized":true},"profile":{"avatar_index":20,"content_settings":{"enable_quiet_permission_ui_enabling_method":{"notifications":1},"exceptions":{"accessibility_events":{},"anti_abuse":{},"app_banner":{},"ar":{},"auto_select_certificate":{},"automatic_downloads":{},"autoplay":{},"background_sync":{},"bluetooth_chooser_data":{},"bluetooth_guard":{},"bluetooth_scanning":{},"camera_pan_tilt_zoom":{},"clear_browsing_data_cookies_exceptions":{},"client_hints":{},"clipboard":{},"cookies":{},"durable_storage":{},"edge_ad_targeting":{},"edge_ad_targeting_data":{},"edge_sdsm":{},"edge_u2f_api_request":{},"edge_user_agent_token":{},"fedcm_active_session":{},"fedcm_idp_registration":{},"fedcm_idp_signin":{},"fedcm_share":{},"file_system_access_chooser_data":{},"file_system_last_picked_directory":{},"file_system_read_guard":{},"file_system_write_guard":{},"formfill_metadata":{"https://identitysso.betfair.com:443,*":{"last_modified":"13334023737522716","setting":{"UserDataFieldFilled":true}}},"geolocation":{},"get_display_media_set_select_all_screens":{},"hid_chooser_data":{},"hid_guard":{},"http_allowed":{},"https_enforced":{},"idle_detection":{},"images":{},"important_site_info":{},"insecure_private_network":{},"intent_picker_auto_display":{},"javascript":{},"javascript_jit":{},"legacy_cookie_access":{},"local_fonts":{},"media_engagement":{},"media_stream_camera":{},"media_stream_mic":{},"midi_sysex":{},"mixed_script":{},"nfc_devices":{},"notification_interactions":{},"notification_permission_review":{},"notifications":{},"password_protection":{},"payment_handler":{},"permission_autoblocking_data":{},"permission_autorevocation_data":{},"popups":{},"private_network_chooser_data":{},"private_network_guard":{},"protected_media_identifier":{},"protocol_handler":{},"reduced_accept_language":{},"safe_browsing_url_check_data":{},"secure_network":{},"secure_network_sites":{},"sensors":{},"serial_chooser_data":{},"serial_guard":{},"site_engagement":{"https://identitysso.betfair.com:443,*":{"last_modified":"13334023827177382","setting":{"lastEngagementTime":1.3334023827177368e+16,"lastShortcutLaunchTime":0.0,"pointsAddedToday":11.7,"rawScore":11.7}}},"sleeping_tabs":{},"sound":{},"ssl_cert_decisions":{},"storage_access":{},"subresource_filter":{},"subresource_filter_data":{},"third_party_storage_partitioning":{},"token_binding":{},"top_level_storage_access":{},"trackers":{},"trackers_data":{"https://4898337.fls.doubleclick.net:443,*":{"last_modified":"13334023732659436","setting":{"count":1}},"https://9ghwyvdk2lfedchqosol4ori2bhq2ugmgacmmyxle0fc160406c906a7am1.e.aa.online-metrix.net:443,*":{"last_modified":"13334023730820233","setting":{"count":1}},"https://9ghwyvdklnp3irlzfepe3qtcapftdsqdfnvedqxvc2e10d50832878c8am1.e.aa.online-metrix.net:443,*":{"last_modified":"13334023827847307","setting":{"count":1}},"https://9ghwyvdkp5xcvrh277dhezgfeke62gl6dkup3upw92f3ecd94dfa0868am1.e.aa.online-metrix.net:443,*":{"last_modified":"13334023825319422","setting":{"count":1}},"https://9ghwyvdksnimg7kr5ueay5h46d52wf3c7kvvdhc47646ee4e26b7c9c9am1.e.aa.online-metrix.net:443,*":{"last_modified":"13334023823234786","setting":{"count":1}},"https://9ghwyvdkzvzwgsxk3t2ifi562dg6r24p4la4udxq3946c68c0550b9bbam1.e.aa.online-metrix.net:443,*":{"last_modified":"13334023808750085","setting":{"count":1}},"https://ad.360yield.com:443,*":{"last_modified":"13334023734251780","setting":{"count":1}},"https://ad.yieldlab.net:443,*":{"last_modified":"13334023734393160","setting":{"count":1}},"https://adservice.google.co.uk:443,*":{"last_modified":"13334023733157239","setting":{"count":1}},"https://adservice.google.com:443,*":{"last_modified":"13334023732946176","setting":{"count":1}},"https://analytics.twitter.com:443,*":{"last_modified":"13334023827718168","setting":{"count":7}},"https://bat.bing.com:443,*":{"last_modified":"13334023827690761","setting":{"count":11}},"https://beacon.krxd.net:443,*":{"last_modified":"13334023734347031","setting":{"count":1}},"https://cm.adform.net:443,*":{"last_modified":"13334023734209608","setting":{"count":1}},"https://cm.g.doubleclick.net:443,*":{"last_modified":"13334023734065750","setting":{"count":1}},"https://collect.tealiumiq.com:443,*":{"last_modified":"13334023732965187","setting":{"allowed_tracker_count":1}},"https://connect.facebook.net:443,*":{"last_modified":"13334023827244563","setting":{"count":7}},"https://contextual.media.net:443,*":{"last_modified":"13334023734068767","setting":{"count":1}},"https://criteo-partners.tremorhub.com:443,*":{"last_modified":"13334023734363472","setting":{"count":1}},"https://criteo-sync.teads.tv:443,*":{"last_modified":"13334023734069746","setting":{"count":1}},"https://d9.flashtalking.com:443,*":{"last_modified":"13334023732691578","setting":{"count":1}},"https://dis.criteo.com:443,*":{"last_modified":"13334023734151522","setting":{"count":1}},"https://dpm.demdex.net:443,*":{"last_modified":"13334023734099240","setting":{"count":1}},"https://e1.emxdgt.com:443,*":{"last_modified":"13334023734397279","setting":{"count":1}},"https://eb2.3lift.com:443,*":{"last_modified":"13334023734069832","setting":{"count":1}},"https://gum.criteo.com:443,*":{"last_modified":"13334023733580112","setting":{"count":1}},"https://h.online-metrix.net:443,*":{"last_modified":"13334023827809723","setting":{"count":5}},"https://ib.adnxs.com:443,*":{"last_modified":"13334023734066573","setting":{"count":1}},"https://id5-sync.com:443,*":{"last_modified":"13334023734251629","setting":{"count":1}},"https://match.sharethrough.com:443,*":{"last_modified":"13334023734069566","setting":{"count":1}},"https://pixel.rubiconproject.com:443,*":{"last_modified":"13334023734069485","setting":{"count":1}},"https://r.casalemedia.com:443,*":{"last_modified":"13334023734225096","setting":{"count":1}},"https://region1.google-analytics.com:443,*":{"last_modified":"13334023733093698","setting":{"allowed_tracker_count":1}},"https://rtb-csync.smartadserver.com:443,*":{"last_modified":"13334023734069615","setting":{"count":1}},"https://s.thebrighttag.com:443,*":{"last_modified":"13334023734599686","setting":{"count":1}},"https://secure.adnxs.com:443,*":{"last_modified":"13334023827306334","setting":{"count":8}},"https://servedby.flashtalking.com:443,*":{"last_modified":"13334023821191025","setting":{"count":4}},"https://simage2.pubmatic.com:443,*":{"last_modified":"13334023734302486","setting":{"count":1}},"https://sslwidget.criteo.com:443,*":{"last_modified":"13334023733883887","setting":{"count":1}},"https://static.ads-twitter.com:443,*":{"last_modified":"13334023827690264","setting":{"count":8}},"https://static.criteo.net:443,*":{"last_modified":"13334023733420185","setting":{"count":1}},"https://stats.g.doubleclick.net:443,*":{"last_modified":"13334023808163337","setting":{"count":2}},"https://sync-criteo.ads.yieldmo.com:443,*":{"last_modified":"13334023734395549","setting":{"count":1}},"https://sync-t1.taboola.com:443,*":{"last_modified":"13334023734069702","setting":{"count":1}},"https://sync.outbrain.com:443,*":{"last_modified":"13334023734302320","setting":{"count":1}},"https://ups.analytics.yahoo.com:443,*":{"last_modified":"13334023734198739","setting":{"count":1}},"https://visitor.omnitagjs.com:443,*":{"last_modified":"13334023734221198","setting":{"count":1}},"https://www.facebook.com:443,*":{"last_modified":"13334023827321686","setting":{"count":8}},"https://www.google-analytics.com:443,*":{"last_modified":"13334023827305739","setting":{"allowed_tracker_count":8}},"https://www.google.co.uk:443,*":{"last_modified":"13334023808281813","setting":{"count":2}},"https://www.google.com:443,*":{"last_modified":"13334023808281743","setting":{"count":2}},"https://x.bidswitch.net:443,*":{"last_modified":"13334023734065536","setting":{"count":1}}},"tracking_org_exceptions":{},"tracking_org_relationships":{},"unused_site_permissions":{},"usb_chooser_data":{},"usb_guard":{},"vr":{},"webid_api":{},"webid_auto_reauthn":{},"window_placement":{}},"pref_version":1},"created_by_version":"114.0.1823.82","creation_time":"13334023729508226","edge_profile_id":"096d3d2a-4e6d-4879-b637-8111d339812c","has_seen_signin_fre":false,"last_engagement_time":"13334023827177369","last_time_obsolete_http_credentials_removed":1689550189.5877,"last_time_password_store_metrics_reported":1689550159.584115,"managed_user_id":"","name":"Profile 1","network_pbs":{},"observed_session_time":{"feedback_rating_in_product_help_observed_session_time_key_114.0.1823.82":36.0},"were_old_google_logins_removed":true},"reset_prepopulated_engines":false,"resolve_navigation_errors_use_web_service":{"enabled":false},"safebrowsing":{"event_timestamps":{},"metrics_last_log_time":"13334023729"},"sessions":{"event_log":[{"crashed":false,"time":"13334023729525196","type":0},{"did_schedule_command":false,"first_session_service":true,"tab_count":0,"time":"13334023802242873","type":2,"window_count":0},{"crashed":false,"time":"13334023807589044","type":0},{"did_schedule_command":false,"first_session_service":true,"tab_count":0,"time":"13334023829488042","type":2,"window_count":0}],"session_data_status":3},"settings":{"a11y":{"apply_page_colors_only_on_increased_contrast":true}},"signin":{"allowed":true},"smart_explore":{"on_image_hover":false},"spellcheck":{"dictionaries":["en-GB"],"dictionary":""},"translate_site_blacklist":[],"translate_site_blocklist_with_time":{},"user_experience_metrics":{"personalization_data_consent_enabled_last_known_value":false},"visual_search":{"in_context_menu":false}} \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/PreferredApps b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/PreferredApps new file mode 100644 index 0000000..7d3a425 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/PreferredApps @@ -0,0 +1 @@ +{"preferred_apps":[],"version":1} \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/README b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/README new file mode 100644 index 0000000..4a34402 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/README @@ -0,0 +1 @@ +Microsoft Edge settings and storage represent user-selected preferences and information and MUST not be extracted, overwritten or modified except through Microsoft Edge defined APIs. \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Secure Preferences b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Secure Preferences new file mode 100644 index 0000000..8c5692c --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Secure Preferences @@ -0,0 +1 @@ +{"extensions":{"settings":{"dgiklkfkllikcanfonkcabmbdfmgleag":{"active_permissions":{"api":[],"explicit_host":[],"manifest_permissions":[],"scriptable_host":[]},"commands":{},"content_settings":[],"creation_flags":1,"events":[],"first_install_time":"13334023729527890","from_webstore":false,"incognito_content_settings":[],"incognito_preferences":{},"last_update_time":"13334023729527890","location":5,"manifest":{"content_capabilities":{"include_globs":["https://*excel.officeapps.live.com/*","https://*onenote.officeapps.live.com/*","https://*powerpoint.officeapps.live.com/*","https://*word-edit.officeapps.live.com/*","https://*excel.officeapps.live.com.mcas.ms/*","https://*onenote.officeapps.live.com.mcas.ms/*","https://*word-edit.officeapps.live.com.mcas.ms/*","https://*excel.partner.officewebapps.cn/*","https://*onenote.partner.officewebapps.cn/*","https://*powerpoint.partner.officewebapps.cn/*","https://*word-edit.partner.officewebapps.cn/*","https://*excel.gov.online.office365.us/*","https://*onenote.gov.online.office365.us/*","https://*powerpoint.gov.online.office365.us/*","https://*word-edit.gov.online.office365.us/*","https://*excel.dod.online.office365.us/*","https://*onenote.dod.online.office365.us/*","https://*powerpoint.dod.online.office365.us/*","https://*word-edit.dod.online.office365.us/*","https://*visio.partner.officewebapps.cn/*","https://*visio.gov.online.office365.us/*","https://*visio.dod.online.office365.us/*"],"matches":["https://*.officeapps.live.com/*","https://*.officeapps.live.com.mcas.ms/*","https://*.partner.officewebapps.cn/*","https://*.gov.online.office365.us/*","https://*.dod.online.office365.us/*","https://*.app.whiteboard.microsoft.com/*","https://*.whiteboard.office.com/*","https://*.app.int.whiteboard.microsoft.com/*","https://*.whiteboard.office365.us/*","https://*.dev.whiteboard.microsoft.com/*"],"permissions":["clipboardRead","clipboardWrite"]},"default_locale":"en","description":"This extension grants Microsoft web sites permission to read and write from the clipboard.","key":"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCz4t/X7GeuP6GBpjmxndrjtzF//4CWeHlC68rkoV7hP3h5Ka6eX7ZMNlYJkSjmB5iRmPHO5kR1y7rGY8JXnRPDQh/CQNLVA7OsKeV6w+UO+vx8KGI+TrTAhzH8YGcMIsxsUjxtC4cBmprja+xDr0zVp2EMgqHu+GBKgwSRHTkDuwIDAQAB","manifest_version":2,"minimum_chrome_version":"77","name":"Microsoft Clipboard Extension","version":"1.0"},"path":"C:\\Program Files (x86)\\Microsoft\\EdgeWebView\\Application\\114.0.1823.82\\resources\\edge_clipboard","preferences":{},"regular_only_preferences":{},"state":1,"was_installed_by_default":false,"was_installed_by_oem":false},"mhjfbmdgcfjbbpaeojofohoefgiehjai":{"active_permissions":{"api":["contentSettings","fileSystem","fileSystem.write","metricsPrivate","tabs","resourcesPrivate","fileSystem.readFullPath","errorReporting","edgeLearningToolsPrivate","fileSystem.getCurrentEntry","edgePdfPrivate","edgeCertVerifierPrivate"],"explicit_host":["edge://resources/*"],"manifest_permissions":[],"scriptable_host":[]},"commands":{},"content_settings":[],"creation_flags":1,"events":[],"first_install_time":"13334023729527359","from_webstore":false,"incognito_content_settings":[],"incognito_preferences":{},"last_update_time":"13334023729527359","location":5,"manifest":{"content_security_policy":"script-src 'self' 'wasm-eval' blob: filesystem: chrome://resources; object-src * blob: externalfile: file: filesystem: data:","description":"","incognito":"split","key":"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDN6hM0rsDYGbzQPQfOygqlRtQgKUXMfnSjhIBL7LnReAVBEd7ZmKtyN2qmSasMl4HZpMhVe2rPWVVwBDl6iyNE/Kok6E6v6V3vCLGsOpQAuuNVye/3QxzIldzG/jQAdWZiyXReRVapOhZtLjGfywCvlWq7Sl/e3sbc0vWybSDI2QIDAQAB","manifest_version":2,"mime_types":["application/pdf"],"mime_types_handler":"edge_pdf/index.html","name":"Microsoft Edge PDF Viewer","offline_enabled":true,"permissions":["errorReporting","chrome://resources/","contentSettings","metricsPrivate","edgeCertVerifierPrivate","edgeLearningToolsPrivate","edgePdfPrivate","resourcesPrivate","tabs",{"fileSystem":["write","readFullPath","getCurrentEntry"]}],"version":"1"},"path":"C:\\Program Files (x86)\\Microsoft\\EdgeWebView\\Application\\114.0.1823.82\\resources\\edge_pdf","preferences":{},"regular_only_preferences":{},"state":1,"was_installed_by_default":false,"was_installed_by_oem":false}}},"protection":{"macs":{"browser":{"show_home_button":"3E2C7414E06C1EFF2B95F5D8BC72046BB38FD355C3902FEE4BEF6D93DB286966"},"default_search_provider_data":{"template_url_data":"C26900CE583DE7522F646151E963EAC0AB76E48967B53D8B2927735761FEF916"},"edge":{"services":{"account_id":"4EA3CC737D4A7115EEA234CADDCED256089BD018F8B2F1611C4B424567D40BCE","last_account_id":"E4958C0BADC4AA89D07DB7D3F5356611ED621BD860606EFB9D2BAA95490ED59B","last_username":"A4A6579C655B82C14EAF675B0AD45906F19A75CB242EDA2D597D3879F4F55462"}},"extensions":{"settings":{"dgiklkfkllikcanfonkcabmbdfmgleag":"BAA38EDDDE6674FD34A5DCF89B041018AEC1CB2850200BD4051ACD9CA00D4C9E","mhjfbmdgcfjbbpaeojofohoefgiehjai":"A2490174393647A75940D24825FC751FB5B5C2F04445D936C75E51A1A5E2AF0D"}},"homepage":"28430206E6C39B1FB4D4443A8518DD709ACB6A84F5E72E74D0E118E9936DF9A4","homepage_is_newtabpage":"6CD151A939BD0C66FC496366124B4A83E32943D9FBD6C5F9C44D8E6C55482C7F","media":{"cdm":{"origin_data":"22EA5F804F1A89672106BB15B148748B6675E16976864FEC9B3780B300213AFC"},"storage_id_salt":"1B3B941A2D92108689C4DFEA9593DF672551E56CDB49CB8D1FE3BB087B14DAE1"},"pinned_tabs":"1F64E892FA619D5A052974647C9ADA136786B03C6A2C070AC8964B15C5BCD000","prefs":{"preference_reset_time":"1A1D86C2B2E99DDFB861F66D16A51D329ED3BFA6A350DD5841C450F14A09B882"},"safebrowsing":{"incidents_sent":"2A67373E8AEC0710DC267CFA29123D8FD4D0356C4960804CED834AD34D651C37"},"search_provider_overrides":"5C03B1042B8B9D73C45DFE9AAF4C157E8479DF3AE775903A375EB002D4124185","session":{"restore_on_startup":"FEB49E780DD670810AC1BE0F1BF0E918AFEDD8399F2BF6711A254385C93106A7","startup_urls":"AD7347634FCA92B52E1ABE2F71BC07847F411CA9A9158A1EB0645E16C41BD6C6"},"settings_reset_prompt":{"last_triggered_for_default_search":"B485741A358F953A733C00D5C01716F1756F2A26BB9E4467AFB2370FE1235C80","last_triggered_for_homepage":"9A172DED03E76125EB0025C8923DA28071A796A2F10F870B1D8A8C906EAD4DF6","last_triggered_for_startup_urls":"2D44EB2C969E897CCEE41A24DCD1122AAFC5B16317C99B272D851F869D708370","prompt_wave":"C276F1415B90534B37D6A62D9BDF988CD21F9BB77A4582F70F9256D633B87442"},"software_reporter":{"prompt_seed":"5B4C474D0341F171E56FBCE7C6233A91774FF83E094694C17266F6D9CAE3EE30","prompt_version":"C4B2E6B6AC61DFA42398DE85184E7312C8B05C63E3EB62044507ADDBBB9B892D","reporting":"28C3237A58DC11ACA8AB2BAFF9F691FF47D30CF34119F9C42186364BE255EBE4"}},"super_mac":"E3F9CF44B5834FDFCEA08DC341BB177221AD04C174DAF339871C601FE5C69BA3"}} \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/000003.log b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/000003.log new file mode 100644 index 0000000..d9efdd8 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/000003.log differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/CURRENT b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/LOG new file mode 100644 index 0000000..25d9f65 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/LOG @@ -0,0 +1,3 @@ +2023/07/17-00:30:07.840 d96c Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Session Storage/MANIFEST-000001 +2023/07/17-00:30:07.841 d96c Recovering log #3 +2023/07/17-00:30:07.843 d96c Reusing old log C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Session Storage/000003.log diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/LOG.old new file mode 100644 index 0000000..f35e45d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/LOG.old @@ -0,0 +1,2 @@ +2023/07/17-00:28:49.754 d7ec Creating DB C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Session Storage since it was missing. +2023/07/17-00:28:49.769 d7ec Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Session Storage/MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/MANIFEST-000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Session Storage/MANIFEST-000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/000003.log b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/000003.log new file mode 100644 index 0000000..457e29b Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/000003.log differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/CURRENT b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/LOG new file mode 100644 index 0000000..73b1b69 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/LOG @@ -0,0 +1,3 @@ +2023/07/17-00:30:07.585 7a5c Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Site Characteristics Database/MANIFEST-000001 +2023/07/17-00:30:07.586 7a5c Recovering log #3 +2023/07/17-00:30:07.586 7a5c Reusing old log C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Site Characteristics Database/000003.log diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/LOG.old new file mode 100644 index 0000000..5d84991 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/LOG.old @@ -0,0 +1,2 @@ +2023/07/17-00:28:49.521 c25c Creating DB C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Site Characteristics Database since it was missing. +2023/07/17-00:28:49.535 c25c Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Site Characteristics Database/MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/MANIFEST-000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Site Characteristics Database/MANIFEST-000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/000003.log b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/000003.log new file mode 100644 index 0000000..2b778f4 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/000003.log differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/CURRENT b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/LOG new file mode 100644 index 0000000..ffdf14b --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/LOG @@ -0,0 +1,3 @@ +2023/07/17-00:30:07.731 b4f8 Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Sync Data\LevelDB/MANIFEST-000001 +2023/07/17-00:30:07.731 b4f8 Recovering log #3 +2023/07/17-00:30:07.732 b4f8 Reusing old log C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Sync Data\LevelDB/000003.log diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/LOG.old new file mode 100644 index 0000000..90834cb --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/LOG.old @@ -0,0 +1,2 @@ +2023/07/17-00:28:49.669 91a4 Creating DB C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Sync Data\LevelDB since it was missing. +2023/07/17-00:28:49.677 91a4 Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\Sync Data\LevelDB/MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/MANIFEST-000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Sync Data/LevelDB/MANIFEST-000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Top Sites b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Top Sites new file mode 100644 index 0000000..ca38c0e Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Top Sites differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Top Sites-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Top Sites-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Visited Links b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Visited Links new file mode 100644 index 0000000..ed425dd Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Visited Links differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Vpn Tokens b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Vpn Tokens new file mode 100644 index 0000000..9ba883c Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Vpn Tokens differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Vpn Tokens-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Vpn Tokens-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Web Data b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Web Data new file mode 100644 index 0000000..f94802b Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Web Data differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Web Data-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/Web Data-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/WebStorage/QuotaManager b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/WebStorage/QuotaManager new file mode 100644 index 0000000..b4ed91c Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/WebStorage/QuotaManager differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/WebStorage/QuotaManager-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/WebStorage/QuotaManager-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/commerce_subscription_db/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/commerce_subscription_db/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/commerce_subscription_db/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/commerce_subscription_db/LOG new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/commerce_subscription_db/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/commerce_subscription_db/LOG.old new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/databases/Databases.db b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/databases/Databases.db new file mode 100644 index 0000000..4513f9f Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/databases/Databases.db differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/databases/Databases.db-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/databases/Databases.db-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/heavy_ad_intervention_opt_out.db b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/heavy_ad_intervention_opt_out.db new file mode 100644 index 0000000..514e432 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/heavy_ad_intervention_opt_out.db differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/heavy_ad_intervention_opt_out.db-journal b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/heavy_ad_intervention_opt_out.db-journal new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/optimization_guide_hint_cache_store/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/optimization_guide_hint_cache_store/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/optimization_guide_hint_cache_store/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/optimization_guide_hint_cache_store/LOG new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/optimization_guide_hint_cache_store/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/optimization_guide_hint_cache_store/LOG.old new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/optimization_guide_model_metadata_store/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/optimization_guide_model_metadata_store/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/optimization_guide_model_metadata_store/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/optimization_guide_model_metadata_store/LOG new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/optimization_guide_model_metadata_store/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/optimization_guide_model_metadata_store/LOG.old new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/000003.log b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/000003.log new file mode 100644 index 0000000..a67ef2d Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/000003.log differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/CURRENT b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/LOG new file mode 100644 index 0000000..ce9d618 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/LOG @@ -0,0 +1,3 @@ +2023/07/17-00:30:07.604 b4f8 Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\shared_proto_db/MANIFEST-000001 +2023/07/17-00:30:07.604 b4f8 Recovering log #3 +2023/07/17-00:30:07.604 b4f8 Reusing old log C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\shared_proto_db/000003.log diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/LOG.old new file mode 100644 index 0000000..0ff847d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/LOG.old @@ -0,0 +1,2 @@ +2023/07/17-00:28:49.562 d0b8 Creating DB C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\shared_proto_db since it was missing. +2023/07/17-00:28:49.576 d0b8 Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\shared_proto_db/MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/MANIFEST-000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/MANIFEST-000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/000003.log b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/000003.log new file mode 100644 index 0000000..94810e1 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/000003.log differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/CURRENT b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/CURRENT new file mode 100644 index 0000000..7ed683d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/CURRENT @@ -0,0 +1 @@ +MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/LOCK b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/LOCK new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/LOG b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/LOG new file mode 100644 index 0000000..b77605c --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/LOG @@ -0,0 +1,3 @@ +2023/07/17-00:30:07.602 b4f8 Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\shared_proto_db\metadata/MANIFEST-000001 +2023/07/17-00:30:07.602 b4f8 Recovering log #3 +2023/07/17-00:30:07.602 b4f8 Reusing old log C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\shared_proto_db\metadata/000003.log diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/LOG.old b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/LOG.old new file mode 100644 index 0000000..8a0e5b5 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/LOG.old @@ -0,0 +1,2 @@ +2023/07/17-00:28:49.540 d0b8 Creating DB C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\shared_proto_db\metadata since it was missing. +2023/07/17-00:28:49.551 d0b8 Reusing MANIFEST C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.WebView2\EBWebView\Default\shared_proto_db\metadata/MANIFEST-000001 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/MANIFEST-000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/MANIFEST-000001 new file mode 100644 index 0000000..18e5cab Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Default/shared_proto_db/metadata/MANIFEST-000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/data_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/data_0 new file mode 100644 index 0000000..b29d77d Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/data_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/data_1 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/data_1 new file mode 100644 index 0000000..bc22964 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/data_1 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/data_2 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/data_2 new file mode 100644 index 0000000..c7e2eb9 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/data_2 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/data_3 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/data_3 new file mode 100644 index 0000000..b7c7331 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/data_3 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000001 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000001 new file mode 100644 index 0000000..41dd870 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000001 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000002 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000002 new file mode 100644 index 0000000..0554209 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000002 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000003 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000003 new file mode 100644 index 0000000..cf1315a Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000003 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000004 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000004 new file mode 100644 index 0000000..7e64382 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000004 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000005 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000005 new file mode 100644 index 0000000..aab41bc Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000005 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000006 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000006 new file mode 100644 index 0000000..41dd870 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000006 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000007 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000007 new file mode 100644 index 0000000..7e64382 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000007 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000008 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000008 new file mode 100644 index 0000000..aab41bc Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000008 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000009 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000009 new file mode 100644 index 0000000..046a70a Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000009 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000a b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000a new file mode 100644 index 0000000..5c2d61c Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000a differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000b b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000b new file mode 100644 index 0000000..cf1315a Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000b differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000c b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000c new file mode 100644 index 0000000..1b76569 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000c differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000d b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000d new file mode 100644 index 0000000..af01e56 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000d differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000e b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000e new file mode 100644 index 0000000..07f42a0 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000e differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000f b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000f new file mode 100644 index 0000000..d0264d9 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_00000f differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000010 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000010 new file mode 100644 index 0000000..0554209 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/f_000010 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/index b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/index new file mode 100644 index 0000000..c51a4c0 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/GrShaderCache/index differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Last Version b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Last Version new file mode 100644 index 0000000..231f4f3 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Last Version @@ -0,0 +1 @@ +114.0.1823.82 \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Local State b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Local State new file mode 100644 index 0000000..dc739e1 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Local State @@ -0,0 +1 @@ +{"desktop_session_duration_tracker":{"last_session_end_timestamp":"1689550227"},"domain_actions_config":"H4sIAAAAAAAAAL1dbZMbt5H+K6r9lKRMrLR6i5xPPlmJXYlsl6OUqy6V2sJgwBnsYIARXkgOU666H3K/7n7JdWPI1a44ANkj332IsyLZeG10P93obvz7StT9rd1I51Qtr77+9xUfBq0ED8oaf/X1Pw8fyPp2sPD5ePX11Y9Gj+92g/XyJ83HnyWvx6uvrmrbc2Xga6+VaZiw/dWvXxWpf4EeN8rIh8TBRhY2Syh7voO/JYNZLKDmlVg85A1DCrmUXvPXTIUllLu1MiqMSzve8iBaGL2wu6VNqAYGIKENZxvp/NJmKh2liG6DLfmWb5ngS5pppVY7toFvbHDWLB2NcDAnB/wvWm6M1EvbMYGHFlly6f7Y7eCklyb4QcfFi7tpdxccqdmj3EYdl3YLP2cfoxId7MqwtJFvlW+/MeO2le6wjP/66irRKjlJJ8N7mZ1IGAf8Ej9y6SMcwgnFg44PBPefYHcgGz0ww9XXz3796krYWgqivPwOfvl+/Z3ciLdITZMdBWKjTJCmtsWFOaU/zPHhhzPTxKbD7VppOAq31tza9frWbxVIjMsm/XZq4c+pgUdyWglnvV2H4rAfk5+MT4qBuAnAA8p8kLvwj5//5nHvH/E5N42NwbPG2qa0G8VWQFyEL2vBay66hbRrLmRl7VLyrUzDX0qsdqogb4vEHz8u7rWSBc1VprWuRuFakKpF+gBHAThzIXWtvIABFE/AXAOHo/vu7U/4QfpFOPxi5oys19ioEeNtD6eceF4qbUX3CGxUJZhw8vMBZC5r5No6IY3dEih1NJzxnu9LGvyEarvdMuzThzQrAmVVhKunP3d266WrYGFbZl1DGZ9TRigQ93WA02astg1sOmWSsmIV97LnrnDOT8h6u1dac9ao0MaKKXshXRt6/TJIXxALJzRGgnjvuYGeSDOD5dkqV1SFJ0RWBG4kDhDBBmAE20X86/IWRAuDVbEnL83UNYMNwb3wTJn1paTC++fERQU1DHwSEew/rykb79NBuP7DNR6NrKg50gFG8ig9rj6JGvhrwwGd45+nEsaA4hTyVvW8kbe9MrfQC+jRW6/2VHnzGfXDWfwBOKNTg6wVzx+4Av1ZWV2gVQaYq3G8X0R9kGJ/IBMOKNhdkUlKg+7rahHheQxRJAYsunCdyhi4QAm2mqjifr+IWCvTAVcVlEWBuNG2sosozRhUX5L7BVoZfMHeLzIyHJ/l/VbJP8JiR++4k3wZP2k1dNwtOwJVyZ9TWl8/LGMHWQHeoR/0NoKMHGWaJAuOfnK0lo2zAH3oSwQHvQh9CrS9dILX8MPNZJezij70yinQoQbUwqIhdLYfeAm/l6SGWbbJ6M2p5WCX8WQtg1omWg0comX7BLjvS9gLFDvfKyN1VHu+dKMBIS3c41YOXlXR8XoZvQAWH3gBMZV2iys9wt96odzjy1iz8bBc0iybrzIbwAxLDzWHX+7OGMVnRCeqY4TCy1XUsvNRJzf2EvjAVeO1AqC1BFmulUEAzEbe2i+Yc79Uy4H8toNVvmMukoktmE5L9EZjecElXkTDEtiDm+lkLJEkE3/byRRYJA/xPC9YK8M3Cw2IdhkirmCeVRyLHqJT8qOp9ubpOWONZpzVyvNKPx4gSpkM3pn5ec+HjxHtmctJ/NgoQenCF5T6zO9x4WJV0KszNAB4aASfebsvXq3RCrBOYP5ZsTRDBsJEyoK2m+0JDsQZ8TVDds7LPUNiVMsam7mHmhsZMijvV1tZ+aL1Pktbw+rJdGtG6bMCdWA0njqm6oupuBBxK3lo6aOEY6eN3IJMq3nBrpshFrUgTU3wHgB33UgaR2kQFEO9Jg2tGu9Kvr+5Fawt8SDKYT3BBVgDBp9cvAxabqTmpl5wvEB1bQpqZ4ZiwpC27JCeoQMzg3q8gJWwG+5obNTa4AOn8a2wYFQY/3/VY7ANTP62V0E1SSllfXkZvfip04MT8+9xkO5n6a2O2N6PQ/gxhod3wXNdztN+SL98/+mHJ3pW1ZqoXQ/31k6u1U7W796/e+xPD2uMasguV5G6jx6Y/P4yhd0Nv0EjOWOI0sgXTyYX5nN5C8A0X9jCOoNgL28hJ7kILWQihwibkYm1IW1nFs0XWzkTKlakBSvAqFpYY6QIeDHG99FJRAsqSM/g3GQFxFy7x1CR44f9TPAHKmx+u7bR1Ok8U+PmhvD9I2H2EIHCSAFB3Mqd0BEb/OfVtW+tCx6+ue5U7a9gND5WE/HD34Hp+7ghH2Kt7GcfbtyjD/6VDaQ5DPIYJYJT/vP9jKdvH0bRTLK08Pskaj9fycEp38MkBm0dxpdQ13Hq834hb/raTDs+x0anv1d9s/IrMBhWyLq8Az4GA6qmNDHDbZcRouG0gpnnLJt5ikIA1cnv8S5VcOW9XMmBu8bIrKQ6JcYAJzhZ2ZvQGQoH2FeyCyydU9pariUYLc6BHClAghlCaxrualOC3KdUg9xJXQqkO+0nig7/1xTso1Oq8/doMzROyhX+R0itV4A3VODKlYIHT5o4WGUXM9b0ez+a+nDgKJ1dcDN6SnR/43bxGMsW9+nvzzkaTimOCOtiAouBNaRBTRTwQ8+o80E1B1ap3vIRppa3V2YoY0j2LAg7SodecidadsbjlaU740uYoWu5k4NVhiQ4fGc3pcuUGQrgVhS9Sf5ibxfvN1jnjoPhTN06vxGsz4DMmV+X3F2nP8cIIhhLn4JClgnfoLpAk1FnIylmlBEgs23Lg+elwJxTupH3Pa2nR/68y9DNTwhD3h1QyAf47Cy+maOYRTgYl3c7OHmwkr8Y4oQUe5sP5D5d+AWLTkUaML1alQN5P1txDGj86X5Vzi73yc9n1zp6wJBwQk0gLvNbDP+S//jmkVLEY37DGm7rWFCIc6QpaEfzTg5+FK3iId2GBRth40BdjgaObAF9zDU5RO0lg6lJr/zWOl1w735rf7Dhx+MCPHSWKeACsfY9qA/WZaDgt65/Vzefdd9Wthi8mSMawHKJTemeKEdZAloFmiqjFgskLoNwSyPbX75zWydYWPW2UiVP3hxlL1WInMh759KfTqeE8+GG61o1ADU1W6ullCazkucp/cWjfURWY7Ti//zXf3+yh3ueMhP+CT2g9NiAgXvpypXyr2ZPeQ376V8+zZpIs9tjjRzLaHmOrNK2YdJHkCuFRJw5St9zravolcH7/E+o7OBnuF+v6+NvepBbjrBsxYy52SUYvUZD0avd0DruiafiiEtBshwMlZOpGO/9j6ayYBiCIiPMZaNAXHG9UWDNY1C2YWA3B4MZbVnAPdeOACg70Vdu5KANtEyXPLDARLHvLKaxOR8Eaz2LgRcuz2Z3B36EOkjXOCY4J17VI+O6ki7wrMtvriWYA3cGgYHcTK6+jTld+jRrCvfE0FqHrfJeOT/6+R2lNvtpsMAuFTfdbzdgQFJrJXWNI3VBHm6Cvrjdxn8E9A5cbWQBvM8eiNYOYJOkuExDUEzIla3kOrSopUGaRruO0wc0bj+QC8Bd0Y1o2tMmkI4bwgtSr+jdeniHdLIDylwjvwunKnk9gNkM47vuJfBb7a9rzIAr/0QIwvYFNwrOfDgdxuSFxd6GWGnlW5p09cEh4kj/n5i4H0mnnwnNve9UKZ9s9gTtMOu1kQCpN0pI3FyZWWh0Vu0lYVJwING9aIUA2QbtpnkJe9ryxFnBceM5/NiC6s908/27z7roWbOXHYc1mzn0wV2DPepkozCk4JowdM91rBnClwx8nkUWR2Ek2miampdigWZlg7XOwqdE5RGkQd1TiIibVzlgqqyjnt/rmvs2KdbrWq551IGwdmvYRpRud8PMKcEMcoq8BObka7C+uR6svyHytnZ25FoKDpDHgmkDhiPRHuvtnXr+6iWNCHju5unNU8YD7znDqJSlY6b1y6P3SmLqz6K5rp01gW2U3CbDlvGMgTBHm4JaIp7y6bS5yb9seh+ZrDMBeDlRJpOmoA0eTO924LonzlkrgE26GFc+y5UKeLJgJ8/jYcZXlS5ET+TWox8Dx0Dd4ZwnenaGCZ+2NrrBbqUbHJGphOOjxes9XpEx/GNm7qfg6kUMDcPuLXGTZGS+B2u854G6Zuj5dbLHpbqcyro61cSIQdjk+ydv9NBy10ddDLHJKh7W80HLslN4VtXF9Cvn+x2s17ACqG4xhqnk/J5VQ5ujFZXi6TKBxnOUYwdWDzdbwCF3ituRaPpqLhTsMNi0IH4U14CCtPaNs7HgDM2cUMzyAtVvVHI4hpEmvIIFGAOcY70MAaCcpdqBaDo2KWKXyD2XZF7PW7ADelhgoCBbihVdZjfOugoENdgzNch9ss0rh97W7GCKYCK3ZL1hFG15bKO2LdtymsmM3rOce31Wq9ttWt1sUNU8jjRd5Iq8MnsiCdcNmNehVx3P3SnNzqmFk9PycFe4eckZZb4bEa0ya3QqnXK5GYgmAXRKdXFhp2P8GIl81mr9kSgIouGC17IniuEUHQUmFNFRhmuxGohS23CU0IL3Qz4YJQPUHFVIpACTtpgnNMvGahdKMQYZk7FjtZO8Xz3Ds5a7vZg9a6rhjNcxZZw0tgKpQHE3iugklmzYKH4QSTTvRjoMwNTy4F08c3szfxMQAhEiNWA0YzktMLpA44wk4bQDZdtzVLtETY+uU0lkos1g2L7nO7UAF92pxvPJKuGCjkyQf0FsgFFEEvg9B30IgpUdhAGtw7XGmD1FlDyYDRgSShdh8pfSGAgkcTFXKjvahJOpErlVoH/BoFCZsNZZtLZFOVI3tUBshW6bi0k7Kbp7/zrJidhxNdhOskoRHKfIeRjVlQLeSuFqs8IPjBZAwrl8u6zVgaGtYC4RtQFGXRwih0y1RLxjzMuYHD6hWBYqR4/hKWsQQ0aMdPcu77cpG4Ym7fGkeNFaq1lFgB9VD7rMq8kXSWA+HKhZNbxDhwYNAwbM91SDYB9BISDTc4JNMVkkDGRutxLaxkLUak4pHuNuFyvHqZiRDSm8zDRECY7Ujjt5ZwtVSnLAiGNBuAnsECWpFWALIhnFoMCx7lvVUk3Q5GQBlvQt7O+54MqM5K4rW4+kW+Y2Vg3HgpMEPu4loCTK/dFkDLOO780QWUcJiYDFvOtG9B0RNx70Jmx+T1Se4x7joI3iVL9pEvQg+zCNiEba8Y7aW6VVRbWVt9YGzwxBmYBGUIbDkTdjL2W5RkBu7zZcE7WeAzBZc5BxXBBtJ7AiRzCe1tbWeHeg1k76lqoTttM040CGtMI6azgg9+gZKJYRUwZp7oSkyDR3xDufpFZUBGAikx09Vd0YCAoNYTFYAcnpRpADfuDoLGMoZC+neiY8Sfch3j/eyxN2IwIe6T0woPFkRT35I0DHrh0P0uyjYxUYOc3giaOo/cBa67y8eUHkZXQEM7TND2qApPArMeyBF71souOVBNkJFil8SOerXWg70tJpdHmnAO0V4NewtsDNuQCzWRtPMLA+9NPXT8knF4bbcOtVsgkoE70bWANj9WQ/FNd6lTwNC9DuOCwSqJUKAx+ANyhKPtiBDMlTGWpV2UDVvBu8fzfSyebol10iB6FL7v2G7+i2QB9S5eZz6dp5lYXj51jPe0HfB8FPHng/HhYLFIDviH7o9Y7VPZEJu1EwMIOFosvWtmbny8jMnhdlPcYZZJPL5tGmwWwK0j2aRk+NsCqfcJtxbLI1yEunFdH/ihdgFiw0sHB248ZSLwv9CFaoFB071FsYQIjtOPki2jagK/qxG4gnNt3q3qAyh6Wm2YZtNJUkXjR4BeoBWBw2FlAWRsjkKmdkLypTFODAd/CPdGGKIn9DQS5gw47KA/drNv2dqkLkyp3N37BM8ZYsSM1rS3XY21rqFN5AWe2Oa2kLhStnIYhMt97LbpQlENz5gehQ7mFFMXGKtSsExCS0B1oRQNeaiwDQRRzBT7+jmWK+tdsU/kHZkRXYqGq9ILgCEGoEbSWkITrrD/Eui6J8xIhM38EBKKVozN9TpDg9lvygSezkYurn18lsWOPGobWmron8dB9dLiIia+JyIaBUJvYrO6QMHSL13S4wbaQh4dnkI0xQDR1BhGNnxfm3AbLpN1imEuvNf0ETgXfSxvOvC8x7yQGFtBZg9LoNrAXTRylaGIMfpBQtZrSVMvJmD1SNaQhYeWCQBmA5UblgBbSFsMZypvo4kvNohMYcQlAFPcc/k8DK1bbIblfvTbrVXrDTQIrVHpZQHnNAMfYueyxKHS8b7qKuYIi/xTSXtuHNquhNvHSRl/QMhH35Uu6y3sEaXzh9CbAUL3iwfgXDfxzeNPiURrw6ZkuvuRY2Xw3iS7oIU6nSxV0Atgc9m7vAzZMJ6/L3vlmySmmF/1uw3KLlqCdXYQPKHWPrs3ZMvokgsrZZlqjuWMrfdHXJAsqSTymPuQvLLBkWUwW1HFRdTP8skwNfYOzgyKrgV1UsJ50X2trIlakwPwP9OtTDJhrQA0INrcR3Oxb0Xy7/n+94qq00FGviZ6kx5K/2pXq4WVLbdZZ+MvCemfnBhiLcLpAHy3DCQ8Z2ylOmw/TpVOUKeuWBGb5RA2ze80J9tTI1gKkh/2Jhltajg8HfvAB0Qz3V96SLmHoiYnaRsvdbXkLOefS6YY53EcVCIVyyRA4A0kuJeb9U0tDKDhhkzXK3Glla4Kt4x7igDziNtyv4rfOUqCHtRmGIQKpeSubpCXfWfQc6fFgw9EQeDWD9hcT4Ho4MZRdmvgVbTwni5QcPi/RhM9C11saOFv29Hda591Q2S9TGYk5o5jo8Txr6bLhKlii93AkyV4rgYp93O5UbWIJAt5jl6QIdjKA//VUSmWTwk25SQW75QwzVglFjC7FWxev8IvWXMOUULpueEi1cHJbJXTSiHZ3VSzAVtlDzPdESTlTKAY9tikU5Sr2ule5VvtRmmTZWC9BIujjUfL+MsrUWmOxYZmLZnDGvfV8ILS0TF19cLZKWX30qk5bgYo431EYtEwP9+HLZ4pythVumHuwUeZcLmylSgznCextN+AIhMEgwPkW3CJsf3g/s5VLHUoq6CzD0dgGh5xpQ+iLJPSHO/QIll8JItYRdhxVbRm5C7dAbv2y5ztTcKtJuVLfEV5BIYynmoUi6lZinJunOlBTnqJoGTX7yfEduarmjC4MLqtblbfsUYQlwpLZbvxoGuQAFTW3cj+IQKCR5o2E2qlBfn9jip3n6FLH7mzS6dMk+bycXz0NsJnfbVW5mheF1v9HEjsmmJ+1R3dPpBr18vZr3SZzJyD5DiKUFyCtpU3RPGnCfS7M9Q/wlPD+18IU8fqeMb+MhfJ9ypcdTXZ4mOvksv+pYTuzNm4dkKlXO3MtzFZFOKZNOs3G/6lWdFXnzZP344lU+kGiexllRy7VLz0xl682fUB5K8xyA7P1FLahTLMVAWSiwuriQqxTps0oZVyZFs0Prbey5KaVvzc7ohmE9iBqfcmUhg0Vm9ss7W3zr45TE+mg8Z3Vtpvrcp7VHGj4oQukRVyqpctq/B84Mvmeq6g+X9NI0WEeWHJKgjArl4rOzlEGFc6/BzQZ8LE1ZaPGuAZ8SJt648kHEBAGe0IkoccA7jNNx5Pjh6PmUmtYQgnvSEgLwJUYSHfL8iCGvyST4ghDAY3bhnnq9/1EHmGLx3aPZeIJWDRU1+QeTwsjxB8Zu7zedsHnag5lFpdpFiTUiiAFdIKGXnLVUowY4jJj9tZUghugJvr1KD/dtSm9aZsKLuJZDOj2UqK87W9UYv3E5ReBDm2I9fK3JAYR8cNLUas/vMI5qOuwDIb33eH6IiT9BjOcg7xzZfrcjZ8oCV36MZKomhXqTSNLD9vtW1Qe1QyKurePBUo9C/FRmjdDXJ5lpaoRHxOi1zgyeGqrnZD9odAM7Upw14GLlW56iS2nQWMs1NSrvo5AqvYVK6im9+LaOAVD4EcKTRHvjFPImSZRh6KIc1Ucis8Dye7zUo0QpA9IvvWE+L1Ks1pZteKoaFCKIB2qWLOZ9p9BIsvqqI7IKaTURXgobHbWil7amWVNz4RsHUHgHhkidfaxkVitwEGJKar71VBnRwPQqLjriHuz5R1hGUsgzCkxKkv8atpm2VT0feauoJYTE0D9/zZzsXAy9NJUinYBO1SnWjDRQdN4O0mHWWDJfaYyVSpgtqraRqg6q3aIYbm2DBzGtnFxUMtGFQ7EXrPe/ElQ4XbE3b+C8E5MChhYAwQrAIOaYECo7g2IhQwL5caeoufBRdGNQjXSrVLWPeHLXngVQ1ITg/4E7teFtykbJOwwyknMtybCl43uOip2I/rB4AobtC5muZUhyCSsSqEW2VzRroujQUgY0olaCOEMfIgPlt1t0K9mCUeT78Rg2erbjb0z9VmPK03fKpEfzPqliITipdmnoRClOaZYF7F4hG9AWSDXRkssFNM5adAVR/ANWeW84MWN4kEqr0RJP+6HYNcBxrdZEmV97YSMxs7UfUzke0O+pHjptKSMcIz5Sn3nhd3296qnIekJXnq0Ff6AU8RU1BfCQuFLJekFHT8qdi8nlQxF0eCkrw2pRVbtP8nxRTWIRN9SKffjwwwrWSXRk/48M3ipqctGbN+S6wQEj9ygSQ0388OzVc1pqsZdaY3IKXkwTc+qhv9oKgU9lWg//fXbzmgbo7hTHWxrioQbuVMfyGYwTsq5AAO2iSceTwtqTrx1OFVUj32m+ABCpmlVSNyrm4/jmDacGNMYia3l602sIXFMru2EuZ8XZ3TaW4lpnLXyARDoEGq/iSCcUPgkaaiI216UMj1khK42PnpZvXys/gABGJx65pKXsKxjjkvKQ9/XJl4BirEJHvtd53iuzmmqb2/UawBy+TUXhHaWZIZfOXquAV4/JL7gL9PPVK2qB8q3dpiJYFPYWXnGy16vxADi8FMzz3kfYDpowNXcDpoHhI3HU5FcMozUxbiSxTATXVkxPblwuTv0QWHWH2iqQvcGY8wlgsIp1PZJUlY57FsSkMsKWQGe2ek+8WBo9nSu3slq1sWLN7m7cjzSv7ObMi+kZwR0RT6+4dSyaj9Z1pJoxymzwAMKxcGryu9FgVKt8HZjUVJf3feQBlpZtaYXp2ortxV1VNMfz9iM+CB+DBb1D167bzLM062imx2hUzeufpeCxtsfng/5DaU15UOYQwq9RjFM0XJ3uAsYtGP7kZwX7CkBqY8H22OLNIU2OS1mjB5XxzX010syTn/eP9x0e8cTALMX1z/hwg5C4WPDdhuuIX34DnctfZPVXFa5fPn/Nnr968ru/fvfh/d++eqJVJ5/8RYrO/v7JNKTr10/ZU/b85fM/smdPb578na+5U0cy7Pb6GXzz+vWr52lih/Ec3gg6juZQyOr7xmDeWPhz1JmhvQejXmt+/ZI9ffK7X6ZIwyc/fHjyDAbxpye//PjLqxd/evLBpbeMrl/jZ+yHdx9esKdv7/96N/315O3ffn5yA0N/+fT1zesHnz3H6cBnbx599vL42X9a28O/X2HbbvP1s2fs6e8fLMvDST58tRIMYo9vo159O8X//KyaNvj3WMjjOMfffmtevcC53Pzxhj178fTSrYEvHu6Nm8bx/foXEHDc2Whq/wMwnqxPp0qc6WVNP+D8Ax3mLn+wnTQP1+jhYD6TQAey+tHHj2c8xQn99jvw5g3swIs/vnjBXr843YDp62fPXgIXvjyd8//7mOaW/cSJV9iEk98eBvhvLN2+Eu0q8hWv6ySYKjjo8NfVX1L5jMPYkvz69Ft83mUjUc6/P4YyJr69+lfmgeGrq19PXiIGtXNrMBP2ENRBfI/4J4d23SM1gSGAD15ZnhPX81R4+9I4PrQguEp24il1UD0+GzPRpf+mTyhNDNG356LdMsPGrozdlusrzNNipU9rYK8LHu55ym1r8amcXo6xAKnnabnvNHo4qHRgNZx7HXieUIrIN8qTOgQ8jVauUV1a2Fz8wXyHpi6lrGQGqVUPckSoUh7VPOlgN9xJY/Pl6DJd+sDryZ2eBdenlFbvBt5hxq1h1oPVcfExgQNG3obJ2UMYXuKws0VTT+n6iNeQgFhrxkF6jLxSDkTn9LwPdUfWIHPR50ClQ+82L796PE/Yp8ebmpK793sDXwF6fsu1frwtWGvvs9SSDFK97/yo+KZ/P8SOj3s5/E4dPr0V+PGDn08Ngmqap5vavwVldPtZE48Vya//C/+kqbKXsQAA","dual_engine":{"consumer_mode":{"ie_usage_checked":"13334023789542106","ie_usage_times":[]},"ie_to_edge":{"redirection_mode":2}},"edge":{"tab_stabs":{"closed_without_unfreeze_never_unfrozen":0,"closed_without_unfreeze_previously_unfrozen":0,"discard_without_unfreeze_never_unfrozen":0,"discard_without_unfreeze_previously_unfrozen":0},"tab_stats":{"frozen_daily":0,"unfrozen_daily":0}},"fre":{"oem_bookmarks_set":true},"hardware_acceleration_mode_previous":true,"is_dsp_recommended":true,"legacy":{"profile":{"name":{"migrated":true}}},"network_time":{"network_time_mapping":{"local":1.689550129733643e+12,"network":1.689550128e+12,"ticks":162573595924.0,"uncertainty":1372124.0}},"os_crypt":{"encrypted_key":"RFBBUEkBAAAA0Iyd3wEV0RGMegDAT8KX6wEAAAC5E5ctRGhWTbNdgZ9j32STEAAAAB4AAABNAGkAYwByAG8AcwBvAGYAdAAgAEUAZABnAGUAAAAQZgAAAAEAACAAAACQrBAmXkZtKHN+ya5+hl7Tf1RKeWSjM0+GqDtqgSW5dgAAAAAOgAAAAAIAACAAAABW5EQPNY9EyKWHAZZJqo1f/ih8CWOj9P+nbUJtT2tkjDAAAACTyLX5g2TfornXGzsR3nzgHR+3eX6y7ybQTAyalXKdPEHS7M2YnzQMtIfwodCCdeZAAAAA+NyYus6E4rxd7hx8N5vSXCPS/GVBT+w18gu6IF9auTJVaszKK1y8zTO9TbMEaErZKZlErfNriq+55b80pW7CPA=="},"policy":{"last_statistics_update":"13334023729498099"},"profile":{"info_cache":{"Default":{"active_time":1689550221.165973,"avatar_icon":"chrome://theme/IDR_PROFILE_AVATAR_20","background_apps":false,"edge_account_cid":"","edge_account_first_name":"","edge_account_last_name":"","edge_account_oid":"","edge_account_sovereignty":0,"edge_account_tenant_id":"","edge_account_type":0,"edge_kids_mode":false,"edge_no_window_mode_incompatible_extension":false,"edge_test_on_premises":false,"edge_wam_aad_for_app_account_type":0,"force_signin_profile_locked":false,"gaia_given_name":"","gaia_id":"","gaia_name":"","hosted_domain":"","is_consented_primary_account":false,"is_ephemeral":false,"is_using_default_avatar":true,"is_using_default_name":true,"managed_user_id":"","metrics_bucket_index":1,"name":"Profile 1","signin.with_credential_provider":false,"user_name":""}},"last_active_profiles":[],"metrics":{"next_bucket_index":2},"profile_counts_reported":"13334023729506707"},"profile_network_context_service":{"http_cache_finch_experiment_groups":"None None None None"},"profiles":{"edge":{"multiple_profiles_with_same_account":false},"edge_sso_info":{"msa_first_profile_key":"Default","msa_sso_algo_state":1},"signin_last_seen_version":"114.0.1823.82","signin_last_updated_time":1689550129.52863},"sentinel_creation_time":"0","session_id_generator_last_value":"144785814","shutdown":{"num_processes":0,"num_processes_slow":0,"type":0},"startup_boost":{"last_browser_open_time":"13334023829488012"},"subresource_filter":{"ruleset_version":{"checksum":0,"content":"","format":0}},"tab_stats":{"discards_external":0,"discards_proactive":0,"discards_urgent":0,"last_daily_sample":"13334023729532411","max_tabs_per_window":1,"reloads_external":0,"reloads_urgent":0,"total_tab_count_max":1,"window_count_max":1},"telemetry_client":{"cloned_install":{"user_data_dir_id":11718103},"host_telclient_path":"QzpcUHJvZ3JhbSBGaWxlcyAoeDg2KVxNaWNyb3NvZnRcRWRnZVdlYlZpZXdcQXBwbGljYXRpb25cMTE0LjAuMTgyMy44Mlx0ZWxjbGllbnQuZGxs","sample_id":24744572},"uninstall_metrics":{"installation_date2":"1689550129"},"updateclientdata":{"apps":{"ahmaebgpfccdhgidjaidaoojjcijckba":{"cohort":"rrf@0.86","cohortname":"","installdate":-1},"alpjnmnfbgfkmmpcfpejmmoebdndedno":{"cohort":"rrf@0.57","cohortname":"","installdate":-1},"eeobbhfgfagbclfofmgbdfoicabjdbkn":{"cohort":"rrf@0.96","cohortname":"","installdate":-1},"fppmbhmldokgmleojlplaaodlkibgikh":{"cohort":"rrf@0.05","cohortname":"","installdate":-1},"jbfaflocpnkhbgcijpkiafdpbjkedane":{"cohort":"rrf@0.12","cohortname":"","installdate":-1},"kpfehajjjbbcifeehjgfgnabifknmdad":{"cohort":"rrf@0.20","cohortname":"","installdate":-1},"ndikpojcjlepofdkaaldkinkjbeeebkl":{"cohort":"rrf@0.37","cohortname":"","installdate":-1},"oankkpibpaokgecfckkdkgaoafllipag":{"cohort":"rrf@0.64","cohortname":"","installdate":-1},"ohckeflnhegojcjlcpbfpciadgikcohk":{"cohort":"rrf@0.75","cohortname":"","installdate":-1},"ojblfafjmiikbkepnnolpgbbhejhlcim":{"cohort":"rrf@0.77","cohortname":"","installdate":-1}}},"user_experience_metrics":{"client_id2":"{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}C:\\Users\\Pale0s:CD781C98-E04A-4B47-BC19-AA0EB72A8B2D","diagnostics":{"last_data_collection_level_on_launch":1},"low_entropy_source3":7533,"machine_id":10362574,"payload_counter":1,"pseudo_low_entropy_source":3577,"reset_client_id_deterministic":true,"session_id":1,"stability":{"browser_last_live_timestamp":"13334023829516388","exited_cleanly":true,"stats_buildtime":"1689171377","stats_version":"114.0.1823.82-64","system_crash_count":0}},"variations_compressed_seed":"H4sIAAAAAAAAAJ1X23LiOBD9Fz+zHu651T5wTdgkxMEQHnZSlLAbW4UteSQZwqby79uyuZgJJvG8OKF8Tl9Ot1rtd6PnetDhbEE94/rd6FJJ5gEMuaIL6hBFObNAhFRK/K/PhTVtaZibwvpAVCxAGtf/GqE8S3r9KCWubJ9HEWVeixEfaDjoHnwD+2zzFMX9ZMwS1MEkwogIaLkPhHlPKxCCunDe+o4/IRHtvUW1s4ZHICPOZDGTldRkGKmNttunQqpRzM7ZAFgIJ6Ul72xH8CCYsL222lClUj/N/oROLN3TILDXVDl+Z9yxJpFLlIafLGQHxLaOMBaESZ07czZaBc6AqZQtDLQKG4syhtl+ennsdCJh2Bo369gLA2tVf6AIIUGO/xywtrirasvRmcm8GqAFsYXccqQwwhx4oFIZryUD0yEhoE0NfjcY/jCuj0g7LwmjZKxIEGvIkKx6TAktREiVAte0R1apUio1LyrVq1r98uaRoviSL5Rpg1IoizSRRL2kDuaArfgSNOGyclX9FthszXmsClKiCDBFzLgYrwsLEgeqLfgalSjI5WsWcOLKYrQ+CWmw+ROOTRagCjL1WIiJBwWDHMJ6TOYWEovxnpitiFBxVIxm+XiOnpQPogsrHD4Fo8WBxXRvF2atiLOxsXEc3wbxR475ggZFWThToWB/2z7Oow6PNhaRqmBNbJwlh5upYKxJOe94CMOxVZC5wUjDPcf4yM6yO5wy3MOZlDvODojvT7M9J2eYPYJLCcacCGEeZt9unjWqjeZNHsjscyeWx9C9Dn2y4gJ1lqYGr0jGau2icZWFZpTSupoDOVRRjtnDMTQRdGB+Dbe4VH0BXf9r1lPI6Jy/7WZheh6ws1cooOgSRSwBi46PgwTcXU61+tHkHwFD7AuFNd7xCt7UI7BYa+eaHV/wkMbh4c5oHt8Z2pvZxibCI5gJVl+uAdbYzYk6JQ70uSdpfTKuv805KJa+a/O3b3O3uuXg0azUj7R5plThiAngRLsdGJwHcyLMNnGW7VgpnVJAnWVWgovqza5caUA95lEG400Eh3Zrlm/Q8Ta3ve71cvm3Qzi5f8zfJpZhgS1ief7EtYmkjhWQzRxTw4AqjW0kz5NBR0dw2nAa1+xXTJ2MSSXwz0dpj9KvZ+hdH9cMzK+V/Npf1Sv9fC43ylnKdv+aqUDO/gPBZ0KpMx4EKL0S6v0noXE2W1OBdBoCbiozvJsDKsHhzJUZM9XykVMSBHw9i7jQBBxS6jje351CxB3/yFq1Ur6qNLMYBw8lgyCDslNdcR9fP2HhHjmOgN2xTif1c80huNlTj+V/0sR4g+OV6o0wpzDUZ9vd0ady3qUk4F6ymo6xpbFuYmPxyCb6wCZPBOb1Fe63Duxpe3QJXz1wbwxS6S2eixC/yZSg81jLtJ/r+U3oCR5H1X0YR8IdlT5V41bDT6GPwPEyzDWp05/CvBUrH+9kuYSNnAz08g8iXf9z5N1y8Kth99G4ZyeSLtHEXABxfIZflg58XaV2gu6iJMl0Gaa01w80dgfETYR6Nzo8Tvd4V2dw28Z0emOCdTJ+Gm77gXjTH4+/ps4/i/F9ud7y4/Ll0r1ojJYvU99qs+dfL+Pej+enwd8/DePj438/SvjGQQ8AAA==","variations_country":"GB","variations_crash_streak":0,"variations_failed_to_fetch_seed_streak":0,"variations_last_fetch_time":"13334023735859860","variations_permanent_consistency_country":["114.0.1823.82","GB"],"variations_seed_client_version_at_store":"114.0.1823.82","variations_seed_date":"13334023728000000","variations_seed_etag":"\"dBLagW/MqWcJfTK04Ahu08kd75RkVWhPBnQqVTE/QOI=\"","variations_seed_milestone":114,"variations_seed_signature":"","was":{"restarted":false},"web_widget":{"disabled_due_extensions":false}} \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/ShaderCache/data_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/ShaderCache/data_0 new file mode 100644 index 0000000..d76fb77 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/ShaderCache/data_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/ShaderCache/data_1 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/ShaderCache/data_1 new file mode 100644 index 0000000..b470bbb Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/ShaderCache/data_1 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/ShaderCache/data_2 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/ShaderCache/data_2 new file mode 100644 index 0000000..c7e2eb9 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/ShaderCache/data_2 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/ShaderCache/data_3 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/ShaderCache/data_3 new file mode 100644 index 0000000..5eec973 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/ShaderCache/data_3 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/ShaderCache/index b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/ShaderCache/index new file mode 100644 index 0000000..aa31da0 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/ShaderCache/index differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/customSettings b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/customSettings new file mode 100644 index 0000000..997f02d --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/customSettings @@ -0,0 +1 @@ +customSettings_F95BA787499AB4FA9EFFF472CE383A14 \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/customSettings_F95BA787499AB4FA9EFFF472CE383A14 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/customSettings_F95BA787499AB4FA9EFFF472CE383A14 new file mode 100644 index 0000000..ae2fefa --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/customSettings_F95BA787499AB4FA9EFFF472CE383A14 @@ -0,0 +1 @@ +{"forceServiceDetermination":false} \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/customSynchronousLookupUris b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/customSynchronousLookupUris new file mode 100644 index 0000000..e82f75f --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/customSynchronousLookupUris @@ -0,0 +1 @@ +customSynchronousLookupUris_0 \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/customSynchronousLookupUris_0 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/customSynchronousLookupUris_0 new file mode 100644 index 0000000..1e5bb4d Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/customSynchronousLookupUris_0 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/edgeSettings b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/edgeSettings new file mode 100644 index 0000000..6955914 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/edgeSettings @@ -0,0 +1 @@ +edgeSettings_2.0-48b11410dc937a1723bf4c5ad33ecdb286d8ec69544241bc373f753e64b396c1 \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/edgeSettings_2.0-48b11410dc937a1723bf4c5ad33ecdb286d8ec69544241bc373f753e64b396c1 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/edgeSettings_2.0-48b11410dc937a1723bf4c5ad33ecdb286d8ec69544241bc373f753e64b396c1 new file mode 100644 index 0000000..c577075 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/edgeSettings_2.0-48b11410dc937a1723bf4c5ad33ecdb286d8ec69544241bc373f753e64b396c1 @@ -0,0 +1,3972 @@ +{ + "geoidMaps": { + "au": "https://australia.smartscreen.microsoft.com/", + "ch": "https://switzerland.smartscreen.microsoft.com/", + "eu": "https://europe.smartscreen.microsoft.com/", + "ffl4": "https://unitedstates1.ss.wd.microsoft.us/", + "ffl4mod": "https://unitedstates4.ss.wd.microsoft.us/", + "ffl5": "https://unitedstates2.ss.wd.microsoft.us/", + "in": "https://india.smartscreen.microsoft.com/", + "test": "https://eu-9.smartscreen.microsoft.com/", + "uk": "https://unitedkingdom.smartscreen.microsoft.com/", + "us": "https://unitedstates.smartscreen.microsoft.com/", + "gw_au": "https://australia.smartscreen.microsoft.com/", + "gw_ch": "https://switzerland.smartscreen.microsoft.com/", + "gw_eu": "https://europe.smartscreen.microsoft.com/", + "gw_ffl4": "https://unitedstates1.ss.wd.microsoft.us/", + "gw_ffl4mod": "https://unitedstates4.ss.wd.microsoft.us/", + "gw_ffl5": "https://unitedstates2.ss.wd.microsoft.us/", + "gw_in": "https://india.smartscreen.microsoft.com/", + "gw_test": "https://eu-9.smartscreen.microsoft.com/", + "gw_uk": "https://unitedkingdom.smartscreen.microsoft.com/", + "gw_us": "https://unitedstates.smartscreen.microsoft.com/" + }, + "sampleBuckets": { + "error": 1.0, + "topTrafficHit": 7E-05, + "uriLookup": 0.01, + "userAction": 1.0 + }, + "models": [ + { + "name": "techScamTitleModel:2019-10-07", + "samplingRate": 0.001, + "bias": -2.03588432962421, + "terms": [ + { + "features": [ + "title" + ], + "delimiters": "|;.\\/?*!\") ", + "lengthWeight": -0.235096784475425, + "tokenWeights": [ + { + "key": "d8f3f4c31da2fa20a04f3c70536aee37", + "value": 4.96485538534717 + }, + { + "key": "902db872ede3fa9e92ed917ae1f2f0c9", + "value": 16.0666261016159 + }, + { + "key": "f2eb27b63a38b45c6a6bed8b65c6eeaf", + "value": 4.27859685905943E-15 + }, + { + "key": "3c0ee507a9a6de7849f17e20e3e931e1", + "value": 9.49072317921467 + }, + { + "key": "a500a663a3dfeebdbac0a28ed87d522c", + "value": 15.1855052242444 + }, + { + "key": "eba18365f1bb49e35682e5983df9a546", + "value": 2.71702801581989 + }, + { + "key": "51e8e7aab91e282b992d2dd3ff678d43", + "value": 0.412787846639153 + }, + { + "key": "a1f2897e772f8cb4bb37b686375d8a82", + "value": 13.9832537343861 + }, + { + "key": "c37e50bff3c84d9afb2e2f9a57624223", + "value": 12.9887317395692 + }, + { + "key": "d41ec2d1432c0faac7b20edeff24f5db", + "value": 1.21410855224528 + }, + { + "key": "a10342604a4cba26537bd81afacfe8d9", + "value": 6.41330769368277 + }, + { + "key": "64107f7c932c44668fae5ad55300070a", + "value": 3.56880040985556 + }, + { + "key": "20221b321f0edd90b8a7f6d1a73f2137", + "value": 12.8409573736017 + }, + { + "key": "61d1955d0003f6c712080fc020991a29", + "value": 17.1567089725074 + }, + { + "key": "02cd0108855dd6b627513cc326dbbab0", + "value": 0.160040157064807 + }, + { + "key": "8653ff21bf051e173b7a019a1b449d73", + "value": 13.8472194705067 + }, + { + "key": "1f3604112472f3385058ed324bc4aa83", + "value": -1.67588130176877 + }, + { + "key": "43c06d308e136e4f4745ffe61455f83e", + "value": 8.08441147040431 + }, + { + "key": "e16abbb5cd570ea98cd72221f2e38a41", + "value": -4.24793294653837 + }, + { + "key": "7b8b23ae16f336cbdf1bf8e64719820d", + "value": 19.6334311643951 + }, + { + "key": "2ebc7ebbe3942e5970e0abc59b0e14b0", + "value": 0.0811665842037901 + }, + { + "key": "3a7b814f38e382cca0cb3c150dd5e4d6", + "value": 1.76183435696539 + }, + { + "key": "752589c2fc8bcf0933680142736adb84", + "value": 0.313063325062427 + }, + { + "key": "acaa2a34765fe60e06a2a6720f2a74c6", + "value": 17.7427898272627 + }, + { + "key": "74091f73605c3de2834a9e012cbd48fa", + "value": 6.69261134358605 + }, + { + "key": "8a0fda437628a4b9fb896d81477a89d2", + "value": 13.2711067048615 + }, + { + "key": "6b0e6cb60cba3d45d16151c197c1917d", + "value": 3.21354786516047 + }, + { + "key": "404b1090ff35042c9ae8de437f33e54d", + "value": 8.39326047676454 + }, + { + "key": "bec3237bd665afaf4a94cde77de0f501", + "value": 26.3127867236354 + }, + { + "key": "d7952592dbc8bc4baa8b8e0090024699", + "value": 0.603334829819258 + }, + { + "key": "b14885833f770f858b7151aa3434dc14", + "value": 0.00120287759713528 + }, + { + "key": "8ba890fbba42b994e2eec256930c44b8", + "value": 5.74880809415335 + }, + { + "key": "ee4666a392a7ebbe89df6eda01786579", + "value": 5.37474008925051 + }, + { + "key": "3c765543b375b3e58739822bd5597b83", + "value": 15.2263085228325 + }, + { + "key": "75d55d9a92251667bc73b4500d8f0ed3", + "value": 0.133972044683681 + }, + { + "key": "956ef76fa742793fa5659cc43ae645f4", + "value": 0.0862796061467079 + }, + { + "key": "3916a0b3ba0704605fd5fe7d3172195b", + "value": 15.1440129779123 + }, + { + "key": "ee5ca74c27ced2173468066254e4e1ae", + "value": 1.43189446108725 + }, + { + "key": "c766d832701298a99871bdf5042ad1cd", + "value": 4.77869547321821 + }, + { + "key": "cb21becd3bf3740f2a9514666091836d", + "value": 0.005344885932075 + }, + { + "key": "31d24b1baf37be684acee1a6d7ab440d", + "value": 0.286593830924446 + }, + { + "key": "d6d7ce91804cefba4d7727a9b39a2b60", + "value": 4.75689861332728 + }, + { + "key": "fcbac54acbe296e69228fbd7be6debda", + "value": 0.475807125599523 + }, + { + "key": "20784f6187084788d5184fe39d96584f", + "value": 5.29543172288926 + }, + { + "key": "5df15dac8834487c6c95e052ea02adb9", + "value": 0.302459138107693 + }, + { + "key": "d25c40bab2f26c91855728606c76edfb", + "value": 0.363667877154387 + }, + { + "key": "bb4ff27e4540a4697974a10d45edd26a", + "value": 13.86774512497 + }, + { + "key": "3ed949d04b0728567b53d67217d093cb", + "value": 12.0931177098947 + }, + { + "key": "3c2f5decde47940c8baf3b80dea449bd", + "value": -2.11208983247596 + }, + { + "key": "1044890db49f93923cbb4adb1eb0bc2a", + "value": 3.28214939125608 + }, + { + "key": "176ddb9c7fee5230355f701f9ce92a1d", + "value": 0.170164872671425 + }, + { + "key": "11622a1e4a864ff7d764291569bf164a", + "value": 0.0506062203736387 + }, + { + "key": "f17c170078a0833ea8b276d36375305b", + "value": 0.472010441208132 + }, + { + "key": "ee2fbc316df43372bd2ccd758672ebdd", + "value": 0.526004684155409 + }, + { + "key": "96e3e0d29f3ef7071671e135fbc1bef9", + "value": 0.692070161945332 + }, + { + "key": "98dd4e762e039fc0476f8fff1dc0d1c8", + "value": 11.2633993701883 + }, + { + "key": "9eaaed9510fb8b38eb0ef9a20f2253bd", + "value": 4.35319490889202 + }, + { + "key": "2114308fa88c7a0e0add232af2ed6f2b", + "value": -0.163416664745543 + }, + { + "key": "0067403ec3dea7c2694ccd61e16cd2b4", + "value": 1.91955675805176 + }, + { + "key": "2f73781a7f23f9814126584fd8bc98c5", + "value": 0.0505724200025759 + }, + { + "key": "fe81d89d41476f9a1c94ca9becf773d9", + "value": 11.1893711479702 + }, + { + "key": "2676a4b83a1458aa12cde7ee1fffc94e", + "value": -0.356576877704052 + }, + { + "key": "ba066b54c0a283266046638c7431dd51", + "value": -3.18743588014824 + }, + { + "key": "fb3f76858cb38e5b7fd113e0bc1c0721", + "value": 1.56334140095241 + }, + { + "key": "9949de93c1fced03dca91707d32499c1", + "value": 0.00869361659333547 + }, + { + "key": "57b0cb841b7bf935d96fa60509efd442", + "value": -0.656860294129425 + }, + { + "key": "38ca0677a229e96e46d319b7bf1c6ebf", + "value": 0.0919327675863093 + }, + { + "key": "78e1b92b7e1cba0cc4e1a16a1c0d9b3f", + "value": 9.16749478459351 + }, + { + "key": "0e4f2fdab60481526eadc8fed8c7e7ba", + "value": 13.9001554653181 + }, + { + "key": "2a9206eba5f3965040539d49a7056cb6", + "value": 12.0402962588861 + }, + { + "key": "f7876ffd87ee3fa6ce694a1b4ebd553a", + "value": -1.72914926648627 + }, + { + "key": "611bd58a366645ab5a46d4bf61a83b4a", + "value": 9.69265158939324 + }, + { + "key": "ff1a7383a0bd19eb63babae3916497d7", + "value": 0.186505208929065 + }, + { + "key": "33c39787721c1fd412b648c7caef2729", + "value": 0.41883074850233 + }, + { + "key": "5c05d0837cf4649248b6b79af95257f3", + "value": 3.69153649620247 + }, + { + "key": "a50ebbf3b00db049f8437d8323b088c1", + "value": -0.236725978070563 + }, + { + "key": "4135a6f12bd7b1007140f6c4deec37dc", + "value": 0.0137139216165183 + }, + { + "key": "50de627f696264b707aac8b2bba0691e", + "value": 6.50864152066005 + }, + { + "key": "21a10c21844eeb4cb940016c284194e1", + "value": 0.885339914690668 + }, + { + "key": "826997d5b7cbf6fd123efa102e00907e", + "value": 1.27778804572312 + }, + { + "key": "48f2400296273bb12e8e0de87f4b8d9e", + "value": 0.188585019023382 + }, + { + "key": "0aaa87422396fdd678498793b6d5250e", + "value": -4.357956359915 + }, + { + "key": "296453cfcdb6ff4ee85d7fe6c52ed8a8", + "value": 0.186751732843569 + }, + { + "key": "053bc767e734ff378d4872a90867c097", + "value": -0.0522611145725026 + }, + { + "key": "679a4004c55e0afdcf4d4bc5b680162a", + "value": -3.37149565222392 + }, + { + "key": "eaa18a15c1915c2884627ff0ed97889b", + "value": -0.160337908228406 + }, + { + "key": "13b32797a6edab389183e4738d4b2b5e", + "value": -4.99894732062033 + }, + { + "key": "37c49972dc197628caaba77962e2a248", + "value": 13.1433670188361 + }, + { + "key": "c1be96173d7a9d1529895e76eb0adfc9", + "value": -0.933811458209181 + }, + { + "key": "abb7e14c7ed09771168643a17c41864d", + "value": 0.509831587272671 + }, + { + "key": "69739ce1e2403749d3474ad13a94fe17", + "value": -2.52543353797423 + }, + { + "key": "6ee221e7c006637263f4f7bfe98e6cee", + "value": 13.0451965933699 + }, + { + "key": "4ae35dbb42614d2429b7d6d181a950bb", + "value": -2.35177893104194 + }, + { + "key": "adfa7a67f02dbf637722bc83cfb70dc8", + "value": -0.339386977062645 + }, + { + "key": "65f3cc2c18fb7ff254ae719d23c6a5f0", + "value": -6.77698911375947 + }, + { + "key": "466aee765daf90c9fa27306b10660ad7", + "value": -2.71076366330135 + }, + { + "key": "75c61c62b52c0c5da6a99b2ca6cd94e2", + "value": -0.273392324853276 + }, + { + "key": "3f4d2f2f33f2ceaed659d2282f17b1f5", + "value": -2.38503978450138 + }, + { + "key": "7a34231bd5b7515e26dafac1157c9778", + "value": -0.139230038618682 + }, + { + "key": "0648bf4f1bcff803213de77d253c660d", + "value": -0.0115363222293873 + }, + { + "key": "7243020fce7620bbee5ef040b66f9dd4", + "value": -6.14854155941528 + }, + { + "key": "cd84142d716cf4354f636e7b5fa95395", + "value": 0.0952138427964692 + }, + { + "key": "d9e70a3ebbce0f828a0d1efc412a47c3", + "value": -2.1177009292159 + }, + { + "key": "7c5cc52fdb69c634bf9c216c1c2d001b", + "value": -0.519780846919095 + }, + { + "key": "f4f6dce2f3a0f9dada0c2b5b66452017", + "value": -0.609497994300746 + }, + { + "key": "c0b6b911ef10ce08eb45396e89595544", + "value": 2.27807584684369 + }, + { + "key": "a7b069114ca61e56c31581ec54e1b0cb", + "value": 8.20729443169138 + }, + { + "key": "66ae5a51b83297f432d4ef34bea90363", + "value": -1.12949028947792 + }, + { + "key": "955e7fc2d65392751d04fd8acc2556e2", + "value": 10.7476160405345 + }, + { + "key": "489a98bb735023042d4299a797dac929", + "value": 6.95309403582655 + }, + { + "key": "09c47627bc533b5924a055a04bc4c33e", + "value": 9.58344017744784 + }, + { + "key": "e634eb20db508e3a31b61481a251bf93", + "value": -0.337068592782735 + }, + { + "key": "d0cd2693b3506677e4c55e91d6365bff", + "value": -0.442303007155048 + }, + { + "key": "2fdfcd8d22ae031d6b5444a873404c5e", + "value": 0.221508792721601 + }, + { + "key": "6dc488644c9665058c3ef162c2f4e8eb", + "value": -2.69054427298877 + }, + { + "key": "edb72a68a9cfaab392fe8cf95baeb80d", + "value": -0.867265450469541 + }, + { + "key": "cc9208ebb0d9a910ddae905eaa9b5b4e", + "value": -1.74760717935612 + }, + { + "key": "4c2c4baa8b9cb4d9075a044f986cc5d2", + "value": -4.25413531136165 + }, + { + "key": "677ba7ea91e94b249d11381b0f03f1e5", + "value": -0.195233592351035 + }, + { + "key": "d55977c223a588fdc11aff690a068b03", + "value": -1.54324686307157 + }, + { + "key": "7d659e2f336a637131db7fccf92c8a85", + "value": -1.04250741684209 + }, + { + "key": "a30bd9308255aba272814229bfecbdb6", + "value": -2.27975563083832 + }, + { + "key": "78b3f23df07045c2ea62f1178efbbd9a", + "value": 6.37911178600456 + }, + { + "key": "93bc63e0b4f48fbbff568d9fc0dc3def", + "value": -1.12436355182914 + }, + { + "key": "ccff47e6d78ad378d75d2fbf98d5082e", + "value": -0.540136558047707 + }, + { + "key": "86802be68d8e6475a5b4a6e35385b277", + "value": 0.664479804490267 + }, + { + "key": "1a6a7836a820fd61046d850d43fbf355", + "value": 5.51538398204343 + }, + { + "key": "a05550b785fe9281c54161b4de3a9889", + "value": -0.0326878881255583 + }, + { + "key": "d61a08fb9e29be2ebbdfc30c7fa395d3", + "value": -0.657324938826186 + }, + { + "key": "b06531b17f9586226d526fff54527c8c", + "value": -2.90436824323248 + }, + { + "key": "05ab88fb98453f3a811b785145662131", + "value": 0.147008732837274 + }, + { + "key": "c9c2956ce7fe96adeebf39a5311ed2d3", + "value": -0.320087199911258 + }, + { + "key": "755d1832973c5efd9379a4039de90e1c", + "value": 5.71042106735016 + }, + { + "key": "80f5f164aa43626d4045163a4ae593b5", + "value": -0.0636936706619491 + }, + { + "key": "6950d1d89a0a96715e5a350129e90346", + "value": -0.00979118854108061 + }, + { + "key": "32d72713167aa8cc88de917e16b79890", + "value": -2.06454165460711 + }, + { + "key": "e322d423f075b0ab2daad27011d24909", + "value": -5.15175686870686 + }, + { + "key": "8039227006b7ce850a1cb99be5471e50", + "value": -1.2155321419885 + }, + { + "key": "68725afb52c6e8074890a94de7b0c2a0", + "value": -0.0654504198220738 + }, + { + "key": "aa292f2aa620cd815bef2503fda49342", + "value": -7.06287320267076 + }, + { + "key": "71431b1e88117facdc7584c476e09452", + "value": -0.312289237920878 + }, + { + "key": "bbf7972eb50121110ec814bdd468e2a3", + "value": -0.515517956818532 + }, + { + "key": "3f792f24bdd299f1c163f2358fb130f9", + "value": -1.12082728525513 + }, + { + "key": "fd9f7486193da757c536b96f4ac8c05f", + "value": -0.0329117049477948 + }, + { + "key": "c4efd5020cb49b9d3257ffa0fbccc0ae", + "value": 9.7085387169463 + }, + { + "key": "0219e2f70fd952718097b6a19a33046c", + "value": 3.67250225555019 + }, + { + "key": "a30287a07fb7538ad4807d28e9461f98", + "value": 0.438694286413232 + }, + { + "key": "3b94234bd8aa4058536b581bc3171d4c", + "value": -0.322169000098347 + }, + { + "key": "73329564760013a7824ff9d5d1af91ff", + "value": -0.662004159555685 + }, + { + "key": "5e68ca8a651d80d2a005ac825ede6b8c", + "value": -1.54782233069038 + }, + { + "key": "83401f0f0dec1447d0f5197df673521c", + "value": -2.83615916210688 + }, + { + "key": "3a824154b16ed7dab899bf000b80eeee", + "value": -4.57754284749301 + }, + { + "key": "91829326d03e53decffc35a3abeb2639", + "value": 10.7578977941444 + }, + { + "key": "f6b0ae1efe9ccda7e40a7c1760a9be3b", + "value": -2.53305806036434 + }, + { + "key": "cea59dffeb1c2fc672d7872d8706aea3", + "value": 1.49296222815608 + }, + { + "key": "0c1a316c7a3a182d99368ee32a0a96d5", + "value": -2.19957580129098 + }, + { + "key": "c6ca468775c3c97c96c74d8f6d0ef58e", + "value": -0.491996900763994 + }, + { + "key": "9682d296f78c0861fa45e2cc3405770f", + "value": -2.91922529267373 + }, + { + "key": "de01c1d48db6c321c637457113ed80d5", + "value": -1.18792626340222 + }, + { + "key": "94cae98d4b9104397a7cad9c039618e6", + "value": -0.260485300830347 + }, + { + "key": "e49e4274fe5184508c182a15125064b6", + "value": -1.40751904296917 + }, + { + "key": "5e370ed72f11412c763dbeb9a8e53e1a", + "value": -0.201425567842028 + }, + { + "key": "2dc4375705e64d2da512c9e048e8b967", + "value": 0.0460194294580568 + }, + { + "key": "00afc278d7b0a0ff73f999de618c6d8c", + "value": 0.0110160339974479 + }, + { + "key": "c1880c50609e9472656c8079a85af066", + "value": -1.21571170174631 + }, + { + "key": "1bd86af0360bf008cafd50f83de3d025", + "value": -1.5546688059441 + }, + { + "key": "99bdf8d95da8972f6979bead2f2e2090", + "value": -0.114577973819357 + }, + { + "key": "b5e0d83efaba5d0f289021f7efbc77ed", + "value": -0.631983713812381 + }, + { + "key": "9ca97e2902a4db25970aa595c2e441cf", + "value": -0.921011823844271 + }, + { + "key": "332704e79a7997e4b28ae6b18fa7f220", + "value": 0.118052420223492 + }, + { + "key": "5bc44117a33c524c1673456807cf7a3f", + "value": -0.254093775025187 + }, + { + "key": "77ca4701486f87d1b571dc1be15ef4cb", + "value": 9.2500411641365 + }, + { + "key": "f77538d26d37221483971c3323d5f050", + "value": -1.32386827262574 + }, + { + "key": "bfafdc26b8a828ce09a1d4b844644c3d", + "value": -0.469855461480272 + }, + { + "key": "6481ecdc773cafc2c8ee31e08ca43cf2", + "value": -0.502107123196622 + }, + { + "key": "12c05653cc55748688ed7deed35ddffc", + "value": 8.2832724528918 + }, + { + "key": "c59cf7fa39d4ed2cdaf1997cc16f902e", + "value": -0.306845734590494 + }, + { + "key": "b18d0aa3a881b5c8ff6d508f5bc305c8", + "value": -0.103431598816618 + }, + { + "key": "3c19de14adcd9131176842abe76410ac", + "value": -3.71824792439389 + }, + { + "key": "cfe40baa2fdcde60de49ed991b0ee8c5", + "value": -3.23642348243921 + }, + { + "key": "5edf815e94287feadf7576007cfb4d44", + "value": 10.4283993046933 + }, + { + "key": "1c28067048213d48f168efc6d6685406", + "value": -1.61172544791827 + }, + { + "key": "be7740aa9d6f946349d2a54c8d133160", + "value": -1.16765900735049 + }, + { + "key": "0f54c700c04eac245aa18b55b4d0fdb0", + "value": 0.377920497949799 + }, + { + "key": "6a8e719b04eacd21dc9641f803e81a81", + "value": 3.97467556829823 + }, + { + "key": "5bb2990fc95ada8c7bbb0e6f3036e6b3", + "value": -0.673897109609014 + }, + { + "key": "f5fc41365bd7fef1a1a6d50a4ee1a97c", + "value": 1.25491607980536 + }, + { + "key": "a8396aa10d1f7ec715e704673e76f2f0", + "value": 0.537209037015522 + }, + { + "key": "9274772204084f0a53a114f9bf45c505", + "value": -0.119042725492784 + }, + { + "key": "4ce31317e5393930a4863ae0ddd5c172", + "value": -0.722720203856985 + }, + { + "key": "25e47a973e616ca251cb3d068c6b9c19", + "value": -0.300126760008814 + }, + { + "key": "b85feeb4cf07470148789581f37ac988", + "value": 0.404541054399849 + }, + { + "key": "e41e3b6ff9906a18b358c8beaff745f3", + "value": -2.44809494564347 + }, + { + "key": "cf51e98896a2a34c43b30df543fbf0dc", + "value": -1.38740765389725 + }, + { + "key": "5eb432a319fd3cad7ac37309af315c36", + "value": -11.1745887614651 + }, + { + "key": "1f8c50db95e9ead5645e32f8df5baa7b", + "value": -0.106136652235913 + }, + { + "key": "36e5371ad91c9d2d09e9d7c0e76055db", + "value": -1.35026330161187 + }, + { + "key": "b16be5b0ff5607f9d04fd2655f4fb2c5", + "value": -1.12167846218417 + }, + { + "key": "23615dda839bcf38d6da1cfb0b479955", + "value": -1.65298504141339 + }, + { + "key": "976ea5525b03c6bf418795490584daca", + "value": -0.916082630329252 + }, + { + "key": "944626adf9e3b76a3919b50dc0b080a4", + "value": -1.30726426318757 + }, + { + "key": "8c3c4b9295a3ea5f01405e0bd29c814e", + "value": -0.841137390217598 + }, + { + "key": "fca7f0b7923078c79954b7aa93591e4e", + "value": -0.854719092108605 + }, + { + "key": "469db73ced5abd4932e873be1f26197b", + "value": -0.178249425331663 + }, + { + "key": "9cea1e2473aaf49955fa34faac95b3e7", + "value": -0.0538421913176153 + }, + { + "key": "319b07d6bd64811c7ec942d7f2443b0b", + "value": -6.43019370814774 + }, + { + "key": "9604ba9427a280db542279d9ed78400b", + "value": -1.21074135079694 + }, + { + "key": "38fed7107cee058098ca06304c1beb90", + "value": -0.943503135837557 + }, + { + "key": "c1a9a474d030d4706c8346a0d15a48a5", + "value": -0.663198769701533 + }, + { + "key": "adfb689897b2b5255adcaee72945c791", + "value": -0.481059586644789 + }, + { + "key": "26b7a326c18577e7704ffb8cf3ed1b09", + "value": -1.50360873666401 + }, + { + "key": "1a63625767c3337a241dd501759808f3", + "value": -0.921394505944011 + }, + { + "key": "12d35897458fcfd185b1e1d9a2ea1ab0", + "value": -0.125845477459899 + }, + { + "key": "c4bfb2a0bab0e91bc7dcfbe3bbec246e", + "value": 9.89459995555913 + }, + { + "key": "11db98311442b1ecaeabdac51e6df7bb", + "value": -0.363208275245922 + }, + { + "key": "a6e05afdf596a8e7fd8df7479d1919dc", + "value": -1.51671285719916 + }, + { + "key": "607f2f3099f2a347b327caa70e0be4b2", + "value": -1.73465925876629 + }, + { + "key": "69eb1faf673b729f7ea6fc3c3f58dd00", + "value": 0.878441845837662 + }, + { + "key": "25890deab1075e916c06b9e1efc2e25f", + "value": 0.187662981295407 + }, + { + "key": "f17ca2c829680ada2fec9fc87bc5f606", + "value": -0.315938983061984 + }, + { + "key": "1284e53a168a5ad955485a7c83b10de0", + "value": 10.3852693421495 + }, + { + "key": "d5f0a02345c8ef4178270a271af78eac", + "value": -2.01693109707419 + }, + { + "key": "0500cd47ceefb6776f9d279889775775", + "value": -3.40002998736069 + }, + { + "key": "018b6a4998cacef2e31b319a6421d5f2", + "value": -0.0540872727467746 + }, + { + "key": "5ba88d25175d87cb5977cb56e01ed17c", + "value": 12.6628701656344 + }, + { + "key": "241d47a3ee97f044c1f043b9ea81855b", + "value": -0.832977592177082 + }, + { + "key": "d4fe2da9ce98405f53ff41490bdb0bd3", + "value": -0.155796734565182 + }, + { + "key": "eaae6a5cd8c88bf714e5511b911b3bd8", + "value": -1.94321700633091 + }, + { + "key": "738aa8d3bc02eb8712acd0eb2cf6dfd5", + "value": -0.788278534036184 + }, + { + "key": "77ac309c0e78ae7e7321bba06c1bebab", + "value": -2.4786038542844 + }, + { + "key": "319211236fd9cd5ec7ee46723b145670", + "value": -0.398988413793841 + }, + { + "key": "c2540849571592be0933b15cc780a8c8", + "value": -0.0411918080424546 + }, + { + "key": "4951a865fa68d758b42a9cef50ae168a", + "value": -2.47967096439225 + }, + { + "key": "48ca70f4886924d468abd7c0c885f8f9", + "value": -0.735594035223172 + }, + { + "key": "f0e2a221a98ca2fe284a721f90de8fee", + "value": -2.28907774733095 + }, + { + "key": "12bbefc05d5142e7eb686fad8dea9211", + "value": -1.05717753118094 + }, + { + "key": "ce5fb8df125a4721d1df328bc6f2ddea", + "value": -2.05959672483312 + }, + { + "key": "41e7efcec1a995e29ed72f05d0d1aab8", + "value": 0.508576934967483 + }, + { + "key": "9358ee7c06a9463adfe0c9e8ab6c2257", + "value": -1.83470610897022 + }, + { + "key": "22f9946cd05973582e73e4e3c0239bb7", + "value": -0.0202690950593437 + }, + { + "key": "754c1e03335caa7a7581b8f3ddf2805a", + "value": 7.9617555192408 + }, + { + "key": "0b38e0293e71c08732d0e094a742f42c", + "value": -0.542991447506428 + }, + { + "key": "91df09b569af69b5e64d1506f50fa4bb", + "value": 3.28276966843754 + }, + { + "key": "687abcd10f4140c39c1de9718369331e", + "value": -0.323199008561254 + }, + { + "key": "5216dd156ac153e29b8b1d962cefa1a8", + "value": 0.731143271697995 + }, + { + "key": "cff9125c4597cf1c8610ad55a49e1488", + "value": 1.3102976558504 + }, + { + "key": "f819f5f2498d45fad33b2d7a4de3ddc2", + "value": 10.3518436127928 + }, + { + "key": "deb529039558b4679fd6ea65cf92931b", + "value": 0.308447139497647 + }, + { + "key": "684681646fd255b45c714fd461bcf10a", + "value": -1.10465577887325 + }, + { + "key": "0223c7a85da7ce599896cc890b3f808a", + "value": 1.4396315879723 + }, + { + "key": "f56c51bd7da4cd59e723279a74da45eb", + "value": -3.02453460091364 + }, + { + "key": "3418ac80f1de373ca1c04aaa8449d4e3", + "value": 2.99033262667188E-06 + }, + { + "key": "d6a6bc0db10694a2d90e3a69648f3a03", + "value": -0.830139681842029 + }, + { + "key": "c8f47a72fac1db91231f151f2d3eee9a", + "value": 1.76061679721538 + }, + { + "key": "80e9fc22001cd7b0808ebebb9aee76d6", + "value": -0.0812067710172188 + }, + { + "key": "c3cb8a08cd526b96ae0f7f24a7cf65cb", + "value": -0.64659686666666 + }, + { + "key": "268ee2a832014d8fae7cc58a183b3b3d", + "value": -0.706607932775512 + }, + { + "key": "36eba1e1e343279857ea7f69a597324e", + "value": -1.45826852136676 + }, + { + "key": "84c2bd042e050a2ec9f7719993667007", + "value": 12.8918256204839 + }, + { + "key": "ebeab3da6b87030f7c0b7341682dd544", + "value": 13.690131925694 + }, + { + "key": "eb6d172757e1145c6967cdc6c735c857", + "value": -0.580016768482712 + }, + { + "key": "52aded165360352a0f5857571d96d68f", + "value": -2.51355440196929 + }, + { + "key": "40fe9ad4949331a12f5f19b477133924", + "value": -1.27595685930669 + }, + { + "key": "2d387ab98437e5f528a87b031a086256", + "value": -1.60003895287506 + }, + { + "key": "8262acea2216f139b73adf969823f912", + "value": -0.221189968628386 + }, + { + "key": "04736b45ee819d87077dd835178cd621", + "value": 0.270459801035766 + }, + { + "key": "2e82c4eba58760463338f2951f832265", + "value": 2.23472436173466 + }, + { + "key": "7f30eefe5c51e1ae0939dab2051db75f", + "value": -0.297644839105848 + }, + { + "key": "daab79eaa34f92791e4a3381cad5a391", + "value": -0.080939920677827 + }, + { + "key": "59c208796aaba9dd522282032bec9045", + "value": 7.64623416130546 + }, + { + "key": "a8420f8bebd6d9578b405b6bbaa813d9", + "value": -2.4070252334852 + }, + { + "key": "7b82a31a3b6beeb12a5dd434b6ad99a9", + "value": -3.67631674513753 + }, + { + "key": "aaa1f1562c748a9b54b976177b7c2500", + "value": 6.50870669976272 + }, + { + "key": "3654b34017508a963ccce2426e91e4cd", + "value": -0.354542137872085 + }, + { + "key": "da976c8ae0584d0746bbbf5e53714ab1", + "value": -0.435372442192275 + }, + { + "key": "76b9257c673c9e071ec36c96ad74ad8a", + "value": -1.38889540981935 + }, + { + "key": "56bd7107802ebe56c6918992f0608ec6", + "value": 11.4654059587856 + }, + { + "key": "4f2b2ec0df16270a80017dda345f8570", + "value": -0.940970284432318 + }, + { + "key": "bde3be49c4dcbb848a152329fc3930ae", + "value": -0.419572717805242 + }, + { + "key": "db9a2e45863fea9bfeb21bca18fa3767", + "value": -1.62368936149227 + }, + { + "key": "cb212a07204018c68a383104c51846fd", + "value": 0.918021821421618 + }, + { + "key": "54de8e2241612be0f1288263af630a68", + "value": -0.092616412440458 + }, + { + "key": "dff9c10d489c4ccd625d374e8bf655bc", + "value": 0.705745537718613 + }, + { + "key": "5f44b105ffaa16dbfdd6f548e6b64001", + "value": -0.533879239206048 + }, + { + "key": "8f554894c71f78264ea2fbfbff7c80f4", + "value": -1.68711200770308 + }, + { + "key": "d4ee0fbbeb7ffd4fd7a7d477a7ecd922", + "value": -1.77233135739217 + }, + { + "key": "4347981379bd6f93bb10f6e222af8596", + "value": -0.136781976300366 + }, + { + "key": "de918f6ea2e9479ed9d81a8147dbae3d", + "value": -0.16192194575282 + }, + { + "key": "27f2dd02ab51ba5d5a9ff7fc5537a09a", + "value": -1.1549243934376 + }, + { + "key": "3b1141027e2ed9ba7f17420a8ee707b5", + "value": -0.379685000479717 + }, + { + "key": "53183bc02360b42ec182c2437b5034b5", + "value": 0.366109168619322 + }, + { + "key": "94a08da1fecbb6e8b46990538c7b50b2", + "value": -1.5419993845126 + }, + { + "key": "42f349ce49f76cbbaeec781f7c4c6bd4", + "value": -3.78314740214464 + }, + { + "key": "9dbe5c1067a3050a90ea91f191045757", + "value": -2.61756096566554 + }, + { + "key": "fb5be496b0b960f3eee21dbdd24f9169", + "value": -0.26521734087708 + }, + { + "key": "c2588e0854488e2c3be407aa510e8a59", + "value": 12.7875772482998 + }, + { + "key": "b12c645e186f93509b1c0c36552ec334", + "value": -2.34742603838951 + }, + { + "key": "019e1935b17fdadcf4ce72f256b5468a", + "value": 5.60675187042726 + }, + { + "key": "5b83a5f92603efcdb65d47c9a2991d6b", + "value": 0.425739429713881 + }, + { + "key": "fd489e4876b75cab32371651232af9fd", + "value": -1.02433380960257 + }, + { + "key": "9efc4ac970619de711752d818c29884a", + "value": -1.59393322682947 + }, + { + "key": "674a298f5659de080bb22ea002de4fbf", + "value": -5.97407287958164 + }, + { + "key": "de56be8fa19339d679efa6232455f342", + "value": -0.197505147561683 + }, + { + "key": "8ff8249d5cbef55320d40425790d0626", + "value": 4.88994687179315 + }, + { + "key": "c3c7cf36f88f79a6d6cfe6b1be94dd40", + "value": -1.27727318371028 + }, + { + "key": "431387eb7262e1cfc79b125eb8a67c60", + "value": -4.1896202983004 + }, + { + "key": "279839632eef3974ff8695b430037691", + "value": 0.869397785047269 + }, + { + "key": "5c0d1a905847d7d99e833782ce366139", + "value": 0.0910397243742067 + }, + { + "key": "ecadec2924e86bf88d622ceb0855382d", + "value": -1.60616641128397 + }, + { + "key": "e09245effc62059e51f926fad603e413", + "value": -0.407455745446235 + }, + { + "key": "26934eb377001f66e37289a5c93fe284", + "value": -1.47017628954959 + }, + { + "key": "f8fe68b4c4cba197efa9c8bbd45f144e", + "value": -2.44624785071256 + }, + { + "key": "1b1cc7f086b3f074da452bc3129981eb", + "value": -0.154164416400561 + }, + { + "key": "1ce027fe3518cc64ef3570b50a9a7c10", + "value": -1.06305195775267 + }, + { + "key": "ddeecc7cf1b19525bcc19290ee6b8709", + "value": -0.803434325155187 + }, + { + "key": "cd9a346bd6528176ced3ddbe105ec4d6", + "value": -0.0281718448771157 + }, + { + "key": "d9a079f18982b56651aa708684c00b56", + "value": -1.36311765765794 + }, + { + "key": "68934a3e9455fa72420237eb05902327", + "value": -1.44392307932591 + }, + { + "key": "5a0f99f464cda5d14aa0b89f465ece8a", + "value": -4.37971962718618 + }, + { + "key": "3b38bec18c8edcf71c5f25e5f4fee0fc", + "value": -0.070417525532574 + }, + { + "key": "820119999d8cc30feff44de6f015b648", + "value": 9.18668923998467 + }, + { + "key": "e41a2cb50c3362f0015404effec8761e", + "value": -2.22379476066292 + }, + { + "key": "59f5d0e34ae972f23e9a5e59f5ade66f", + "value": 0.759622131409362 + }, + { + "key": "799904b20f1174f01c0d2dd87c57e097", + "value": -0.573183978965703 + }, + { + "key": "c5be1e9291812bc094b77f72f382787d", + "value": -0.623409043854293 + }, + { + "key": "e2d5a00791bce9a01f99bc6fd613a39d", + "value": -0.825509231087626 + }, + { + "key": "bebda86ab1d1782bb16abf222403f3a0", + "value": -3.62440126579714 + }, + { + "key": "aa2fad12b7cb2636707699acfe718c46", + "value": -1.39942673783124 + }, + { + "key": "ba34ea40525a4379add785228e37fe86", + "value": -1.10746798224328 + }, + { + "key": "e09f6a7593f8ae3994ea57e1117f67ec", + "value": -1.33295172096701 + }, + { + "key": "dee7694877f8661ac9eab36dcf6f9a3f", + "value": -0.293974950322036 + }, + { + "key": "c22bb0b64c2445719a3ad57b052fc984", + "value": 0.520640662697449 + }, + { + "key": "3a90d4fe673f875337e06cf2b83051e1", + "value": 0.243061319569956 + }, + { + "key": "c1a55efe8fd9efed48836d50691cdae4", + "value": -1.42220656220608 + }, + { + "key": "f37bd2f66651e7d46f6d38440f2bc5dd", + "value": -0.0897764810019513 + }, + { + "key": "4236a440a662cc8253d7536e5aa17942", + "value": -1.56742280130144 + }, + { + "key": "d878c179fbeef70c7ff44efb1b7c6582", + "value": 0.509902359645536 + }, + { + "key": "e1d74dce9d1159a6cfdd43f3ed90cb41", + "value": -0.422724363660755 + }, + { + "key": "fb7f8b3ae8d887bbd7ce94a584ac3104", + "value": -4.18478427529511 + }, + { + "key": "fa7cdfad1a5aaf8370ebeda47a1ff1c3", + "value": 0.0685655888918498 + }, + { + "key": "e1404d494477d7dbc77719c2706c3c74", + "value": 10.4732653680783 + }, + { + "key": "3811727de5b0ddf6ae30defe2ca4d2c2", + "value": -1.47318445756161 + }, + { + "key": "2f51c18f49336552a41413d3b060d159", + "value": -0.330125801272672 + }, + { + "key": "b3bf60b851ebaeb2768b01a32e2ef32f", + "value": 1.88363499388847 + }, + { + "key": "de66d25fda948cb4762817df8c5cb417", + "value": -0.925983906762291 + }, + { + "key": "7af4b121c930e7ebc38a06daddae039d", + "value": 10.4293671132377 + }, + { + "key": "c0c446d13ea9c4d009c9ca942297612f", + "value": -0.103226123448015 + }, + { + "key": "fb799ee764a2007959570137cedc3d26", + "value": 3.3044974556372 + }, + { + "key": "41b89d10619cdd3e30fb6c401c17c7d9", + "value": -0.451176592841699 + }, + { + "key": "98e83379d45538379c2ac4e47c3be81d", + "value": -1.77379045397884 + }, + { + "key": "e9a23cbc455158951716b440c3d165e0", + "value": -1.08459425496939 + }, + { + "key": "bd047e9a5572e7c2c59de4688a80ac8e", + "value": 0.40798082909377 + }, + { + "key": "64369f62fd5aee6366731fc002f0cf9b", + "value": 1.75043446695083 + }, + { + "key": "092ba7b6ddabf68e6a05bc65f9e855af", + "value": -0.556657939551628 + }, + { + "key": "302109d01bd6ec86b692560b314d4658", + "value": -0.958449855472249 + }, + { + "key": "efc0ed188f2e0b235a8fcda57be94b1a", + "value": 5.56901843879713 + }, + { + "key": "ae72b1c489f5ee5afe76bc4ece3ab74c", + "value": -4.5744318388161 + }, + { + "key": "61ccb696986954abbe14bce266a373a7", + "value": -0.00787493531020597 + }, + { + "key": "5fa7cc346ce0682a1c376b3d72ce2fca", + "value": -0.994215926713011 + }, + { + "key": "b74012a0fbca4af4bd29f73af7c0fffb", + "value": -1.9013467973642 + }, + { + "key": "f235dcf6b429ba416dce74d4b6fbc47b", + "value": 1.26018118560884 + }, + { + "key": "c8f17d7403ac5ff2896a713a7175ed19", + "value": 3.34918645921142 + }, + { + "key": "f9d5c16a7f42203f8c195432354a3271", + "value": -0.38381852926699 + }, + { + "key": "e89dd49072d6ba8ef8d5c09cd6539c5a", + "value": 0.825804864746364 + }, + { + "key": "e20b9aecf0ffabb59b0c8db3436278c1", + "value": -0.863099362889025 + }, + { + "key": "a7d6fcfc537b66a63062cd141ac8bd87", + "value": -3.58013236914494 + }, + { + "key": "742f32c65ffd18b766fa307f8de2d47d", + "value": -0.240493145924419 + }, + { + "key": "423ee57eda3c2860ca1042739e739a7d", + "value": -0.290520833836164 + }, + { + "key": "044c3027c1bfd773fc90762db80bf8cc", + "value": -1.19262704606953 + }, + { + "key": "7c3613dba5171cb6027c67835dd3b9d4", + "value": -0.803969071389699 + }, + { + "key": "c7824f3d4d5f7b2f22d034758c1e9454", + "value": -1.19405642715608 + }, + { + "key": "d0a20b32ef9a9081a1cf0796e54fbc05", + "value": -0.92024104096009 + }, + { + "key": "f7410f2693864b4116877b16adc957ca", + "value": -0.02542229923565 + }, + { + "key": "d5197d93c063a2b1e22d1630a39b7aef", + "value": -0.633300047872701 + }, + { + "key": "abca7cba75e5a9ff86b1490f32891f82", + "value": -3.31777039056733 + }, + { + "key": "d6194c68fcc7e79bb57401be603cb1cc", + "value": -1.19390503916133 + }, + { + "key": "a82feee3cc1af8bcabda979e8775ef0f", + "value": -0.578844754834221 + }, + { + "key": "74d48a88b636ca064333022eb3458e1f", + "value": -0.118580596018884 + }, + { + "key": "49c4de3eba53fddcef6e64290f575766", + "value": -0.0381124996964666 + }, + { + "key": "2e2e2d35a15a6146a9bbbc246a9ea4cd", + "value": -0.364513182102811 + }, + { + "key": "088ad80d2ed8e87fd81ee76db2dfd203", + "value": -2.49964234795441 + }, + { + "key": "75688b0220ad16c4e02152b6c2b56424", + "value": -2.36664412119657 + }, + { + "key": "cf04a02e37b774fc311a48f605c3c597", + "value": -4.18227917115586 + }, + { + "key": "55704bbe8a38410e44bbc37c60f27e4b", + "value": 2.96980362629629 + }, + { + "key": "c21f969b5f03d33d43e04f8f136e7682", + "value": -2.63694435100963 + }, + { + "key": "214d940b5313897d9e25b3a2b3533770", + "value": 3.35955360744219 + }, + { + "key": "f4f458161b007ebd8a00df75d428b8bd", + "value": -0.255947927683364 + }, + { + "key": "b798abe6e1b1318ee36b0dcb3fb9e4d3", + "value": -0.754652660242316 + }, + { + "key": "44e902a5aa760d79b76e070fa6725386", + "value": -0.351098133574687 + }, + { + "key": "45641e46f614125065559617b3efc5a2", + "value": -1.06871928566233 + }, + { + "key": "939c04836f9dda50950db42092831eec", + "value": -0.31805375621291 + }, + { + "key": "f796c1ca39d5fbf655bae1415c0a2ddc", + "value": 16.5331677403492 + }, + { + "key": "7d452cc1ab5d83ccf8b7bc480deafe70", + "value": 3.79438408886902E-14 + }, + { + "key": "3164e4b18dd8dcc542a3c18024fc82b6", + "value": -0.0976735800376066 + }, + { + "key": "a9205dcfd4a6f7c2cbe8be01566ff84a", + "value": -0.685420761158492 + }, + { + "key": "dab64765f3d4fc29ced777be274337ea", + "value": -0.799151826752476 + }, + { + "key": "5dd6b52d1ac4187efd46e176796db454", + "value": 0.135552184934652 + }, + { + "key": "0bedf9a323ade010294f45fa822ba026", + "value": -1.07144851791924 + }, + { + "key": "431e077067178a6dd061f1e2ab20209d", + "value": -2.0922539959415 + }, + { + "key": "2cb1ad4f3eb0ea704c74a73689ad1654", + "value": -1.15293287629926 + }, + { + "key": "0d47d437ef63722995543b5a8b2bb0f8", + "value": 2.14182746115194 + }, + { + "key": "36e2a95657a157f492934ff3ecc3df6c", + "value": -1.72512926341275 + }, + { + "key": "fad0ce221c826eede253cb0956ca0700", + "value": -0.0388323527117717 + }, + { + "key": "fbad4b6f1e710ddf1a3d37106d096688", + "value": -0.66639681553844 + }, + { + "key": "e3a4601f428df9e9f1a762be92b7566a", + "value": -0.191800429944262 + }, + { + "key": "bf1bac83fb72069c93b3e1f63d41251c", + "value": -4.49835135490542 + }, + { + "key": "6fa691d2c07bea6ae78b7022c80e9d20", + "value": -0.110925210688587 + }, + { + "key": "c3d3c17b4ca7f791f85e1cc72f274af4", + "value": -0.522567846960011 + }, + { + "key": "97c209ca505f2958db30a42135afab5c", + "value": -0.539003562566509 + }, + { + "key": "5b4b77679e5ef1b39546b0327563a6cf", + "value": -0.121366172312454 + }, + { + "key": "9451810adcc13a25e610332880cc447a", + "value": -0.593467708052008 + }, + { + "key": "637aa1a3f3fe939460e3e6126a3cb76a", + "value": -1.33648006171622 + }, + { + "key": "d27cfd44d40d37576bbdfefa8ef30556", + "value": -0.156629874214554 + }, + { + "key": "e6dd71377633723164aeea0750ddafa8", + "value": -0.341910853389744 + }, + { + "key": "39ec785d60a1b23bfda9944b9138bbcf", + "value": -1.67347041422944 + }, + { + "key": "6247870113aeeee2473905395496d250", + "value": 10.1066767016134 + }, + { + "key": "822050d9ae3c47f54bee71b85fce1487", + "value": -0.508687554111019 + }, + { + "key": "b5c9cdd3ce45f7298dc9a96a408f0094", + "value": 0.00902912499630367 + }, + { + "key": "f6064cdb992229205044f81942b54c07", + "value": -1.7797341815592 + }, + { + "key": "b61822e8357dcaff77eaaccf348d9134", + "value": -1.74663969315813 + }, + { + "key": "23ec24c5ca59000543cee1dfded0cbea", + "value": -1.85655101068914 + }, + { + "key": "1d2934ef3e78c8624904f9cf00b4bfe9", + "value": 2.52487431393219 + }, + { + "key": "e75969b53df69a045d2b46815e97e36b", + "value": -0.130624199110599 + }, + { + "key": "2c5504ab9a86164db22a92dc8793843d", + "value": 0.0267806684449586 + }, + { + "key": "8603aaa88d8b8b134d906db254fadfcc", + "value": -1.03481848627828 + }, + { + "key": "24eed33ee38027d124839f0fcdf6adcb", + "value": -1.94848941110548 + }, + { + "key": "e757fd4fedc4fe825bb81b1b466a0947", + "value": -1.05138627462709 + }, + { + "key": "6ce207e8f7bc1afc40ba5e1d8a181478", + "value": -3.28838463484807 + }, + { + "key": "2c05161a7e67e946ddc889571aac4e89", + "value": -0.0313844557241538 + }, + { + "key": "f1e904ac93744cc1ce244dfc191fc2a1", + "value": -1.69118878137364 + }, + { + "key": "02a8dc4cf01fed584c6423f577c0b0d7", + "value": -0.76056034437071 + }, + { + "key": "29bdc76182bd8187c75fb00b8fae5de5", + "value": -1.15672591036371 + }, + { + "key": "d72e5ee9b367833956ed9f88a960c686", + "value": -0.30681546304965 + }, + { + "key": "bbdaea376f500d25f6b0c1050311dd07", + "value": -3.24318310203553 + }, + { + "key": "0f6969d7052da9261e31ddb6e88c136e", + "value": -6.82729915107841 + }, + { + "key": "97f642beebd5804aa64bdc73e4960780", + "value": -2.11144341820927 + }, + { + "key": "5e9c52c6d618881e7d9d62a294c4979c", + "value": -2.20275406289196 + }, + { + "key": "a7304e71e071e089d5edf94ecca2c3c7", + "value": -0.598962820676189 + }, + { + "key": "36d91499b86630d0c15eca8420c05a2d", + "value": -1.62923782067164 + }, + { + "key": "e3e2a9bfd88566b05001b02a3f51d286", + "value": -0.799699613284135 + }, + { + "key": "7dc22b2c6a992f0232345df41303f5ea", + "value": -0.148193421120977 + }, + { + "key": "329e95f845a8fa966569eb100aafc6b9", + "value": 1.12992944222032 + }, + { + "key": "bf3e2924dcba1c52da01b5eda1111b2b", + "value": -2.14022205156751 + }, + { + "key": "a228370907dd82f459eff2a6503be0b2", + "value": -0.351089989736678 + }, + { + "key": "a21fda5ea719f17fcf0ba17d5d0b8a75", + "value": -0.0743856108950997 + }, + { + "key": "5de23097b704758e43385432e2b07fdc", + "value": -0.134368737379106 + }, + { + "key": "d4319fefc66c701f24c875afda6360d6", + "value": -0.0214935266240835 + }, + { + "key": "f9af31d4e40a87da3705edde89b048da", + "value": -2.12071411316623 + }, + { + "key": "7e39411afa494a20a2b1a11eff1fe660", + "value": -3.86407373754942 + }, + { + "key": "7e85bcb66fb9a809d5ab4f62a8b8bea8", + "value": -1.02632913655838 + }, + { + "key": "c25033a972715dbbdb7e73ac79261230", + "value": -1.09117341466452 + }, + { + "key": "da14a7168b547f35ea0c6fa9f50de63e", + "value": 1.22148403155438 + }, + { + "key": "4b2a1529867b8d697685b1722ccd0149", + "value": -1.30634282456135 + }, + { + "key": "bb5459bf19132d4dc1340654c17331df", + "value": -0.29262514358928 + }, + { + "key": "d124b0325bc31971d343ce8788351215", + "value": 0.00117403586500614 + }, + { + "key": "a84de33b6cb560a22e4b3d5c7e622f15", + "value": -1.70754575726226 + }, + { + "key": "8e3f1bbb73f0f6c952fcf873332eae9f", + "value": -2.6672606657468 + }, + { + "key": "f75c9af2f9523fcaa0c029651ffe814b", + "value": -0.757499703780413 + }, + { + "key": "980d14c0c85495b48b9a9134658e6121", + "value": -0.136282421591527 + }, + { + "key": "4dde6fb5c53f88b1667a862df5da5bf8", + "value": -7.32826137613627E-05 + }, + { + "key": "ad015ef45d838cbf619d2f9f7bbdad86", + "value": -0.217056226263947 + }, + { + "key": "5e0bdcbddccca4d66d74ba8c1cee1a68", + "value": -1.83344342691368 + }, + { + "key": "ede319075e241e7b4be81bef28eef0fc", + "value": -1.02746717941585 + }, + { + "key": "a7e75a8c4761fec5ffb03a4fb9909a12", + "value": -1.79421249331826 + }, + { + "key": "b143bd7bf79cc0e39f640931c1f46d73", + "value": -0.119981538606629 + }, + { + "key": "f3f0c6e992b7562598d9865b6fe8b3a6", + "value": 5.46470373989296 + }, + { + "key": "88d2c32b8e12e4cadb0fdbf279a85d8d", + "value": -3.23359432886295 + }, + { + "key": "756457dc85f13450b3dfba2cbc1465e5", + "value": -1.40310039455181 + }, + { + "key": "0c4e3042796e38b6baf971a13bea8f6c", + "value": 0.814466940491366 + }, + { + "key": "7d5c009e4eb8bbc78647caeca308e61b", + "value": -0.527255300022924 + }, + { + "key": "f68da8654869bb3e3dde70ae7d530164", + "value": -3.34677347639516 + }, + { + "key": "d62ec24d065e424dd816ce7828f62584", + "value": -0.450762999447609 + }, + { + "key": "54df9d0fe7c9a71b57e7139731ad657e", + "value": 0.00932586669894056 + }, + { + "key": "521345a9fb579f52117f27be6e0673ee", + "value": -0.469110739802287 + }, + { + "key": "5c4fefda27cfe84c3999be13e6b8608a", + "value": -0.216428713108188 + }, + { + "key": "b6ddd84a9cc636257258701ca934e763", + "value": -0.447306517830421 + }, + { + "key": "3205c0ded576131ea255ad2bd38b0fb2", + "value": -0.148853840220276 + }, + { + "key": "eaae71a4b1a25e475724eadb9f271a99", + "value": -2.88375626983425 + }, + { + "key": "74b5b5e9570efc5c0553bb327cd41940", + "value": -1.1220663513333 + }, + { + "key": "01faf38365151f8d966bf5960242fb9e", + "value": -2.85482045341872 + }, + { + "key": "5c568ab3df59a345cda2dda9196c55ad", + "value": -3.50905432446535 + }, + { + "key": "47a282dfe68a42d302e22c4920ed9b5e", + "value": -1.51818100106683 + }, + { + "key": "184aa077df08b90ac9fe282cceaa325e", + "value": -1.09167255510081 + }, + { + "key": "bb26941a5a62380c637b4b5ee63c1b62", + "value": -0.847328745628357 + }, + { + "key": "a0a058baaeef16e88f6bd2ee36c03f6f", + "value": 5.85986439346576 + }, + { + "key": "efd2af60c8501931cb9c736b5ad74f65", + "value": 3.95699535364003 + }, + { + "key": "2c848548d460c41090ef4875efe91125", + "value": -0.891665426147098 + }, + { + "key": "c849508d572c1594cba6677e81c93387", + "value": -2.9252308543107 + }, + { + "key": "face3d7fe9fdcc4ee855b7759be18ea0", + "value": -4.63957460216769 + }, + { + "key": "c3f9558d681bac963339b7c69894c4f7", + "value": -0.562481522604278 + }, + { + "key": "9bd3f346a49663ff9c2ff9862d5698d2", + "value": -0.570066473701642 + }, + { + "key": "94422fa6b0fe23d0ab463703c0022a63", + "value": -0.217665898506501 + }, + { + "key": "74136b24217cb75599440e6e1d807cf7", + "value": -2.36658960491811 + }, + { + "key": "0b3645a1f7f1dcac467cb0cd60a7d6f0", + "value": -0.140646066339903 + }, + { + "key": "f7fa305fb046fd1dea467d0e82fc53f5", + "value": -0.0436853143076721 + }, + { + "key": "9e304d4e8df1b74cfa009913198428ab", + "value": -0.635189474513748 + }, + { + "key": "7e60bc642fefc11b43792e8745df6c1d", + "value": -6.02976859904081 + }, + { + "key": "9d127ff383d595262c67036f50493133", + "value": -0.12850726791973 + }, + { + "key": "ccd1066343c95877b75b79d47c36bebe", + "value": -0.352308889830509 + }, + { + "key": "b72f3bd391ba731a35708bfd8cd8a68f", + "value": -0.341244713522851 + }, + { + "key": "d705cce2e286ab268f8d163815732373", + "value": -2.34833723953588 + }, + { + "key": "9c6fcaac30192b0caed34f308abd6a91", + "value": -2.99272971916597 + }, + { + "key": "ac5c74b64b4b8352ef2f181affb5ac2a", + "value": -0.026104600724018 + }, + { + "key": "8efdd10756595e9a58dc3d7fee6f53ee", + "value": -1.08294127417828 + }, + { + "key": "869d7b08ed596dbaadf3e827ce9dbd88", + "value": -0.60160749813722 + }, + { + "key": "33a2838ab91f7f01a24da38cb55cae10", + "value": 5.83172121030355 + }, + { + "key": "f26ef914245883c80f181c4aade2ed04", + "value": -0.161983733876481 + }, + { + "key": "d0e45878043844ffc41aac437e86b602", + "value": -0.854347376248393 + }, + { + "key": "ac67ede5a84eb5a1add7ff4440e9a485", + "value": 2.56139512348303 + }, + { + "key": "21531abf9bffc6bf264c1c02386bd369", + "value": 1.04801912551345 + }, + { + "key": "8b9b2a36b50aaabc1a7691242322d5c8", + "value": -5.69405707063318 + }, + { + "key": "5ebeb6065f64f2346dbb00ab789cf001", + "value": -0.0523199136964179 + }, + { + "key": "18b43c6a536a8fe1362f7a3887936be6", + "value": -1.40073660541345 + }, + { + "key": "46cc0df55d22d6eb6c37cabbc09f5193", + "value": 1.3519510456681 + }, + { + "key": "3e11ca2215bada5ab235ee73e4ff7cd0", + "value": -1.81068892185873 + }, + { + "key": "987bcab01b929eb2c07877b224215c92", + "value": -0.276164561894607 + }, + { + "key": "0cfd653d5d3e1e9fdbb644523d77971d", + "value": 6.90953683089801 + }, + { + "key": "ddfbb7829b95e229ab60e0fb38c5df06", + "value": -0.337833385251034 + }, + { + "key": "ae31496303aae055994af579050b2324", + "value": -0.13512528536039 + }, + { + "key": "e206a54e97690cce50cc872dd70ee896", + "value": -0.0500199257955543 + }, + { + "key": "77e69c137812518e359196bb2f5e9bb9", + "value": -0.630179855981912 + }, + { + "key": "d31d86d0de8dd34fc535c67e480deaa2", + "value": -2.46033373326489 + }, + { + "key": "53aefec08170b2ebed981a0a86d0dbe0", + "value": 0.22688720317257 + }, + { + "key": "4ef97a5db1519bec8ee8c91d62fcaa08", + "value": -0.514873013886496 + }, + { + "key": "e9aecb868cc4e8b00a5cd8cbe00f7680", + "value": -1.62146200486503 + }, + { + "key": "48818f3da3d36ad762480b319b56f588", + "value": 2.70557878237391 + }, + { + "key": "036651ad64ffb926ca7a2759af327a8a", + "value": -2.43173721876384 + }, + { + "key": "57f7e96f370e04546066ee921424c760", + "value": -0.00842864461792348 + }, + { + "key": "14f802e1fba977727845e8872c1743a7", + "value": -1.45730026988316 + }, + { + "key": "e0212e54ec3a2a120ca0d321b3a60c78", + "value": -0.126419969499833 + }, + { + "key": "9d903ccd68212f85fc2e700e4733e52f", + "value": -0.156806892735742 + }, + { + "key": "fc7e987f23de5bd6562b7c0063cad659", + "value": 6.29518060472096 + }, + { + "key": "8e5f3adee38c8fccc13c1f3be0143796", + "value": -0.135442905064143 + }, + { + "key": "c576a841fd4f333a6f074d68e76a1d37", + "value": -0.964688691370192 + }, + { + "key": "2f2ec1296695a9fb3251bbc94a2e0cef", + "value": -0.659364480932554 + }, + { + "key": "b4851e92b19af0c5c82447fc0937709d", + "value": -0.562024635709243 + }, + { + "key": "52d6127375d82f3e300827eb479b2c65", + "value": 1.94573003019757 + }, + { + "key": "4245bf56d28f22197a4b30b46c809626", + "value": -0.0433584080564835 + }, + { + "key": "db1c89e0f6e62f9642018cbb531bbd4f", + "value": -0.310687664225621 + }, + { + "key": "4c4a9fd7f4a4a416922b64bb3060bcd3", + "value": 11.4835382264145 + }, + { + "key": "08ae9b4616ded2be4c557138e3dd028d", + "value": -5.20767940973213 + }, + { + "key": "aa1a3ee027cbd71fb271f7ff74ed2ba0", + "value": -0.334128668808221 + }, + { + "key": "39c8689afaab301ef6e5e875abf070c3", + "value": -0.702326105375142 + }, + { + "key": "50b7fe4da64720232c25bc7c6d66f6c5", + "value": -0.912012968505859 + }, + { + "key": "144c9defac04969c7bfad8efaa8ea194", + "value": -0.0472977962683793 + }, + { + "key": "218c5ade1b03b891b805504cbb5c97ec", + "value": -0.374970023816818 + }, + { + "key": "f806527a4b4ecb554edad98174334a70", + "value": -0.658357558976673 + }, + { + "key": "2ce79b16195c1b5e67bf00199117a369", + "value": -1.71896019106563 + }, + { + "key": "f67169dfbf72c4ca285e9ee12e3e9ac5", + "value": -0.819559345112318 + }, + { + "key": "ed261f5f9e88df08eb72214924ce4e66", + "value": -0.774194265643578 + }, + { + "key": "58723627fcebc230ab0d53ddf5f16e34", + "value": -0.0390481974764398 + }, + { + "key": "a0e693c900663705d36be3e9e2f6c089", + "value": -1.89718118130523 + }, + { + "key": "5baa93784056258ab168f1205d9d60ff", + "value": -1.17758676399438 + }, + { + "key": "463c8a7593a8a79078cb5c119424e62a", + "value": -2.4591814620164 + }, + { + "key": "402d19e50fff44c827a4f3b608bd5812", + "value": -1.22614351158503 + }, + { + "key": "df4ad9d5c22ecabca116e2b8dd0c140c", + "value": -3.30849987493877 + }, + { + "key": "1835bde669866bd0eae33eb80730a807", + "value": -3.73424768806278 + }, + { + "key": "d4d1ee0df6c07ec5236bc165cb3725ee", + "value": -1.18158542510756 + }, + { + "key": "9e9f3d70bd8c8957627eada96d967706", + "value": -0.0990592280211878 + }, + { + "key": "d302e976c9dd527a9521a88c012437c5", + "value": -2.15830160815947 + }, + { + "key": "913f9c49dcb544e2087cee284f4a00b7", + "value": -0.209781842950518 + }, + { + "key": "02dcf07e612efab4ae8d77daf5072fdc", + "value": -0.235339730167802 + }, + { + "key": "a0f848942ce863cf53c0fa6cc684007d", + "value": -2.89335903744732 + }, + { + "key": "def6d90e829e50c63f98c387daecd138", + "value": -1.54031061298788 + }, + { + "key": "ad43d263c6badeb8f86664089136f86e", + "value": -0.339103655807641 + }, + { + "key": "8fd6f46ad5874b41fc087b26745c81b2", + "value": -3.21301229319031 + }, + { + "key": "718779752b851ac0dc6281a8c8d77e7e", + "value": -1.58936599193171 + }, + { + "key": "dce7c4174ce9323904a934a486c41288", + "value": -0.883639132577702 + }, + { + "key": "1ec5f5ec77c51a968271b2ca9862907d", + "value": -1.55115063411309 + }, + { + "key": "21d6f40cfb511982e4424e0e250a9557", + "value": -2.77520773027217 + }, + { + "key": "288682ec5f2450588bb37a4523d11616", + "value": -0.370736778885048 + }, + { + "key": "ad65d91ba5fc5f4494e00822c04e583b", + "value": 2.62994396075974 + }, + { + "key": "19ad89bc3e3c9d7ef68b89523eff1987", + "value": -3.22125707718212 + }, + { + "key": "09e592c4a21a21b39f22aa7d7170f162", + "value": -3.27524279698675 + }, + { + "key": "2fa7b041eea9ee875e012bac495a639c", + "value": -0.507304833323369 + }, + { + "key": "6050ce63e4bce6764cb34cac51fb44d1", + "value": -1.33371715382524 + }, + { + "key": "975ecb719692fa2bc7255b0c2dd2f3a4", + "value": 7.63658374438365 + }, + { + "key": "21cec257feb15bcc84e0acd5b0773883", + "value": -2.75522321136582 + }, + { + "key": "ee5c35ce3d081da90622a10d2272ed5e", + "value": 0.27572413173182 + }, + { + "key": "bf0cda1e8b92bf9c134c0a8291e320e7", + "value": -4.36800591685076 + }, + { + "key": "4f4adcbf8c6f66dcfc8a3282ac2bf10a", + "value": -3.16228049014262 + }, + { + "key": "d85eb9a86b89fb1c1dcf7dbb6a9f02d1", + "value": 3.67309653893256 + }, + { + "key": "1dfb6b98aef3416e03d50fd2fb525600", + "value": -2.14503355878784 + }, + { + "key": "acf4b89d3d503d8252c9c4ba75ddbf6d", + "value": 0.297627923236325 + }, + { + "key": "68e2d83709f317938b51e53f7552ed04", + "value": 0.242415657213913 + }, + { + "key": "2150fd65034a9bcdb357943b3900a918", + "value": -0.668272637945408 + }, + { + "key": "8ab87d4fb3600cc53fc0c5c958a250b1", + "value": -4.7485860765407 + }, + { + "key": "9a6dd283c3de653fbca500f9721f634f", + "value": -1.60009558169003 + }, + { + "key": "1879966223c3e382e14c6524c84942f1", + "value": -0.241080708207927 + }, + { + "key": "1465167507001c193cea606daac356fa", + "value": -0.319384243448221 + }, + { + "key": "b2c79ad7dcf03ba266dc0885e1266675", + "value": -0.922716228503745 + }, + { + "key": "1471e4e05a4db95d353cc867fe317314", + "value": -2.16960746573415 + }, + { + "key": "6da8c9e2732fa8d24c7da01bbacdd3de", + "value": -1.00547379155523 + }, + { + "key": "cfe93922228f17994b4eab42614ba76f", + "value": -0.500973979150678 + }, + { + "key": "554838a8451ac36cb977e719e9d6623c", + "value": -0.373254071193744 + }, + { + "key": "d85362faae75ddbec33d4870191c72e9", + "value": 2.87315414474631 + }, + { + "key": "59cfa26c741d65f06e84a3afb4583677", + "value": -1.87853039395717 + }, + { + "key": "d60db28d94d538bbb249dcc7f2273ab1", + "value": 2.65348128409635 + }, + { + "key": "e906ec779ab4ac6cbfdf30db5cbb3f1c", + "value": -1.8084413613161 + }, + { + "key": "5f27dde10bfa8adadfd122521b0a01ef", + "value": -0.204736592039461 + }, + { + "key": "e5f71fc31e7246dd6ccc5539570471b0", + "value": -0.080925219597378 + }, + { + "key": "09300df44b9d20cc219b25abddc3346e", + "value": -1.98902814582173 + }, + { + "key": "65b0e2883c997f2bea5dd11c923b94cf", + "value": 4.22089442210669 + }, + { + "key": "fe69fd0a878b10d190c924b2398bad9c", + "value": -6.1582067144229 + }, + { + "key": "ac0022e4c9ccc98f1a31118ec8466e71", + "value": -0.294865727391008 + }, + { + "key": "e2e840c0ea4abd8af71f1a67a553bbe5", + "value": -0.155915201532343 + }, + { + "key": "c6142b27f1385bc163ffe7f4ebfc52ac", + "value": 2.78833864350464 + }, + { + "key": "dac9630aec642a428cd73f4be0a03569", + "value": -1.08814140839148 + }, + { + "key": "683eb609607a439b0561dcbb4c8329e8", + "value": -0.48691173470435 + }, + { + "key": "e1686078d1b60d351da5a87543a2a663", + "value": 7.50665524262551 + }, + { + "key": "3a3417f5f20a03a98973689887fb72a2", + "value": -1.74922517642794 + }, + { + "key": "9be40cee5b0eee1462c82c6964087ff9", + "value": -3.31027571668453 + }, + { + "key": "ba19a09a68a66f8ad972ef8a5fba6f0d", + "value": -0.00743956684355733 + }, + { + "key": "bfafd813d7ea65ee4db1f09d7c8ffbf4", + "value": -1.07203177389079 + }, + { + "key": "44b7d352026ef7177875a6cb619d638f", + "value": -3.29651249753808 + }, + { + "key": "fd99cadea9d8ef6a1ffcc52a2e3e8017", + "value": -1.62829960849961 + }, + { + "key": "1c0b76fce779f78f51be339c49445c49", + "value": -1.94418870413432 + }, + { + "key": "f5b75010ea8a54b96f8fe7dafac65c18", + "value": -0.482082411736305 + }, + { + "key": "ee822e2bb890747b709a850347010036", + "value": -1.25770741753877 + }, + { + "key": "ea5d2f1c4608232e07d3aa3d998e5135", + "value": -0.383079909913983 + }, + { + "key": "a80da1282f2c775bbc5f2c92c836968b", + "value": -0.423079301282546 + }, + { + "key": "ac68b62abfd6a9fe26e8ac4236c8ce0c", + "value": -0.735026853255906 + }, + { + "key": "241fe8af1e038118cd817048a65f803e", + "value": 10.8521377914387 + }, + { + "key": "08b5411f848a2581a41672a759c87380", + "value": -0.43240081595472 + }, + { + "key": "140c1f12feeb2c52dfbeb2da6066a73a", + "value": -1.76649618131399 + }, + { + "key": "d5d3db1765287eef77d7927cc956f50a", + "value": 9.46653075419992 + }, + { + "key": "9bc65c2abec141778ffaa729489f3e87", + "value": -0.952940137746893 + }, + { + "key": "d05257d352046561b5bfa2650322d82d", + "value": -1.2391877257697 + }, + { + "key": "b33aed8f3134996703dc39f9a7c95783", + "value": -1.84165617519929 + }, + { + "key": "b93ed925dcde3652c9aa617f61f67563", + "value": 6.30791230730764 + }, + { + "key": "3e21ab62fb17400301d9f0156b6c3031", + "value": -0.380359980942503 + }, + { + "key": "4136a932eb7724a00cb87c3fb9e1ea1d", + "value": -0.170658365461882 + }, + { + "key": "5d637c668526d24fa32a61dbe17ff10f", + "value": -3.83959798077085 + }, + { + "key": "fdc3bdefb79cec8eb8211d2499e04704", + "value": 3.62187514607753 + }, + { + "key": "570d99e4c85914470d914170d1e95144", + "value": -0.393371632566493 + }, + { + "key": "b02a45a596bfb86fe2578bde75ff5444", + "value": -0.0257847948729473 + }, + { + "key": "957b527bcfbad2e80f58d20683931435", + "value": -0.226379562500129 + }, + { + "key": "2b3de800b4576343a07e86b8c420e448", + "value": -0.530290929531172 + }, + { + "key": "e7b24b112a44fdd9ee93bdf998c6ca0e", + "value": -0.204544651231471 + }, + { + "key": "57cb773ae7a82c8c8aae12fa8f8d7abd", + "value": 4.6578764439389 + }, + { + "key": "cf7b81c07152f075088a7c42eb613958", + "value": -0.0700234066317795 + }, + { + "key": "fe5fe0415fc3e0ff4942d8454f363d2c", + "value": -2.63493257968392 + }, + { + "key": "5c731c8c4ee0f43b4b605d534f888603", + "value": -2.01878168076685 + }, + { + "key": "9dfc8dce7280fd49fc6e7bf0436ed325", + "value": -0.453099205669417 + }, + { + "key": "1c52bdae8bad70e82da799843bb4e831", + "value": 0.119044025323084 + }, + { + "key": "ae254d63f2381cc183c11594873793e0", + "value": -0.392217818223785 + }, + { + "key": "a00e5eb0973d24649a4a920fc53d9564", + "value": -3.49488656015213 + }, + { + "key": "18958e30bdca0cfac8256824e570a89b", + "value": -0.143127553277241 + }, + { + "key": "599eba19aa93a929cb8589f148b8a6c4", + "value": -1.02026592915958 + }, + { + "key": "6a7c2dcd8a161bcf51f685b287882fa1", + "value": -1.17698772130604 + }, + { + "key": "ec733a11b6acddc2493e3efaa10a995c", + "value": -1.22379238098522 + }, + { + "key": "098f9e940d9c0517f2a86758de701f1b", + "value": -0.0671542604840249 + }, + { + "key": "5f62483a188d1c0fef6b7be151751e10", + "value": -1.66994571441833 + }, + { + "key": "403a06e3848b1fdc7134601fd46a7265", + "value": -2.51537189624854 + }, + { + "key": "3338b93611000c12bea41bcd7e9ad8c1", + "value": -0.207372658910755 + }, + { + "key": "b04ec0ade3d49b4a079f0e207d5e2821", + "value": 3.63950379271528 + }, + { + "key": "f98ed07a4d5f50f7de1410d905f1477f", + "value": -0.33831826176544 + }, + { + "key": "14511f2f5564650d129ca7cabc333278", + "value": 0.650971403964652 + }, + { + "key": "99938282f04071859941e18f16efcf42", + "value": -0.223353319287495 + }, + { + "key": "1b7d5726533ab525a8760351e9b5e415", + "value": -1.42541142806161 + }, + { + "key": "278e59671a1a559c4bc61d226cd217cd", + "value": -1.78817031394342 + }, + { + "key": "2c18e486683a3db1e645ad8523223b72", + "value": -3.6512078458102 + }, + { + "key": "0b08bd98d279b88859b628cd8c061ae0", + "value": 2.68376170075936 + }, + { + "key": "2506fad553130c1a8f1812a9d65d9445", + "value": -3.32096086483462 + }, + { + "key": "5440e70c43cc02aba90d879c888e6e09", + "value": -2.37755922781004E-05 + }, + { + "key": "326577fbe6d73973bd67437829bf9301", + "value": 12.7500698028451 + }, + { + "key": "1fece0cb254f1f45891bc9ee9fed72a9", + "value": -2.00760798898045 + }, + { + "key": "c4ef352f74e502ef5e7bc98e6f4e493d", + "value": -0.893152457537483 + }, + { + "key": "818f9c45cfa30eeff277ef38bcbe9910", + "value": 0.246531246520432 + }, + { + "key": "7b83d3f08fa392b79e3f553b585971cd", + "value": 10.4815103612956 + }, + { + "key": "93da65a9fd0004d9477aeac024e08e15", + "value": -1.14632751255587 + }, + { + "key": "cb5e100e5a9a3e7f6d1fd97512215282", + "value": 7.58942563064375 + }, + { + "key": "f4af8b5789576c000ce9105b25609bd6", + "value": -0.589452355896565 + }, + { + "key": "1b267619c4812cc46ee281747884ca50", + "value": -0.820706889413451 + }, + { + "key": "b9b83bad6bd2b4f7c40109304cf580e1", + "value": -0.0534180398723625 + }, + { + "key": "78cdeac478e1ba62b564cfc57b945f87", + "value": -0.295947498663771 + }, + { + "key": "c4e6890b69eea65f497d6a52d2af1e87", + "value": -0.937748122605994 + }, + { + "key": "9a0364b9e99bb480dd25e1f0284c8555", + "value": -2.65789587080389 + }, + { + "key": "c76a5e84e4bdee527e274ea30c680d79", + "value": -0.363825568889044 + }, + { + "key": "adab7b701f23bb82014c8506d3dc784e", + "value": -0.704275606331498 + }, + { + "key": "05b8c74cbd96fbf2de4c1a352702fbf4", + "value": 4.04940940932507 + }, + { + "key": "34a6e5d64ade17ef4e51612c50dd72f5", + "value": -1.26786899291616 + }, + { + "key": "b640a0ce465fa2a4150c36b305c1c11b", + "value": -0.886626975804822 + }, + { + "key": "39c8942e1038872a822c0dc75eedbde3", + "value": 0.714579646667067 + }, + { + "key": "a4dbfd6aef3b4045fe61aa0146debdf8", + "value": 0.125399012654505 + }, + { + "key": "2e5d8aa3dfa8ef34ca5131d20f9dad51", + "value": 1.67192168227049 + }, + { + "key": "2a304a1348456ccd2234cd71a81bd338", + "value": -1.18531229421848 + }, + { + "key": "0ba4439ee9a46d9d9f14c60f88f45f87", + "value": -1.4582017781007 + }, + { + "key": "061117da4e327cac66b31d2b35068c0a", + "value": -0.206553077431022 + }, + { + "key": "adcdbd79a8d84175c229b192aadc02f2", + "value": -3.54167502937599 + }, + { + "key": "e2d45d57c7e2941b65c6ccd64af4223e", + "value": -3.86363656891861 + }, + { + "key": "f42087059b37ae7f4d9f0d3a475801a8", + "value": -0.307084895029275 + }, + { + "key": "f0357a3f154bc2ffe2bff55055457068", + "value": 0.397528361779951 + }, + { + "key": "c47d187067c6cf953245f128b5fde62a", + "value": -3.32587367790044 + }, + { + "key": "162832ab572046b2dd00c343cf5096c7", + "value": -0.358351684174842 + }, + { + "key": "152f5dc0f7ac734f8e8ee17d4a482462", + "value": 1.75254143767972 + }, + { + "key": "d7a84628c025d30f7b2c52c958767e76", + "value": -5.96567428619054 + }, + { + "key": "bf57c906fa7d2bb66d07372e41585d96", + "value": 4.40410360450109 + }, + { + "key": "45b963397aa40d4a0063e0d85e4fe7a1", + "value": -1.00387156983827 + }, + { + "key": "26cae7718c32180a7a0f8e19d6d40a59", + "value": 1.21909985846269 + }, + { + "key": "e5a93371cfc7eab4a88221dd1f6c1a3c", + "value": 0.808795922897004 + }, + { + "key": "f17aaabc20bfe045075927934fed52d2", + "value": -0.162533548370589 + }, + { + "key": "57d0a8ca484ed8d1d1b8cc92426da1a6", + "value": -3.37432691488838 + }, + { + "key": "fbb44b4487415b134bce9c790a27fe5e", + "value": 2.16231792006654 + }, + { + "key": "9de4a97425678c5b1288aa70c1669a64", + "value": -0.90048973830555 + }, + { + "key": "f9664ea1803311b35f81d07d8c9e072d", + "value": -1.37144783338868 + }, + { + "key": "5261539cab7de0487b6b41415acc7f61", + "value": -3.14803396880494 + }, + { + "key": "0e8b9a737c9ccbd6d02219d2dd5eb2b3", + "value": 4.7990709591067 + }, + { + "key": "8c7dd922ad47494fc02c388e12c00eac", + "value": -4.74171429284739 + }, + { + "key": "4c91d222b139eeccd6eb342f512ec180", + "value": 4.46358805701379 + }, + { + "key": "da75cd652254fce37e953d7f261f132d", + "value": -1.76413788646175 + }, + { + "key": "bce059749d61c1c247c303d0118d0d53", + "value": -0.0423301342177347 + }, + { + "key": "1d1d5778763061ebb2bdc5db696077a6", + "value": -1.29762009720215 + }, + { + "key": "09039bd1628a3c1b25fda3134a4fe050", + "value": 3.73620587993919 + }, + { + "key": "7896f8fa69398c56d86a65357615c41f", + "value": -0.34744882532554 + }, + { + "key": "62608e08adc29a8d6dbc9754e659f125", + "value": -3.15438615098939 + }, + { + "key": "5c8438bef7c60cf62b4a0aee3b0becc4", + "value": -0.290817789149373 + }, + { + "key": "d20c781e9483ebfeddbaf38eeb88fdf7", + "value": -0.562981195943253 + }, + { + "key": "d2e3083420929d8bfae81f58fa4594cb", + "value": -0.756669804225965 + }, + { + "key": "c36bbd258b7ee694eb987221b2b197b0", + "value": -0.06724769924171 + }, + { + "key": "2483e14219cce6fe63d8ac91afc92618", + "value": -1.41264305169412 + }, + { + "key": "6c92285fa6d3e827b198d120ea3ac674", + "value": -0.00384787906260829 + }, + { + "key": "dc0bf9a3b89becf94b1d1455da1c87cb", + "value": -0.856194241296818 + }, + { + "key": "dd302f94682dbd2a114d63b0433602e0", + "value": -0.544782354051103 + }, + { + "key": "11e0eed8d3696c0a632f822df385ab3c", + "value": -0.655638120167169 + }, + { + "key": "7005edc5740f0223bb1d32f2f5f06e4f", + "value": -0.814046093387977 + }, + { + "key": "388fa2509025674d7dbf4715a4a9783e", + "value": 4.63093643138793 + }, + { + "key": "cd0fbb7849b9b9d84c4f8e48e7301ecf", + "value": 5.00955691501721 + }, + { + "key": "6a992d5529f459a44fee58c733255e86", + "value": -1.30622236543908 + }, + { + "key": "7ed21143076d0cca420653d4345baa2f", + "value": 9.09814615628717 + }, + { + "key": "b3b32a2d422265cd25c3323ed0157f81", + "value": -0.171392027817616 + }, + { + "key": "da89e38d2085d08a94af46c0706b4cae", + "value": -2.94285247212289 + }, + { + "key": "5f4dcc3b5aa765d61d8327deb882cf99", + "value": -2.44213707003123 + }, + { + "key": "660cb6fe7437d4b40e4a04b706b93f70", + "value": -0.349138935226785 + }, + { + "key": "b0da275520918e23dd615e2a747528f1", + "value": -0.976140792915373 + }, + { + "key": "cfab1ba8c67c7c838db98d666f02a132", + "value": -1.11787586045094 + }, + { + "key": "0c83f57c786a0b4a39efab23731c7ebc", + "value": -3.89899774448347 + }, + { + "key": "db8857b420665169e36ad60c8dfc23a5", + "value": -0.958981574183784 + }, + { + "key": "ad017e9d6654bd0ccd978958fa1b6da6", + "value": -0.0547397456109595 + }, + { + "key": "b80bb7740288fda1f201890375a60c8f", + "value": -0.658208033329849 + }, + { + "key": "cf1e8c14e54505f60aa10ceb8d5d8ab3", + "value": -2.90579346795985 + }, + { + "key": "ba3988db0a3167093b1f74e8ae4a8e83", + "value": -0.4578218910318 + }, + { + "key": "dd6d2dcc679d12b9430a9787bab45b33", + "value": -2.4077799119167 + }, + { + "key": "6d84a9ae99910a7be5458a15c82a968c", + "value": -0.162304501571477 + }, + { + "key": "df53ca268240ca76670c8566ee54568a", + "value": 2.14182409040525 + }, + { + "key": "4ca65a8bdbeae8b6ee400801a8a8f812", + "value": -0.649571561905637 + }, + { + "key": "b4628fe4f5f38e5b293be2024ce95239", + "value": -0.132223149900641 + }, + { + "key": "3ac340832f29c11538fbe2d6f75e8bcc", + "value": -3.9674252804737 + }, + { + "key": "2af72f100c356273d46284f6fd1dfc08", + "value": -3.46513676020169 + }, + { + "key": "eb9d2e9b55d5a73cd5144c651e3507a7", + "value": 0.477966222242273 + }, + { + "key": "3c6e0b8a9c15224a8228b9a98ca1531d", + "value": -1.65778225692534 + }, + { + "key": "578ed5a4eecf5a15803abdc49f6152d6", + "value": -1.12922631732636 + }, + { + "key": "a1234b3161b4fbfdfb96dd576b65bbea", + "value": 1.68889559021019 + }, + { + "key": "9ab776b93b3c6bbb67f4545371814423", + "value": -0.296122427766082 + }, + { + "key": "8038da89e49ac5eabb489cfc6cea9fc1", + "value": -5.47787511065595 + }, + { + "key": "d07d50a751bc6ddf12bf3af0efee9b45", + "value": -0.0109242604128953 + }, + { + "key": "f7a42fe7211f98ac7a60a285ac3a9e87", + "value": 0.431070394681342 + }, + { + "key": "1f3870be274f6c49b3e31a0c6728957f", + "value": 6.00733448829043 + }, + { + "key": "3d5f1ffeadf58eb64ef57aef7e53a31e", + "value": 8.24567845780278 + }, + { + "key": "aa08769cdcb26674c6706093503ff0a3", + "value": -1.95059393623233 + }, + { + "key": "fad58de7366495db4650cfefac2fcd61", + "value": -0.0743125987111007 + }, + { + "key": "1c21d9b19298645fa2534d9828ee0778", + "value": 0.188179844260553 + }, + { + "key": "39ab32c5aeb56c9f5ae17f073ce31023", + "value": -1.46530717723306 + }, + { + "key": "04b29480233f4def5c875875b6bdc3b1", + "value": -1.65204201482509 + }, + { + "key": "d2ccda10db94c2b5d51beed10484c025", + "value": -1.18311884195596 + }, + { + "key": "d9f9133fb120cd6096870bc2b496805b", + "value": 3.83208587459401E-05 + }, + { + "key": "53b9e9679a8ea25880376080b76f98ad", + "value": 1.46696888983899 + }, + { + "key": "76ea0bebb3c22822b4f0dd9c9fd021c5", + "value": -0.823917419829273 + }, + { + "key": "f4ac4122ee48c213eec816f4d7944ea6", + "value": -0.473953362748342 + }, + { + "key": "b1bc248a7ff2b2e95569f56de68615df", + "value": 0.0929817401700078 + }, + { + "key": "0212faa02662ca7703af165c0976cdfd", + "value": -0.995674928377727 + }, + { + "key": "7454739e907f5595ae61d84b8547f574", + "value": -0.586407657958043 + }, + { + "key": "1253208465b1efa876f982d8a9e73eef", + "value": -1.36528202801063 + }, + { + "key": "10573b873d2fa5a365d558a45e328e47", + "value": -1.4382486842206 + }, + { + "key": "ee11cbb19052e40b07aac0ca060c23ee", + "value": -3.18947637522455 + }, + { + "key": "cdfee2bc43d63caeaa3b169ad31e966c", + "value": -2.58425912107168 + }, + { + "key": "c31b32364ce19ca8fcd150a417ecce58", + "value": 1.53081596474569 + }, + { + "key": "3676d55f84497cbeadfc614c1b1b62fc", + "value": -2.63849728436851 + }, + { + "key": "bd5af1f610a12434c9128e4a399cef8a", + "value": -2.003515995369 + }, + { + "key": "f1e5d7a5fe13498abbdeb0f1f19136a8", + "value": -1.60852582639069 + }, + { + "key": "4866d635ea7b0ed8e2452da897143528", + "value": -1.37190118049146 + }, + { + "key": "9df3b01c60df20d13843841ff0d4482c", + "value": -2.93111915315876 + }, + { + "key": "e4c9479b11955648dad558fe717a4eb2", + "value": 1.53016072391209 + }, + { + "key": "dc634e2072827fe0b5be9a2063390544", + "value": 5.78794794513182 + }, + { + "key": "469bba0a564235dfceede42db14f17b0", + "value": -0.682725526463828 + }, + { + "key": "eb5c1399a871211c7e7ed732d15e3a8b", + "value": 2.4772057100344 + }, + { + "key": "015f28b9df1bdd36427dd976fb73b29d", + "value": -2.01739326095212 + }, + { + "key": "adf78c4508138a91472dcc053ab8eed4", + "value": -1.38499336412325 + }, + { + "key": "cd73502828457d15655bbd7a63fb0bc8", + "value": -1.34421802339148 + }, + { + "key": "4119639092e62c55ea8be348e4d9260d", + "value": 0.0219893371716659 + }, + { + "key": "a5ca0b5894324f8bb54bb9fffad29d1e", + "value": -0.573038127615895 + }, + { + "key": "5dd2199ad68327cc76d583b057aee7d5", + "value": -0.962936730170927 + }, + { + "key": "78e731027d8fd50ed642340b7c9a63b3", + "value": 4.99194701328038 + }, + { + "key": "e98d2f001da5678b39482efbdf5770dc", + "value": -1.93724451968482 + }, + { + "key": "3fcdb73d36d54f2cc22d0f68e6b6e182", + "value": -2.32199295767159 + }, + { + "key": "1d0258c2440a8d19e716292b231e3190", + "value": 3.86436332172754 + }, + { + "key": "37705c7cb71019a533ed804064668d9c", + "value": -0.289424243067741 + }, + { + "key": "6438c669e0d0de98e6929c2cc0fac474", + "value": -0.270171636179887 + }, + { + "key": "71ccb7a35a452ea8153b6d920f9f190e", + "value": -1.51119962823782 + }, + { + "key": "c1524ae641331d483f7de1d65b5accde", + "value": -2.5777712711257 + }, + { + "key": "21e119daf697467b14b076f2d5819aec", + "value": -0.393569300194266 + }, + { + "key": "a9c449d4fa44e9e5a41c574ae55ce4d9", + "value": -0.174060266960441 + }, + { + "key": "83ec45960b80c035a0068df1d9df5aa8", + "value": -1.47620512378044 + }, + { + "key": "27ade1b64f9515dbb776cc3cc5bc3377", + "value": -2.16931194874033 + }, + { + "key": "34d1f91fb2e514b8576fab1a75a89a6b", + "value": -0.394604660271342 + }, + { + "key": "36fa3a193d737e5ad86441e422ed5a78", + "value": -2.83609652021098 + }, + { + "key": "b484857901742afc9e9d4e9853596ce2", + "value": -0.663860268098609 + }, + { + "key": "4aa1e7414849577e6d4c076c08782d3a", + "value": 6.38812985490723 + }, + { + "key": "f4842dcb685d490e2a43212b8072a6fe", + "value": -0.898482531138847 + }, + { + "key": "8c319f28d81d1527a9428e9a5c2195f5", + "value": 0.919378129827674 + }, + { + "key": "42b90196b487c54069097a68fe98ab6f", + "value": -0.0505422614245586 + }, + { + "key": "21232f297a57a5a743894a0e4a801fc3", + "value": -2.88373549742816 + }, + { + "key": "1c67665285fb6a7d761414e12578e574", + "value": -0.625862401618324 + }, + { + "key": "4b82677b6c1408df4be21ada9a584fde", + "value": -1.05340574183199 + }, + { + "key": "8d777f385d3dfec8815d20f7496026dc", + "value": -3.45172819463766 + }, + { + "key": "7caa701b2bd5a182b80c72b9bdf88e2d", + "value": -0.683460160612688 + }, + { + "key": "68daf8bdc8755fe8f4859024b3054fb8", + "value": -1.76632861373177 + }, + { + "key": "4e42f7dd43ecbfe104de58610557c5ba", + "value": -1.16771434250698 + }, + { + "key": "fc5364bf9dbfa34954526becad136d4b", + "value": -0.917573285023275 + }, + { + "key": "149603e6c03516362a8da23f624db945", + "value": -0.911308288130557 + }, + { + "key": "91e02cd2b8621d0c05197f645668c5c4", + "value": -2.63989529559598 + }, + { + "key": "9dddd5ce1b1375bc497feeb871842d4b", + "value": -0.514996068769807 + }, + { + "key": "5da659e548f2d9ce639044cb8025ff5f", + "value": -0.126625065028405 + }, + { + "key": "4c9184f37cff01bcdc32dc486ec36961", + "value": -0.462279444093725 + }, + { + "key": "518ed29525738cebdac49c49e60ea9d3", + "value": -1.17594436673046 + }, + { + "key": "67e92c8765a9bc7fb2d335c459de9eb5", + "value": -0.687812932552638 + }, + { + "key": "62933a2951ef01f4eafd9bdf4d3cd2f0", + "value": -0.776951198298752 + }, + { + "key": "27792947ed5d5da7c0d1f43327ed9dab", + "value": -0.967388845659159 + }, + { + "key": "532c28d5412dd75bf975fb951c740a30", + "value": -2.16777348751422 + }, + { + "key": "b31df235e8aee38fd08600c353af2b52", + "value": -4.51935782840668 + }, + { + "key": "dc7161be3dbf2250c8954e560cc35060", + "value": -1.7173503912744 + }, + { + "key": "28dafd4a8cb5f33065e93cbc83862563", + "value": 0.401656650911641 + }, + { + "key": "f82d71a6491c31b384ab5b57d85b6593", + "value": -0.543261214873718 + }, + { + "key": "dc1d71bbb5c4d2a5e936db79ef10c19f", + "value": -1.47117398852417 + }, + { + "key": "b83a886a5c437ccd9ac15473fd6f1788", + "value": -5.41284210039943 + }, + { + "key": "657f8b8da628ef83cf69101b6817150a", + "value": 4.35903913900863 + }, + { + "key": "4df3669f2264dcd182cd75b16d84ded7", + "value": 6.88604457168264 + }, + { + "key": "46f86faa6bbf9ac94a7e459509a20ed0", + "value": -1.652781256268 + }, + { + "key": "95192c98732387165bf8e396c0f2dad2", + "value": -3.02937431415541 + }, + { + "key": "a288195832f8717bca4671416014a464", + "value": 1.26404793627394 + }, + { + "key": "f5bf48aa40cad7891eb709fcf1fde128", + "value": -2.24468589664451 + }, + { + "key": "1145f263256c923716d2b8eade2f6689", + "value": -0.39547814517941 + }, + { + "key": "1ff1de774005f8da13f42943881c655f", + "value": -0.524925201027192 + }, + { + "key": "d529e941509eb9e9b9cfaeae1fe7ca23", + "value": -0.687508824152833 + }, + { + "key": "2ac43aa43bf473f9a9c09b4b608619d3", + "value": -0.10794214051444 + }, + { + "key": "c3581516868fb3b71746931cac66390e", + "value": 4.09518464797892 + }, + { + "key": "381ff09422ad9d637f7c4677297b0303", + "value": 0.596650809465465 + }, + { + "key": "83878c91171338902e0fe0fb97a8c47a", + "value": -0.26212515490123 + }, + { + "key": "07cc694b9b3fc636710fa08b6922c42b", + "value": -0.0456035033094423 + }, + { + "key": "1bda80f2be4d3658e0baa43fbe7ae8c1", + "value": -0.903987774865716 + }, + { + "key": "11d8c28a64490a987612f2332502467f", + "value": 4.15065419490845 + }, + { + "key": "f9fa10ba956cacf91d7878861139efb9", + "value": -2.82245603500561 + }, + { + "key": "ff1ccf57e98c817df1efcd9fe44a8aeb", + "value": -0.476712869419726 + }, + { + "key": "098f6bcd4621d373cade4e832627b4f6", + "value": -0.542141750846217 + }, + { + "key": "d88fc6edf21ea464d35ff76288b84103", + "value": -0.0154478920396349 + }, + { + "key": "10ae9fc7d453b0dd525d0edf2ede7961", + "value": -0.457549177861243 + }, + { + "key": "8b04d5e3775d298e78455efc5ca404d5", + "value": -0.457632215472689 + }, + { + "key": "b5eda0a74558a342cf659187f06f746f", + "value": -0.82650144287867 + }, + { + "key": "5f532a3fc4f1ea403f37070f59a7a53a", + "value": 8.69274224644092 + }, + { + "key": "de95b43bceeb4b998aed4aed5cef1ae7", + "value": -1.03319556701177 + }, + { + "key": "addec426932e71323700afa1911f8f1c", + "value": 0.160984328985924 + }, + { + "key": "8692fc447f13b2256b0b4e381de7f382", + "value": -2.86343855999432 + }, + { + "key": "18d6769919266cd0bd6cd78aa405d5d0", + "value": -0.486304209350989 + }, + { + "key": "bda9643ac6601722a28f238714274da4", + "value": -0.956733483489403 + }, + { + "key": "5a445d710ae24cd276062b0c84850838", + "value": -1.16726054040972 + }, + { + "key": "88d923ba797e9cafdfa4176f02bc2537", + "value": -0.0987294705308332 + }, + { + "key": "9ed083b1436e5f40ef984b28255eef18", + "value": -0.192900700637415 + }, + { + "key": "e268443e43d93dab7ebef303bbe9642f", + "value": 3.71075408154389 + }, + { + "key": "aed34b9f60ee115dfa7918b742336277", + "value": -0.250849864465098 + }, + { + "key": "92eb5ffee6ae2fec3ad71c777531578f", + "value": -0.269015686158981 + }, + { + "key": "e72f4545eb68c96c754f91fc01573517", + "value": 0.66982149222508 + }, + { + "key": "70a17ffa722a3985b86d30b034ad06d7", + "value": -0.289803917674685 + }, + { + "key": "c8d46d341bea4fd5bff866a65ff8aea9", + "value": -1.27621001248276 + }, + { + "key": "d7d18cfb3a0d8293e2f5d94ea30e04d2", + "value": -0.0308567301145549 + }, + { + "key": "27a06a9e3d5e7f67eb604a39536208c9", + "value": -0.877176096133111 + }, + { + "key": "c185ddac8b5a8f5aa23c5b80bc12d214", + "value": -1.65621060577259 + }, + { + "key": "e81c4e4f2b7b93b481e13a8553c2ae1b", + "value": -0.766592191482519 + }, + { + "key": "d64a4d022098892cecf250b5842c2a48", + "value": 0.791206806279161 + }, + { + "key": "8277e0910d750195b448797616e091ad", + "value": -0.0659524723591389 + }, + { + "key": "46c48bec0d282018b9d167eef7711b2c", + "value": 1.94303693425369 + }, + { + "key": "40be4e59b9a2a2b5dffb918c0e86b3d7", + "value": -0.358078470242815 + }, + { + "key": "555bf8344ca0caf09b42f55e185526d8", + "value": -0.143858915467903 + }, + { + "key": "a0c391dc49c440fc9962168353cedde3", + "value": -0.258260656198176 + }, + { + "key": "caf9b6b99962bf5c2264824231d7a40c", + "value": 0.510914240079845 + }, + { + "key": "0f4137ed1502b5045d6083aa258b5c42", + "value": 4.57597838745397 + }, + { + "key": "7ee9c4f86007ba41bc79bbfab1cd8a68", + "value": -3.2528173477756 + }, + { + "key": "ab86a1e1ef70dff97959067b723c5c24", + "value": -1.28912353756087 + }, + { + "key": "9cfa7aefcc61936b70aaec6729329eda", + "value": -2.62486400387063 + }, + { + "key": "a5c2171c96b2c7674efdecc2c9599046", + "value": -1.98641832762415 + }, + { + "key": "e155e1bb4a9c38e3baf90637ab7865df", + "value": -1.04801792361576 + }, + { + "key": "82df41632da476065ce2997900554442", + "value": -1.15556295155812 + }, + { + "key": "4b43b0aee35624cd95b910189b3dc231", + "value": -1.05253566197233 + }, + { + "key": "f894427cc1c571f79da49605ef8b112f", + "value": -1.951395301499 + }, + { + "key": "93c731f1c3a84ef05cd54d044c379eaa", + "value": -4.44965688420182 + }, + { + "key": "d10af457daa1deed54e2c36b5f295e7e", + "value": -1.87313326131459 + }, + { + "key": "437175ba4191210ee004e1d937494d09", + "value": -8.55815144700545 + }, + { + "key": "f2b64d9e528509adf4359fe63fdda4e4", + "value": -1.25999077089931 + }, + { + "key": "f97c5d29941bfb1b2fdab0874906ab82", + "value": 4.11999405997306 + }, + { + "key": "54b53072540eeeb8f8e9343e71f28176", + "value": 3.55160703098706 + }, + { + "key": "3027f3c7308ae9eee0f0bc410b11e473", + "value": -1.23543457903439 + }, + { + "key": "4a8a08f09d37b73795649038408b5f33", + "value": -0.0991832083010631 + }, + { + "key": "d56b699830e77ba53855679cb1d252da", + "value": 6.69479750184431 + }, + { + "key": "6f8f57715090da2632453988d9a1501b", + "value": 2.88770815116132 + }, + { + "key": "d0dbe915091d400bd8ee7f27f0791303", + "value": 0.00714728200012278 + }, + { + "key": "162e31afc5ade88a04d3f428e97e8f46", + "value": -0.421311152450301 + }, + { + "key": "cf9f3fde7326f1d8e64205f0e07a3695", + "value": -1.85188861402999 + }, + { + "key": "d54b7ba27571a2f00b38ed9273b974f2", + "value": -2.20970158336627 + }, + { + "key": "627fcdb6cc9a5e16d657ca6cdef0a6bb", + "value": 2.04164678764465 + }, + { + "key": "bb3ccd5881d651448ded1dac904054ac", + "value": -1.69569924977117 + }, + { + "key": "2567a5ec9705eb7ac2c984033e06189d", + "value": 0.819523615469982 + }, + { + "key": "e6d96502596d7e7887b76646c5f615d9", + "value": -0.242604525553071 + }, + { + "key": "5f7da0d5063c15ced5bf76fb97784e1f", + "value": -2.16511397287475 + }, + { + "key": "84ddfb34126fc3a48ee38d7044e87276", + "value": -0.515895573772469 + }, + { + "key": "db0f6f37ebeb6ea09489124345af2a45", + "value": -2.0453640752852 + }, + { + "key": "7635a2c09bd6f4d4da24524ef1e8363b", + "value": -0.68980517752044 + }, + { + "key": "126ac9f6149081eb0e97c2e939eaad52", + "value": -1.604612606212 + }, + { + "key": "c9a1fdac6e082dd89e7173244f34d7b3", + "value": -1.02037120372962 + }, + { + "key": "aaabf0d39951f3e6c3e8a7911df524c2", + "value": 0.816161306287541 + }, + { + "key": "0d149b90e7394297301c90191ae775f0", + "value": -3.32550849001772 + }, + { + "key": "1f0f70bf2b5ad94c7387e64c16dc455a", + "value": -2.1499512925432 + }, + { + "key": "421b47ffd946ca083b65cd668c6b17e6", + "value": -1.40712578177531 + }, + { + "key": "10cd395cf71c18328c863c08e78f3fd0", + "value": 3.07154185427745 + }, + { + "key": "e91e6348157868de9dd8b25c81aebfb9", + "value": 9.90123281787162 + }, + { + "key": "1a13105b7e4eb5fb2e7c9515ac06aa48", + "value": -0.237930661097446 + }, + { + "key": "c74f86f208c466b66e5057a3c347cf78", + "value": 6.69355244060581 + }, + { + "key": "45c48cce2e2d7fbdea1afc51c7c6ad26", + "value": -0.489017565730659 + }, + { + "key": "46b3931b9959c927df4fc65fdee94b07", + "value": -1.28882796460692 + }, + { + "key": "8cd892b7b97ef9489ae4479d3f4ef0fc", + "value": -1.89713185370046 + }, + { + "key": "db88a0257c220dbfdd2e40f6152d6a8d", + "value": -0.509892129474111 + }, + { + "key": "434990c8a25d2be94863561ae98bd682", + "value": 7.81339034284984 + }, + { + "key": "40fa73c9d0083043c6576dd2b40511e4", + "value": -2.04930427371177 + }, + { + "key": "a181a603769c1f98ad927e7367c7aa51", + "value": -0.469055263781105 + }, + { + "key": "bbdbe444288550204c968fe7002a97a9", + "value": -2.10852697080072 + }, + { + "key": "508c75c8507a2ae5223dfd2faeb98122", + "value": -0.925801252620744 + }, + { + "key": "288404204e3d452229308317344a285d", + "value": -0.0297803864794254 + }, + { + "key": "7fa3b767c460b54a2be4d49030b349c7", + "value": -0.172043543666822 + }, + { + "key": "86024cad1e83101d97359d7351051156", + "value": -1.06582385071709 + }, + { + "key": "ab6c040066603ef2519d512b21dce9ab", + "value": -0.401164299273472 + }, + { + "key": "a2a551a6458a8de22446cc76d639a9e9", + "value": 0.807420421632344 + }, + { + "key": "6864f389d9876436bc8778ff071d1b6c", + "value": -3.3304117429858 + }, + { + "key": "95cc6b4ac5abdeadc74b73a8ba7200d9", + "value": -1.31783142595184 + }, + { + "key": "c9f0f895fb98ab9159f51fd0297e236d", + "value": -1.2724032358499 + }, + { + "key": "b25ffa68ad761f8578cc61700c0140ed", + "value": -0.0615636324424033 + }, + { + "key": "cedf8da05466bb54708268b3c694a78f", + "value": -1.23137157892545 + }, + { + "key": "d4579b2688d675235f402f6b4b43bcbf", + "value": -1.69481872110543 + }, + { + "key": "d98a07f84921b24ee30f86fd8cd85c3c", + "value": -12.1870728084516 + }, + { + "key": "176848afabe6f93c3e23a470037ab74f", + "value": -0.152793917399175 + }, + { + "key": "d3d9446802a44259755d38e6d163e820", + "value": -0.33000927785427 + }, + { + "key": "0b3b97fa66886c5688ee4ae80ec0c3c2", + "value": -0.180688495783015 + }, + { + "key": "03c7c0ace395d80182db07ae2c30f034", + "value": 0.764019683140848 + }, + { + "key": "1679091c5a880faf6fb5e6087eb1b2dc", + "value": -1.1122990577468 + }, + { + "key": "53fe0881d8553a8d801dfb95b88f4e40", + "value": -1.09236300129147 + }, + { + "key": "fd456406745d816a45cae554c788e754", + "value": 8.30996940620143 + }, + { + "key": "639bae9ac6b3e1a84cebb7b403297b79", + "value": -0.823287957183101 + }, + { + "key": "62cc0b4ebb0b57b40778179234246c38", + "value": 0.58483129414665 + }, + { + "key": "fb54f3c5992b96d001bb16e8e92d968d", + "value": -0.88145286071634 + }, + { + "key": "06a943c59f33a34bb5924aaf72cd2995", + "value": -0.979996151963494 + }, + { + "key": "939323c921e250ea67e07a5ca1f79097", + "value": -0.450160759737376 + }, + { + "key": "2f8a6bf31f3bd67bd2d9720c58b19c9a", + "value": 1.36616690748895 + }, + { + "key": "23a58bf9274bedb19375e527a0744fa9", + "value": -0.537115104791129 + }, + { + "key": "ed2b5c0139cec8ad2873829dc1117d50", + "value": -2.19450128813358 + }, + { + "key": "865c0c0b4ab0e063e5caa3387c1a8741", + "value": -0.356687662060374 + }, + { + "key": "7d0db380a5b95a8ba1da0bca241abda1", + "value": -0.4698096644543 + }, + { + "key": "a87ff679a2f3e71d9181a67b7542122c", + "value": -0.742524972727398 + }, + { + "key": "4501c091b0366d76ea3218b6cfdd8097", + "value": -0.859953584665282 + }, + { + "key": "aa2d6e4f578eb0cfaba23beef76c2194", + "value": -2.72099288587697 + }, + { + "key": "106a6c241b8797f52e1e77317b96a201", + "value": -4.37692943118846 + }, + { + "key": "eccbc87e4b5ce2fe28308fd9f2a7baf3", + "value": -1.34082216804023 + }, + { + "key": "c4ca4238a0b923820dcc509a6f75849b", + "value": -2.10725305373454 + }, + { + "key": "853ae90f0351324bd73ea615e6487517", + "value": -6.81598642817895 + }, + { + "key": "ea6b2efbdd4255a9f1b3bbc6399b58f4", + "value": -2.39344591655943 + }, + { + "key": "01b6e20344b68835c5ed1ddedf20d531", + "value": -3.65800650078345 + }, + { + "key": "7f46165474d11ee5836777d85df2cdab", + "value": 0.684097452527487 + }, + { + "key": "5e29580010e4cbfb535c518a579f23c7", + "value": -2.09471929484155 + }, + { + "key": "71860c77c6745379b0d44304d66b6a13", + "value": 1.15886374098831 + }, + { + "key": "c81e728d9d4c2f636f067f89cc14862c", + "value": -1.91368190376594 + }, + { + "key": "4d236d9a2d102c5fe6ad1c50da4bec50", + "value": -3.23560081637991 + }, + { + "key": "8bf8854bebe108183caeb845c7676ae4", + "value": -1.51832726102323 + }, + { + "key": "8fc42c6ddf9966db3b09e84365034357", + "value": -2.09582023978897 + }, + { + "key": "13b5bfe96f3e2fe411c9f66f4a582adf", + "value": -1.36949613061145 + }, + { + "key": "37ce74088416f28dc9bb04355c2e5a28", + "value": -1.96092937860375 + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/synchronousLookupUris b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/synchronousLookupUris new file mode 100644 index 0000000..f683886 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/synchronousLookupUris @@ -0,0 +1 @@ +synchronousLookupUris_638251456861590082 \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/synchronousLookupUris_638251456861590082 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/synchronousLookupUris_638251456861590082 new file mode 100644 index 0000000..e694ec8 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/synchronousLookupUris_638251456861590082 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/topTraffic b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/topTraffic new file mode 100644 index 0000000..eba5302 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/topTraffic @@ -0,0 +1 @@ +topTraffic_638004170464094982 \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/topTraffic_638004170464094982 b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/topTraffic_638004170464094982 new file mode 100644 index 0000000..1cacde6 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/RemoteData/topTraffic_638004170464094982 differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/local/uriCache b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/local/uriCache new file mode 100644 index 0000000..c97731a --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/local/uriCache @@ -0,0 +1 @@ +uriCache_ \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/local/uriCache_ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/local/uriCache_ new file mode 100644 index 0000000..489f148 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/SmartScreen/local/uriCache_ @@ -0,0 +1 @@ +{"version":1,"cache_data":[{"file_hash":"c1353db2ad4170f6","server_context":"1;f94c025f-7523-6972-b613-ce2c246c55ce;unkn:100;0.01","result":1,"expiration_time":1689651023351364},{"file_hash":"8c68c787c68fd7e7","server_context":"1;f94c025f-7523-6972-b613-ce2c246c55ce;unkn:100;0.01","result":1,"expiration_time":1689651027971579},{"file_hash":"02123d41331ce61d","server_context":"1;f94c025f-7523-6972-b613-ce2c246c55ce;unkn:100;0.01","result":1,"expiration_time":1689651008729750},{"file_hash":"1953eb108f470973","server_context":"1;f94c025f-7523-6972-b613-ce2c246c55ce;unkn:100;0.01","result":1,"expiration_time":1689651025447935},{"file_hash":"b4ed21baa25e990f","server_context":"1;f94c025f-7523-6972-b613-ce2c246c55ce;unkn:100;0.01","result":1,"expiration_time":1689650930817675}]} \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Variations b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Variations new file mode 100644 index 0000000..18056c3 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.WebView2/EBWebView/Variations @@ -0,0 +1 @@ +{"user_experience_metrics.stability.exited_cleanly":true,"variations_crash_streak":0} \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.config b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.config new file mode 100644 index 0000000..3e0e37c --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.exe.config @@ -0,0 +1,3 @@ + + + diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.pdb b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.pdb index 9b5b389..0c8e1ed 100644 Binary files a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.pdb and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/SampleAPI.pdb differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/runtimes/win-x86/native/WebView2Loader.dll b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/runtimes/win-x86/native/WebView2Loader.dll new file mode 100644 index 0000000..518bd47 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/bin/Debug/runtimes/win-x86/native/WebView2Loader.dll differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/.NETFramework,Version=v4.0,Profile=Client.AssemblyAttributes.cs b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/.NETFramework,Version=v4.0,Profile=Client.AssemblyAttributes.cs new file mode 100644 index 0000000..c66f422 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/.NETFramework,Version=v4.0,Profile=Client.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0,Profile=Client", FrameworkDisplayName = ".NET Framework 4 Client Profile")] diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs new file mode 100644 index 0000000..15efebf --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache index 0c96a76..e6bc4a0 100644 Binary files a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 95e14a1..130d6b2 100644 Binary files a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.AssemblyReference.cache b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.AssemblyReference.cache new file mode 100644 index 0000000..3839c68 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.AssemblyReference.cache differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.CopyComplete b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.CopyComplete new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.CoreCompileInputs.cache b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..e9d17ff --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +5035c8af354e6364d2cd13889d54e7f66dbaba3e diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.FileListAbsolute.txt b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.FileListAbsolute.txt index d6c2503..072f296 100644 --- a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.FileListAbsolute.txt +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.FileListAbsolute.txt @@ -6,3 +6,22 @@ C:\Victor\SampleAPI\SampleAPI\SampleAPI\obj\x86\Debug\SampleAPI.exe C:\Victor\SampleAPI\SampleAPI\SampleAPI\obj\x86\Debug\SampleAPI.pdb C:\Victor\SampleAPI\SampleAPI\SampleAPI\obj\x86\Debug\SampleAPI.csprojResolveAssemblyReference.cache C:\Victor\SampleAPI\SampleAPI\SampleAPI\obj\x86\Debug\SampleAPI.csproj.GenerateResource.Cache +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\runtimes\win-x86\native\WebView2Loader.dll +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe.config +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.exe +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\SampleAPI.pdb +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\Microsoft.Web.WebView2.Core.dll +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\Microsoft.Web.WebView2.WinForms.dll +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\Microsoft.Web.WebView2.Wpf.dll +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\Microsoft.Web.WebView2.Core.xml +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\Microsoft.Web.WebView2.WinForms.xml +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\bin\Debug\Microsoft.Web.WebView2.Wpf.xml +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\obj\x86\Debug\SampleAPI.csproj.AssemblyReference.cache +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\obj\x86\Debug\SampleAPI.csproj.SuggestedBindingRedirects.cache +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\obj\x86\Debug\SampleAPI.Form1.resources +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\obj\x86\Debug\SampleAPI.Properties.Resources.resources +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\obj\x86\Debug\SampleAPI.csproj.GenerateResource.cache +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\obj\x86\Debug\SampleAPI.csproj.CoreCompileInputs.cache +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\obj\x86\Debug\SampleAPI.csproj.CopyComplete +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\obj\x86\Debug\SampleAPI.exe +C:\Users\Pale\source\repos\API-NG-sample-code\loginCode\Interactive-cSharp\SampleAPI\SampleAPI\obj\x86\Debug\SampleAPI.pdb diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.GenerateResource.Cache b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.GenerateResource.Cache index b113c83..e3c2877 100644 Binary files a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.GenerateResource.Cache and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.GenerateResource.Cache differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.SuggestedBindingRedirects.cache b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.csproj.SuggestedBindingRedirects.cache new file mode 100644 index 0000000..e69de29 diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.exe b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.exe index 477f094..372e2c9 100644 Binary files a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.exe and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.exe differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.pdb b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.pdb index 9b5b389..0c8e1ed 100644 Binary files a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.pdb and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/SampleAPI.pdb differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/TempPE/Properties.Resources.Designer.cs.dll b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/TempPE/Properties.Resources.Designer.cs.dll new file mode 100644 index 0000000..c6e73fb Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/obj/x86/Debug/TempPE/Properties.Resources.Designer.cs.dll differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/packages.config b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/packages.config new file mode 100644 index 0000000..7d59154 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/SampleAPI/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/packages/Microsoft.Web.WebView2.1.0.1823.32/.signature.p7s b/loginCode/Interactive-cSharp/SampleAPI/packages/Microsoft.Web.WebView2.1.0.1823.32/.signature.p7s new file mode 100644 index 0000000..1cd2568 Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/packages/Microsoft.Web.WebView2.1.0.1823.32/.signature.p7s differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/packages/Microsoft.Web.WebView2.1.0.1823.32/LICENSE.txt b/loginCode/Interactive-cSharp/SampleAPI/packages/Microsoft.Web.WebView2.1.0.1823.32/LICENSE.txt new file mode 100644 index 0000000..45f0297 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/packages/Microsoft.Web.WebView2.1.0.1823.32/LICENSE.txt @@ -0,0 +1,27 @@ +Copyright (C) Microsoft Corporation. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * The name of Microsoft Corporation, or the names of its contributors +may not be used to endorse or promote products derived from this +software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/loginCode/Interactive-cSharp/SampleAPI/packages/Microsoft.Web.WebView2.1.0.1823.32/Microsoft.Web.WebView2.1.0.1823.32.nupkg b/loginCode/Interactive-cSharp/SampleAPI/packages/Microsoft.Web.WebView2.1.0.1823.32/Microsoft.Web.WebView2.1.0.1823.32.nupkg new file mode 100644 index 0000000..7ef6ffe Binary files /dev/null and b/loginCode/Interactive-cSharp/SampleAPI/packages/Microsoft.Web.WebView2.1.0.1823.32/Microsoft.Web.WebView2.1.0.1823.32.nupkg differ diff --git a/loginCode/Interactive-cSharp/SampleAPI/packages/Microsoft.Web.WebView2.1.0.1823.32/NOTICE.txt b/loginCode/Interactive-cSharp/SampleAPI/packages/Microsoft.Web.WebView2.1.0.1823.32/NOTICE.txt new file mode 100644 index 0000000..bb64ba3 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/packages/Microsoft.Web.WebView2.1.0.1823.32/NOTICE.txt @@ -0,0 +1,85 @@ +NOTICES AND INFORMATION +Do Not Translate or Localize + +This software incorporates material from third parties. Microsoft makes certain +open source code available at https://3rdpartysource.microsoft.com, or you may +send a check or money order for US $5.00, including the product name, the open +source component name, and version number, to: + +Source Code Compliance Team +Microsoft Corporation +One Microsoft Way +Redmond, WA 98052 +USA + +Notwithstanding any other terms, you may reverse engineer this software to the +extent required to debug changes to any libraries licensed under the GNU Lesser +General Public License. + +---------------------------------------------------------------- + +Antlr3.Runtime 3.5.2-rc1 - BSD 3-Clause + +[The "BSD license"] +Copyright (c) 2011 The ANTLR Project +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--------------------------------------------------------- + +--------------------------------------------------------- + +StringTemplate4 4.0.9-rc1 - BSD 3-Clause + +[The "BSD license"] +Copyright (c) 2011 The ANTLR Project +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--------------------------------------------------------- diff --git a/loginCode/Interactive-cSharp/SampleAPI/packages/Microsoft.Web.WebView2.1.0.1823.32/WebView2.idl b/loginCode/Interactive-cSharp/SampleAPI/packages/Microsoft.Web.WebView2.1.0.1823.32/WebView2.idl new file mode 100644 index 0000000..649dad9 --- /dev/null +++ b/loginCode/Interactive-cSharp/SampleAPI/packages/Microsoft.Web.WebView2.1.0.1823.32/WebView2.idl @@ -0,0 +1,8783 @@ +// Copyright (C) Microsoft Corporation. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +import "objidl.idl"; +import "oaidl.idl"; +import "EventToken.idl"; + +[uuid(26d34152-879f-4065-bea2-3daa2cfadfb8), version(1.0)] +library WebView2 { + +// Interface forward declarations + +interface ICoreWebView2AcceleratorKeyPressedEventArgs; +interface ICoreWebView2AcceleratorKeyPressedEventHandler; +interface ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler; +interface ICoreWebView2CallDevToolsProtocolMethodCompletedHandler; +interface ICoreWebView2CapturePreviewCompletedHandler; +interface ICoreWebView2; +interface ICoreWebView2_2; +interface ICoreWebView2_3; +interface ICoreWebView2_4; +interface ICoreWebView2_5; +interface ICoreWebView2_6; +interface ICoreWebView2_7; +interface ICoreWebView2_8; +interface ICoreWebView2_9; +interface ICoreWebView2_10; +interface ICoreWebView2_11; +interface ICoreWebView2_12; +interface ICoreWebView2_13; +interface ICoreWebView2_14; +interface ICoreWebView2_15; +interface ICoreWebView2_16; +interface ICoreWebView2_17; +interface ICoreWebView2_18; +interface ICoreWebView2BasicAuthenticationRequestedEventArgs; +interface ICoreWebView2BasicAuthenticationRequestedEventHandler; +interface ICoreWebView2BasicAuthenticationResponse; +interface ICoreWebView2BrowserProcessExitedEventArgs; +interface ICoreWebView2BrowserProcessExitedEventHandler; +interface ICoreWebView2BytesReceivedChangedEventHandler; +interface ICoreWebView2CompositionController; +interface ICoreWebView2CompositionController2; +interface ICoreWebView2CompositionController3; +interface ICoreWebView2Controller; +interface ICoreWebView2Controller2; +interface ICoreWebView2Controller3; +interface ICoreWebView2Controller4; +interface ICoreWebView2ControllerOptions; +interface ICoreWebView2ControllerOptions2; +interface ICoreWebView2ContentLoadingEventArgs; +interface ICoreWebView2ContentLoadingEventHandler; +interface ICoreWebView2ContextMenuRequestedEventArgs; +interface ICoreWebView2ContextMenuRequestedEventHandler; +interface ICoreWebView2Cookie; +interface ICoreWebView2CookieList; +interface ICoreWebView2CookieManager; +interface ICoreWebView2Certificate; +interface ICoreWebView2ClientCertificate; +interface ICoreWebView2StringCollection; +interface ICoreWebView2ClearBrowsingDataCompletedHandler; +interface ICoreWebView2ClientCertificateCollection; +interface ICoreWebView2ClientCertificateRequestedEventArgs; +interface ICoreWebView2ClientCertificateRequestedEventHandler; +interface ICoreWebView2ContextMenuItem; +interface ICoreWebView2ContextMenuItemCollection; +interface ICoreWebView2ContextMenuRequestedEventArgs; +interface ICoreWebView2ContextMenuRequestedEventHandler; +interface ICoreWebView2ContextMenuTarget; +interface ICoreWebView2ClearServerCertificateErrorActionsCompletedHandler; +interface ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler; +interface ICoreWebView2CreateCoreWebView2ControllerCompletedHandler; +interface ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler; +interface ICoreWebView2ContainsFullScreenElementChangedEventHandler; +interface ICoreWebView2CursorChangedEventHandler; +interface ICoreWebView2CustomItemSelectedEventHandler; +interface ICoreWebView2CustomSchemeRegistration; +interface ICoreWebView2DocumentTitleChangedEventHandler; +interface ICoreWebView2DOMContentLoadedEventArgs; +interface ICoreWebView2DOMContentLoadedEventHandler; +interface ICoreWebView2Deferral; +interface ICoreWebView2DevToolsProtocolEventReceivedEventArgs; +interface ICoreWebView2DevToolsProtocolEventReceivedEventArgs2; +interface ICoreWebView2DevToolsProtocolEventReceivedEventHandler; +interface ICoreWebView2DevToolsProtocolEventReceiver; +interface ICoreWebView2DownloadOperation; +interface ICoreWebView2DownloadStartingEventArgs; +interface ICoreWebView2DownloadStartingEventHandler; +interface ICoreWebView2Environment; +interface ICoreWebView2Environment2; +interface ICoreWebView2Environment3; +interface ICoreWebView2Environment4; +interface ICoreWebView2Environment5; +interface ICoreWebView2Environment6; +interface ICoreWebView2Environment7; +interface ICoreWebView2Environment8; +interface ICoreWebView2Environment9; +interface ICoreWebView2Environment10; +interface ICoreWebView2Environment11; +interface ICoreWebView2Environment12; +interface ICoreWebView2Environment13; +interface ICoreWebView2EnvironmentOptions; +interface ICoreWebView2EnvironmentOptions2; +interface ICoreWebView2EnvironmentOptions3; +interface ICoreWebView2EnvironmentOptions4; +interface ICoreWebView2EnvironmentOptions5; +interface ICoreWebView2EstimatedEndTimeChangedEventHandler; +interface ICoreWebView2ExecuteScriptCompletedHandler; +interface ICoreWebView2Frame; +interface ICoreWebView2Frame2; +interface ICoreWebView2Frame3; +interface ICoreWebView2Frame4; +interface ICoreWebView2FrameContentLoadingEventHandler; +interface ICoreWebView2FrameCreatedEventArgs; +interface ICoreWebView2FrameCreatedEventHandler; +interface ICoreWebView2FrameDestroyedEventHandler; +interface ICoreWebView2FrameDOMContentLoadedEventHandler; +interface ICoreWebView2FrameNameChangedEventHandler; +interface ICoreWebView2FrameNavigationCompletedEventHandler; +interface ICoreWebView2FrameNavigationStartingEventHandler; +interface ICoreWebView2FramePermissionRequestedEventHandler; +interface ICoreWebView2FrameWebMessageReceivedEventHandler; +interface ICoreWebView2FrameInfo; +interface ICoreWebView2FrameInfoCollection; +interface ICoreWebView2FrameInfoCollectionIterator; +interface ICoreWebView2FocusChangedEventHandler; +interface ICoreWebView2GetCookiesCompletedHandler; +interface ICoreWebView2GetNonDefaultPermissionSettingsCompletedHandler; +interface ICoreWebView2HistoryChangedEventHandler; +interface ICoreWebView2HttpHeadersCollectionIterator; +interface ICoreWebView2HttpRequestHeaders; +interface ICoreWebView2HttpResponseHeaders; +interface ICoreWebView2IsDefaultDownloadDialogOpenChangedEventHandler; +interface ICoreWebView2LaunchingExternalUriSchemeEventArgs; +interface ICoreWebView2LaunchingExternalUriSchemeEventHandler; +interface ICoreWebView2MoveFocusRequestedEventArgs; +interface ICoreWebView2MoveFocusRequestedEventHandler; +interface ICoreWebView2NavigationCompletedEventArgs; +interface ICoreWebView2NavigationCompletedEventArgs2; +interface ICoreWebView2NavigationCompletedEventHandler; +interface ICoreWebView2NavigationStartingEventArgs; +interface ICoreWebView2NavigationStartingEventArgs2; +interface ICoreWebView2NavigationStartingEventHandler; +interface ICoreWebView2NewBrowserVersionAvailableEventHandler; +interface ICoreWebView2NewWindowRequestedEventArgs; +interface ICoreWebView2NewWindowRequestedEventArgs2; +interface ICoreWebView2NewWindowRequestedEventHandler; +interface ICoreWebView2PermissionRequestedEventArgs; +interface ICoreWebView2PermissionRequestedEventArgs2; +interface ICoreWebView2PermissionRequestedEventArgs3; +interface ICoreWebView2PermissionRequestedEventHandler; +interface ICoreWebView2PermissionSettingCollectionView; +interface ICoreWebView2PermissionSetting; +interface ICoreWebView2PointerInfo; +interface ICoreWebView2PrintSettings; +interface ICoreWebView2PrintSettings2; +interface ICoreWebView2PrintToPdfCompletedHandler; +interface ICoreWebView2PrintCompletedHandler; +interface ICoreWebView2PrintToPdfStreamCompletedHandler; +interface ICoreWebView2ProcessFailedEventArgs; +interface ICoreWebView2ProcessFailedEventArgs2; +interface ICoreWebView2ProcessFailedEventHandler; +interface ICoreWebView2Profile; +interface ICoreWebView2Profile2; +interface ICoreWebView2Profile3; +interface ICoreWebView2Profile4; +interface ICoreWebView2Profile5; +interface ICoreWebView2Profile6; +interface ICoreWebView2RasterizationScaleChangedEventHandler; +interface ICoreWebView2ServerCertificateErrorDetectedEventArgs; +interface ICoreWebView2ServerCertificateErrorDetectedEventHandler; +interface ICoreWebView2SetPermissionStateCompletedHandler; +interface ICoreWebView2ScriptDialogOpeningEventArgs; +interface ICoreWebView2ScriptDialogOpeningEventHandler; +interface ICoreWebView2Settings; +interface ICoreWebView2Settings2; +interface ICoreWebView2Settings3; +interface ICoreWebView2Settings4; +interface ICoreWebView2Settings5; +interface ICoreWebView2Settings6; +interface ICoreWebView2Settings7; +interface ICoreWebView2Settings8; +interface ICoreWebView2SharedBuffer; +interface ICoreWebView2SourceChangedEventArgs; +interface ICoreWebView2SourceChangedEventHandler; +interface ICoreWebView2StateChangedEventHandler; +interface ICoreWebView2StatusBarTextChangedEventHandler; +interface ICoreWebView2TrySuspendCompletedHandler; +interface ICoreWebView2WebMessageReceivedEventArgs; +interface ICoreWebView2WebMessageReceivedEventHandler; +interface ICoreWebView2WebResourceRequest; +interface ICoreWebView2WebResourceRequestedEventArgs; +interface ICoreWebView2WebResourceRequestedEventHandler; +interface ICoreWebView2WebResourceResponse; +interface ICoreWebView2WebResourceResponseReceivedEventHandler; +interface ICoreWebView2WebResourceResponseReceivedEventArgs; +interface ICoreWebView2WebResourceResponseView; +interface ICoreWebView2WebResourceResponseViewGetContentCompletedHandler; +interface ICoreWebView2WindowCloseRequestedEventHandler; +interface ICoreWebView2WindowFeatures; +interface ICoreWebView2ZoomFactorChangedEventHandler; +interface ICoreWebView2IsMutedChangedEventHandler; +interface ICoreWebView2IsDocumentPlayingAudioChangedEventHandler; +interface ICoreWebView2ProcessInfo; +interface ICoreWebView2ProcessInfoCollection; +interface ICoreWebView2ProcessInfosChangedEventHandler; +interface ICoreWebView2FaviconChangedEventHandler; +interface ICoreWebView2GetFaviconCompletedHandler; + +// Enums and structs + +/// Specifies the image format for the `ICoreWebView2::CapturePreview` method. + +[v1_enum] +typedef enum COREWEBVIEW2_CAPTURE_PREVIEW_IMAGE_FORMAT { + + /// Indicates that the PNG image format is used. + + COREWEBVIEW2_CAPTURE_PREVIEW_IMAGE_FORMAT_PNG, + + /// Indicates the JPEG image format is used. + + COREWEBVIEW2_CAPTURE_PREVIEW_IMAGE_FORMAT_JPEG, +} COREWEBVIEW2_CAPTURE_PREVIEW_IMAGE_FORMAT; + +/// Kind of cookie SameSite status used in the ICoreWebView2Cookie interface. +/// These fields match those as specified in https://developer.mozilla.org/docs/Web/HTTP/Cookies#. +/// Learn more about SameSite cookies here: https://tools.ietf.org/html/draft-west-first-party-cookies-07 +[v1_enum] +typedef enum COREWEBVIEW2_COOKIE_SAME_SITE_KIND { + /// None SameSite type. No restrictions on cross-site requests. + COREWEBVIEW2_COOKIE_SAME_SITE_KIND_NONE, + /// Lax SameSite type. The cookie will be sent with "same-site" requests, and with "cross-site" top level navigation. + COREWEBVIEW2_COOKIE_SAME_SITE_KIND_LAX, + /// Strict SameSite type. The cookie will only be sent along with "same-site" requests. + COREWEBVIEW2_COOKIE_SAME_SITE_KIND_STRICT, +} COREWEBVIEW2_COOKIE_SAME_SITE_KIND; + +/// Kind of cross origin resource access allowed for host resources during download. +/// Note that other normal access checks like same origin DOM access check and [Content +/// Security Policy](https://developer.mozilla.org/docs/Web/HTTP/CSP) still apply. +/// The following table illustrates the host resource cross origin access according to +/// access context and `COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND`. +/// +/// Cross Origin Access Context | DENY | ALLOW | DENY_CORS +/// --- | --- | --- | --- +/// From DOM like src of img, script or iframe element| Deny | Allow | Allow +/// From Script like Fetch or XMLHttpRequest| Deny | Allow | Deny +[v1_enum] +typedef enum COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND { + /// All cross origin resource access is denied, including normal sub resource access + /// as src of a script or image element. + COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND_DENY, + + /// All cross origin resource access is allowed, including accesses that are + /// subject to Cross-Origin Resource Sharing(CORS) check. The behavior is similar to + /// a web site sends back http header Access-Control-Allow-Origin: *. + COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND_ALLOW, + + /// Cross origin resource access is allowed for normal sub resource access like + /// as src of a script or image element, while any access that subjects to CORS check + /// will be denied. + /// See [Cross-Origin Resource Sharing](https://developer.mozilla.org/docs/Web/HTTP/CORS) + /// for more information. + COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND_DENY_CORS, +} COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND; + +/// Specifies the JavaScript dialog type used in the +/// `ICoreWebView2ScriptDialogOpeningEventHandler` interface. + +[v1_enum] +typedef enum COREWEBVIEW2_SCRIPT_DIALOG_KIND { + + /// Indicates that the dialog uses the `window.alert` JavaScript function. + + COREWEBVIEW2_SCRIPT_DIALOG_KIND_ALERT, + + /// Indicates that the dialog uses the `window.confirm` JavaScript function. + + COREWEBVIEW2_SCRIPT_DIALOG_KIND_CONFIRM, + + /// Indicates that the dialog uses the `window.prompt` JavaScript function. + + COREWEBVIEW2_SCRIPT_DIALOG_KIND_PROMPT, + + /// Indicates that the dialog uses the `beforeunload` JavaScript event. + + COREWEBVIEW2_SCRIPT_DIALOG_KIND_BEFOREUNLOAD, +} COREWEBVIEW2_SCRIPT_DIALOG_KIND; + +/// Specifies the process failure type used in the +/// `ICoreWebView2ProcessFailedEventHandler` interface. The values in this enum +/// make reference to the process kinds in the Chromium architecture. For more +/// information about what these processes are and what they do, see +/// [Browser Architecture - Inside look at modern web browser](https://developers.google.com/web/updates/2018/09/inside-browser-part1). + +[v1_enum] +typedef enum COREWEBVIEW2_PROCESS_FAILED_KIND { + + /// Indicates that the browser process ended unexpectedly. The WebView + /// automatically moves to the Closed state. The app has to recreate a new + /// WebView to recover from this failure. + + COREWEBVIEW2_PROCESS_FAILED_KIND_BROWSER_PROCESS_EXITED, + + /// Indicates that the main frame's render process ended unexpectedly. A new + /// render process is created automatically and navigated to an error page. + /// You can use the `Reload` method to try to reload the page that failed. + + COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_EXITED, + + /// Indicates that the main frame's render process is unresponsive. + + // Note that this does not seem to work right now. + // Does not fire for simple long running script case, the only related test + // SitePerProcessBrowserTest::NoCommitTimeoutForInvisibleWebContents is + // disabled. + + COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_UNRESPONSIVE, + + /// Indicates that a frame-only render process ended unexpectedly. The process + /// exit does not affect the top-level document, only a subset of the + /// subframes within it. The content in these frames is replaced with an error + /// page in the frame. + + COREWEBVIEW2_PROCESS_FAILED_KIND_FRAME_RENDER_PROCESS_EXITED, + + /// Indicates that a utility process ended unexpectedly. + + COREWEBVIEW2_PROCESS_FAILED_KIND_UTILITY_PROCESS_EXITED, + + /// Indicates that a sandbox helper process ended unexpectedly. + + COREWEBVIEW2_PROCESS_FAILED_KIND_SANDBOX_HELPER_PROCESS_EXITED, + + /// Indicates that the GPU process ended unexpectedly. + + COREWEBVIEW2_PROCESS_FAILED_KIND_GPU_PROCESS_EXITED, + + /// Indicates that a PPAPI plugin process ended unexpectedly. + + COREWEBVIEW2_PROCESS_FAILED_KIND_PPAPI_PLUGIN_PROCESS_EXITED, + + /// Indicates that a PPAPI plugin broker process ended unexpectedly. + + COREWEBVIEW2_PROCESS_FAILED_KIND_PPAPI_BROKER_PROCESS_EXITED, + + /// Indicates that a process of unspecified kind ended unexpectedly. + + COREWEBVIEW2_PROCESS_FAILED_KIND_UNKNOWN_PROCESS_EXITED, +} COREWEBVIEW2_PROCESS_FAILED_KIND; + +/// Specifies the process failure reason used in the +/// `ICoreWebView2ProcessFailedEventHandler` interface. + +[v1_enum] +typedef enum COREWEBVIEW2_PROCESS_FAILED_REASON { + + /// An unexpected process failure occurred. + COREWEBVIEW2_PROCESS_FAILED_REASON_UNEXPECTED, + + /// The process became unresponsive. + /// This only applies to the main frame's render process. + + COREWEBVIEW2_PROCESS_FAILED_REASON_UNRESPONSIVE, + + /// The process was terminated. For example, from Task Manager. + + COREWEBVIEW2_PROCESS_FAILED_REASON_TERMINATED, + + /// The process crashed. + + COREWEBVIEW2_PROCESS_FAILED_REASON_CRASHED, + + /// The process failed to launch. + + COREWEBVIEW2_PROCESS_FAILED_REASON_LAUNCH_FAILED, + + /// The process died due to running out of memory. + + COREWEBVIEW2_PROCESS_FAILED_REASON_OUT_OF_MEMORY, + + /// The process exited because its corresponding profile was deleted. + COREWEBVIEW2_PROCESS_FAILED_REASON_PROFILE_DELETED, +} COREWEBVIEW2_PROCESS_FAILED_REASON; + +/// Indicates the type of a permission request. + +[v1_enum] +typedef enum COREWEBVIEW2_PERMISSION_KIND { + + /// Indicates an unknown permission. + + COREWEBVIEW2_PERMISSION_KIND_UNKNOWN_PERMISSION, + + /// Indicates permission to capture audio. + + COREWEBVIEW2_PERMISSION_KIND_MICROPHONE, + + /// Indicates permission to capture video. + + COREWEBVIEW2_PERMISSION_KIND_CAMERA, + + /// Indicates permission to access geolocation. + + COREWEBVIEW2_PERMISSION_KIND_GEOLOCATION, + + /// Indicates permission to send web notifications. Apps that would like to + /// show notifications should handle `PermissionRequested` events + /// and no browser permission prompt will be shown for notification requests. + /// Note that push notifications are currently unavailable in WebView2. + + COREWEBVIEW2_PERMISSION_KIND_NOTIFICATIONS, + + /// Indicates permission to access generic sensor. Generic Sensor covering + /// ambient-light-sensor, accelerometer, gyroscope, and magnetometer. + + COREWEBVIEW2_PERMISSION_KIND_OTHER_SENSORS, + + /// Indicates permission to read the system clipboard without a user gesture. + + COREWEBVIEW2_PERMISSION_KIND_CLIPBOARD_READ, + + /// Indicates permission to automatically download multiple files. Permission + /// is requested when multiple downloads are triggered in quick succession. + + COREWEBVIEW2_PERMISSION_KIND_MULTIPLE_AUTOMATIC_DOWNLOADS, + + /// Indicates permission to read and write to files or folders on the device. + /// Permission is requested when developers use the [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API) + /// to show the file or folder picker to the end user, and then request + /// "readwrite" permission for the user's selection. + + COREWEBVIEW2_PERMISSION_KIND_FILE_READ_WRITE, + + /// Indicates permission to play audio and video automatically on sites. This + /// permission affects the autoplay attribute and play method of the audio and + /// video HTML elements, and the start method of the Web Audio API. See the + /// [Autoplay guide for media and Web Audio APIs](https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_guide) for details. + + COREWEBVIEW2_PERMISSION_KIND_AUTOPLAY, + + /// Indicates permission to use fonts on the device. Permission is requested + /// when developers use the [Local Font Access API](https://wicg.github.io/local-font-access/) + /// to query the system fonts available for styling web content. + + COREWEBVIEW2_PERMISSION_KIND_LOCAL_FONTS, + + /// Indicates permission to send and receive system exclusive messages to/from MIDI + /// (Musical Instrument Digital Interface) devices. Permission is requested + /// when developers use the [Web MIDI API](https://developer.mozilla.org/en-US/docs/Web/API/Web_MIDI_API) + /// to request access to system exclusive MIDI messages. + COREWEBVIEW2_PERMISSION_KIND_MIDI_SYSTEM_EXCLUSIVE_MESSAGES, + + /// Indicates permission to open and place windows on the screen. Permission is + /// requested when developers use the [Multi-Screen Window Placement API](https://www.w3.org/TR/window-placement/) + /// to get screen details. + COREWEBVIEW2_PERMISSION_KIND_WINDOW_MANAGEMENT, +} COREWEBVIEW2_PERMISSION_KIND; + +/// Specifies the response to a permission request. + +[v1_enum] +typedef enum COREWEBVIEW2_PERMISSION_STATE { + + /// Specifies that the default browser behavior is used, which normally + /// prompt users for decision. + + COREWEBVIEW2_PERMISSION_STATE_DEFAULT, + + /// Specifies that the permission request is granted. + + COREWEBVIEW2_PERMISSION_STATE_ALLOW, + + /// Specifies that the permission request is denied. + + COREWEBVIEW2_PERMISSION_STATE_DENY, +} COREWEBVIEW2_PERMISSION_STATE; + +/// Indicates the error status values for web navigations. + +[v1_enum] +typedef enum COREWEBVIEW2_WEB_ERROR_STATUS { + + /// Indicates that an unknown error occurred. + + COREWEBVIEW2_WEB_ERROR_STATUS_UNKNOWN, + + /// Indicates that the SSL certificate common name does not match the web + /// address. + + COREWEBVIEW2_WEB_ERROR_STATUS_CERTIFICATE_COMMON_NAME_IS_INCORRECT, + + /// Indicates that the SSL certificate has expired. + + COREWEBVIEW2_WEB_ERROR_STATUS_CERTIFICATE_EXPIRED, + + /// Indicates that the SSL client certificate contains errors. + + COREWEBVIEW2_WEB_ERROR_STATUS_CLIENT_CERTIFICATE_CONTAINS_ERRORS, + + /// Indicates that the SSL certificate has been revoked. + + COREWEBVIEW2_WEB_ERROR_STATUS_CERTIFICATE_REVOKED, + + /// Indicates that the SSL certificate is not valid. The certificate may not + /// match the public key pins for the host name, the certificate is signed + /// by an untrusted authority or using a weak sign algorithm, the certificate + /// claimed DNS names violate name constraints, the certificate contains a + /// weak key, the validity period of the certificate is too long, lack of + /// revocation information or revocation mechanism, non-unique host name, + /// lack of certificate transparency information, or the certificate is + /// chained to a + /// [legacy Symantec root](https://security.googleblog.com/2018/03/distrust-of-symantec-pki-immediate.html). + + COREWEBVIEW2_WEB_ERROR_STATUS_CERTIFICATE_IS_INVALID, + + /// Indicates that the host is unreachable. + + COREWEBVIEW2_WEB_ERROR_STATUS_SERVER_UNREACHABLE, + + /// Indicates that the connection has timed out. + + COREWEBVIEW2_WEB_ERROR_STATUS_TIMEOUT, + + /// Indicates that the server returned an invalid or unrecognized response. + + COREWEBVIEW2_WEB_ERROR_STATUS_ERROR_HTTP_INVALID_SERVER_RESPONSE, + + /// Indicates that the connection was stopped. + + COREWEBVIEW2_WEB_ERROR_STATUS_CONNECTION_ABORTED, + + /// Indicates that the connection was reset. + + COREWEBVIEW2_WEB_ERROR_STATUS_CONNECTION_RESET, + + /// Indicates that the Internet connection has been lost. + + COREWEBVIEW2_WEB_ERROR_STATUS_DISCONNECTED, + + /// Indicates that a connection to the destination was not established. + + COREWEBVIEW2_WEB_ERROR_STATUS_CANNOT_CONNECT, + + /// Indicates that the provided host name was not able to be resolved. + + COREWEBVIEW2_WEB_ERROR_STATUS_HOST_NAME_NOT_RESOLVED, + + /// Indicates that the operation was canceled. This status code is also used + /// in the following cases: + /// - When the app cancels a navigation via NavigationStarting event. + /// - For original navigation if the app navigates the WebView2 in a rapid succession + /// away after the load for original navigation commenced, but before it completed. + + COREWEBVIEW2_WEB_ERROR_STATUS_OPERATION_CANCELED, + + /// Indicates that the request redirect failed. + + COREWEBVIEW2_WEB_ERROR_STATUS_REDIRECT_FAILED, + + /// Indicates that an unexpected error occurred. + + COREWEBVIEW2_WEB_ERROR_STATUS_UNEXPECTED_ERROR, + + /// Indicates that user is prompted with a login, waiting on user action. + /// Initial navigation to a login site will always return this even if app provides + /// credential using BasicAuthenticationRequested. + /// HTTP response status code in this case is 401. + /// See status code reference here: https://developer.mozilla.org/docs/Web/HTTP/Status. + + COREWEBVIEW2_WEB_ERROR_STATUS_VALID_AUTHENTICATION_CREDENTIALS_REQUIRED, + + /// Indicates that user lacks proper authentication credentials for a proxy server. + /// HTTP response status code in this case is 407. + /// See status code reference here: https://developer.mozilla.org/docs/Web/HTTP/Status. + + COREWEBVIEW2_WEB_ERROR_STATUS_VALID_PROXY_AUTHENTICATION_REQUIRED, +} COREWEBVIEW2_WEB_ERROR_STATUS; + +/// Specifies the web resource request contexts. + +[v1_enum] +typedef enum COREWEBVIEW2_WEB_RESOURCE_CONTEXT { + + /// Specifies all resources. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_ALL, + + /// Specifies a document resource. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_DOCUMENT, + + /// Specifies a CSS resource. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_STYLESHEET, + + /// Specifies an image resource. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_IMAGE, + + /// Specifies another media resource such as a video. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_MEDIA, + + /// Specifies a font resource. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_FONT, + + /// Specifies a script resource. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_SCRIPT, + + /// Specifies an XML HTTP request, Fetch and EventSource API communication. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_XML_HTTP_REQUEST, + + /// Specifies a Fetch API communication. + + // Note that this isn't working. Fetch API requests are fired as a part + // of COREWEBVIEW2_WEB_RESOURCE_CONTEXT_XML_HTTP_REQUEST. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_FETCH, + + /// Specifies a TextTrack resource. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_TEXT_TRACK, + + /// Specifies an EventSource API communication. + + // Note that this isn't working. EventSource API requests are fired as a part + // of COREWEBVIEW2_WEB_RESOURCE_CONTEXT_XML_HTTP_REQUEST. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_EVENT_SOURCE, + + /// Specifies a WebSocket API communication. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_WEBSOCKET, + + /// Specifies a Web App Manifest. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_MANIFEST, + + /// Specifies a Signed HTTP Exchange. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_SIGNED_EXCHANGE, + + /// Specifies a Ping request. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_PING, + + /// Specifies a CSP Violation Report. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_CSP_VIOLATION_REPORT, + + /// Specifies an other resource. + + COREWEBVIEW2_WEB_RESOURCE_CONTEXT_OTHER +} COREWEBVIEW2_WEB_RESOURCE_CONTEXT; + +/// Specifies the reason for moving focus. + +[v1_enum] +typedef enum COREWEBVIEW2_MOVE_FOCUS_REASON { + + /// Specifies that the code is setting focus into WebView. + + COREWEBVIEW2_MOVE_FOCUS_REASON_PROGRAMMATIC, + + /// Specifies that the focus is moving due to Tab traversal forward. + + COREWEBVIEW2_MOVE_FOCUS_REASON_NEXT, + + /// Specifies that the focus is moving due to Tab traversal backward. + + COREWEBVIEW2_MOVE_FOCUS_REASON_PREVIOUS, +} COREWEBVIEW2_MOVE_FOCUS_REASON; + +/// Specifies the key event type that triggered an `AcceleratorKeyPressed` +/// event. + +[v1_enum] +typedef enum COREWEBVIEW2_KEY_EVENT_KIND { + + /// Specifies that the key event type corresponds to window message + /// `WM_KEYDOWN`. + + COREWEBVIEW2_KEY_EVENT_KIND_KEY_DOWN, + + /// Specifies that the key event type corresponds to window message + /// `WM_KEYUP`. + + COREWEBVIEW2_KEY_EVENT_KIND_KEY_UP, + + /// Specifies that the key event type corresponds to window message + /// `WM_SYSKEYDOWN`. + + COREWEBVIEW2_KEY_EVENT_KIND_SYSTEM_KEY_DOWN, + + /// Specifies that the key event type corresponds to window message + /// `WM_SYSKEYUP`. + + COREWEBVIEW2_KEY_EVENT_KIND_SYSTEM_KEY_UP, +} COREWEBVIEW2_KEY_EVENT_KIND; + +/// Specifies the browser process exit type used in the +/// `ICoreWebView2BrowserProcessExitedEventArgs` interface. + +[v1_enum] +typedef enum COREWEBVIEW2_BROWSER_PROCESS_EXIT_KIND { + + /// Indicates that the browser process ended normally. + + COREWEBVIEW2_BROWSER_PROCESS_EXIT_KIND_NORMAL, + + /// Indicates that the browser process ended unexpectedly. + /// A `ProcessFailed` event will also be sent to listening WebViews from the + /// `ICoreWebView2Environment` associated to the failed process. + + COREWEBVIEW2_BROWSER_PROCESS_EXIT_KIND_FAILED +} COREWEBVIEW2_BROWSER_PROCESS_EXIT_KIND; + +/// Contains the information packed into the `LPARAM` sent to a Win32 key +/// event. For more information about `WM_KEYDOWN`, navigate to +/// [WM_KEYDOWN message](/windows/win32/inputdev/wm-keydown). + +typedef struct COREWEBVIEW2_PHYSICAL_KEY_STATUS { + + /// Specifies the repeat count for the current message. + + UINT32 RepeatCount; + + /// Specifies the scan code. + + UINT32 ScanCode; + + /// Indicates that the key is an extended key. + + BOOL IsExtendedKey; + + /// Indicates that a menu key is held down (context code). + + BOOL IsMenuKeyDown; + + /// Indicates that the key was held down. + + BOOL WasKeyDown; + + /// Indicates that the key was released. + + BOOL IsKeyReleased; +} COREWEBVIEW2_PHYSICAL_KEY_STATUS; + +/// A value representing RGBA color (Red, Green, Blue, Alpha) for WebView2. +/// Each component takes a value from 0 to 255, with 0 being no intensity +/// and 255 being the highest intensity. + +typedef struct COREWEBVIEW2_COLOR { + + /// Specifies the intensity of the Alpha ie. opacity value. 0 is transparent, + /// 255 is opaque. + + BYTE A; + + /// Specifies the intensity of the Red color. + + BYTE R; + + /// Specifies the intensity of the Green color. + + BYTE G; + + /// Specifies the intensity of the Blue color. + + BYTE B; +} COREWEBVIEW2_COLOR; + +/// Mouse event type used by SendMouseInput to convey the type of mouse event +/// being sent to WebView. The values of this enum align with the matching +/// WM_* window messages. + +[v1_enum] +typedef enum COREWEBVIEW2_MOUSE_EVENT_KIND { + + /// Mouse horizontal wheel scroll event, WM_MOUSEHWHEEL. + + COREWEBVIEW2_MOUSE_EVENT_KIND_HORIZONTAL_WHEEL = 0x020E, + + /// Left button double click mouse event, WM_LBUTTONDBLCLK. + + COREWEBVIEW2_MOUSE_EVENT_KIND_LEFT_BUTTON_DOUBLE_CLICK = 0x0203, + + /// Left button down mouse event, WM_LBUTTONDOWN. + + COREWEBVIEW2_MOUSE_EVENT_KIND_LEFT_BUTTON_DOWN = 0x0201, + + /// Left button up mouse event, WM_LBUTTONUP. + + COREWEBVIEW2_MOUSE_EVENT_KIND_LEFT_BUTTON_UP = 0x0202, + + /// Mouse leave event, WM_MOUSELEAVE. + + COREWEBVIEW2_MOUSE_EVENT_KIND_LEAVE = 0x02A3, + + /// Middle button double click mouse event, WM_MBUTTONDBLCLK. + + COREWEBVIEW2_MOUSE_EVENT_KIND_MIDDLE_BUTTON_DOUBLE_CLICK = 0x0209, + + /// Middle button down mouse event, WM_MBUTTONDOWN. + + COREWEBVIEW2_MOUSE_EVENT_KIND_MIDDLE_BUTTON_DOWN = 0x0207, + + /// Middle button up mouse event, WM_MBUTTONUP. + + COREWEBVIEW2_MOUSE_EVENT_KIND_MIDDLE_BUTTON_UP = 0x0208, + + /// Mouse move event, WM_MOUSEMOVE. + + COREWEBVIEW2_MOUSE_EVENT_KIND_MOVE = 0x0200, + + /// Right button double click mouse event, WM_RBUTTONDBLCLK. + + COREWEBVIEW2_MOUSE_EVENT_KIND_RIGHT_BUTTON_DOUBLE_CLICK = 0x0206, + + /// Right button down mouse event, WM_RBUTTONDOWN. + + COREWEBVIEW2_MOUSE_EVENT_KIND_RIGHT_BUTTON_DOWN = 0x0204, + + /// Right button up mouse event, WM_RBUTTONUP. + + COREWEBVIEW2_MOUSE_EVENT_KIND_RIGHT_BUTTON_UP = 0x0205, + + /// Mouse wheel scroll event, WM_MOUSEWHEEL. + + COREWEBVIEW2_MOUSE_EVENT_KIND_WHEEL = 0x020A, + + /// First or second X button double click mouse event, WM_XBUTTONDBLCLK. + + COREWEBVIEW2_MOUSE_EVENT_KIND_X_BUTTON_DOUBLE_CLICK = 0x020D, + + /// First or second X button down mouse event, WM_XBUTTONDOWN. + + COREWEBVIEW2_MOUSE_EVENT_KIND_X_BUTTON_DOWN = 0x020B, + + /// First or second X button up mouse event, WM_XBUTTONUP. + + COREWEBVIEW2_MOUSE_EVENT_KIND_X_BUTTON_UP = 0x020C, +} COREWEBVIEW2_MOUSE_EVENT_KIND; + +/// Mouse event virtual keys associated with a COREWEBVIEW2_MOUSE_EVENT_KIND for +/// SendMouseInput. These values can be combined into a bit flag if more than +/// one virtual key is pressed for the event. The values of this enum align +/// with the matching MK_* mouse keys. + +[v1_enum] +typedef enum COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS { + + /// No additional keys pressed. + + COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS_NONE = 0x0, + + /// Left mouse button is down, MK_LBUTTON. + + COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS_LEFT_BUTTON = 0x0001, + + /// Right mouse button is down, MK_RBUTTON. + + COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS_RIGHT_BUTTON = 0x0002, + + /// SHIFT key is down, MK_SHIFT. + + COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS_SHIFT = 0x0004, + + /// CTRL key is down, MK_CONTROL. + + COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS_CONTROL = 0x0008, + + /// Middle mouse button is down, MK_MBUTTON. + + COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS_MIDDLE_BUTTON = 0x0010, + + /// First X button is down, MK_XBUTTON1 + + COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS_X_BUTTON1 = 0x0020, + + /// Second X button is down, MK_XBUTTON2 + + COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS_X_BUTTON2 = 0x0040, +} COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS; +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS)") + +/// Pointer event type used by SendPointerInput to convey the type of pointer +/// event being sent to WebView. The values of this enum align with the +/// matching WM_POINTER* window messages. + +[v1_enum] +typedef enum COREWEBVIEW2_POINTER_EVENT_KIND { + + /// Corresponds to WM_POINTERACTIVATE. + + COREWEBVIEW2_POINTER_EVENT_KIND_ACTIVATE = 0x024B, + + /// Corresponds to WM_POINTERDOWN. + + COREWEBVIEW2_POINTER_EVENT_KIND_DOWN = 0x0246, + + /// Corresponds to WM_POINTERENTER. + + COREWEBVIEW2_POINTER_EVENT_KIND_ENTER = 0x0249, + + /// Corresponds to WM_POINTERLEAVE. + + COREWEBVIEW2_POINTER_EVENT_KIND_LEAVE = 0x024A, + + /// Corresponds to WM_POINTERUP. + + COREWEBVIEW2_POINTER_EVENT_KIND_UP = 0x0247, + + /// Corresponds to WM_POINTERUPDATE. + + COREWEBVIEW2_POINTER_EVENT_KIND_UPDATE = 0x0245, +} COREWEBVIEW2_POINTER_EVENT_KIND; + +/// Mode for how the Bounds property is interpreted in relation to the RasterizationScale property. +[v1_enum] +typedef enum COREWEBVIEW2_BOUNDS_MODE { + + /// Bounds property represents raw pixels. Physical size of Webview is not impacted by RasterizationScale. + + COREWEBVIEW2_BOUNDS_MODE_USE_RAW_PIXELS, + + /// Bounds property represents logical pixels and the RasterizationScale property is used to get the physical size of the WebView. + + COREWEBVIEW2_BOUNDS_MODE_USE_RASTERIZATION_SCALE, +} COREWEBVIEW2_BOUNDS_MODE; + +/// Specifies the client certificate kind. +[v1_enum] typedef enum COREWEBVIEW2_CLIENT_CERTIFICATE_KIND { + /// Specifies smart card certificate. + COREWEBVIEW2_CLIENT_CERTIFICATE_KIND_SMART_CARD, + /// Specifies PIN certificate. + COREWEBVIEW2_CLIENT_CERTIFICATE_KIND_PIN, + /// Specifies other certificate. + COREWEBVIEW2_CLIENT_CERTIFICATE_KIND_OTHER, +} COREWEBVIEW2_CLIENT_CERTIFICATE_KIND; + +/// State of the download operation. +[v1_enum] +typedef enum COREWEBVIEW2_DOWNLOAD_STATE { + /// The download is in progress. + COREWEBVIEW2_DOWNLOAD_STATE_IN_PROGRESS, + /// The connection with the file host was broken. The `InterruptReason` property + /// can be accessed from `ICoreWebView2DownloadOperation`. See + /// `COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON` for descriptions of kinds of + /// interrupt reasons. Host can check whether an interrupted download can be + /// resumed with the `CanResume` property on the `ICoreWebView2DownloadOperation`. + /// Once resumed, a download is in the `COREWEBVIEW2_DOWNLOAD_STATE_IN_PROGRESS` state. + COREWEBVIEW2_DOWNLOAD_STATE_INTERRUPTED, + /// The download completed successfully. + COREWEBVIEW2_DOWNLOAD_STATE_COMPLETED, +} COREWEBVIEW2_DOWNLOAD_STATE; + +/// Reason why a download was interrupted. +[v1_enum] +typedef enum COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON { + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_NONE, + + /// Generic file error. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_FILE_FAILED, + /// Access denied due to security restrictions. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_FILE_ACCESS_DENIED, + /// Disk full. User should free some space or choose a different location to + /// store the file. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_FILE_NO_SPACE, + /// Result file path with file name is too long. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_FILE_NAME_TOO_LONG, + /// File is too large for file system. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_FILE_TOO_LARGE, + /// Microsoft Defender Smartscreen detected a virus in the file. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_FILE_MALICIOUS, + /// File was in use, too many files opened, or out of memory. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_FILE_TRANSIENT_ERROR, + /// File blocked by local policy. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_FILE_BLOCKED_BY_POLICY, + /// Security check failed unexpectedly. Microsoft Defender SmartScreen could + /// not scan this file. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_FILE_SECURITY_CHECK_FAILED, + /// Seeking past the end of a file in opening a file, as part of resuming an + /// interrupted download. The file did not exist or was not as large as + /// expected. Partially downloaded file was truncated or deleted, and download + /// will be restarted automatically. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_FILE_TOO_SHORT, + /// Partial file did not match the expected hash and was deleted. Download + /// will be restarted automatically. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_FILE_HASH_MISMATCH, + + /// Generic network error. User can retry the download manually. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_NETWORK_FAILED, + /// Network operation timed out. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_NETWORK_TIMEOUT, + /// Network connection lost. User can retry the download manually. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_NETWORK_DISCONNECTED, + /// Server has gone down. User can retry the download manually. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_NETWORK_SERVER_DOWN, + /// Network request invalid because original or redirected URI is invalid, has + /// an unsupported scheme, or is disallowed by network policy. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_NETWORK_INVALID_REQUEST, + + /// Generic server error. User can retry the download manually. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_SERVER_FAILED, + /// Server does not support range requests. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_SERVER_NO_RANGE, + /// Server does not have the requested data. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_SERVER_BAD_CONTENT, + /// Server did not authorize access to resource. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_SERVER_UNAUTHORIZED, + /// Server certificate problem. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_SERVER_CERTIFICATE_PROBLEM, + /// Server access forbidden. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_SERVER_FORBIDDEN, + /// Unexpected server response. Responding server may not be intended server. + /// User can retry the download manually. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_SERVER_UNEXPECTED_RESPONSE, + /// Server sent fewer bytes than the Content-Length header. Content-length + /// header may be invalid or connection may have closed. Download is treated + /// as complete unless there are + /// [strong validators](https://tools.ietf.org/html/rfc7232#section-2) present + /// to interrupt the download. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_SERVER_CONTENT_LENGTH_MISMATCH, + /// Unexpected cross-origin redirect. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_SERVER_CROSS_ORIGIN_REDIRECT, + + /// User canceled the download. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_USER_CANCELED, + /// User shut down the WebView. Resuming downloads that were interrupted + /// during shutdown is not yet supported. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_USER_SHUTDOWN, + /// User paused the download. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_USER_PAUSED, + + /// WebView crashed. + COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_DOWNLOAD_PROCESS_CRASHED, +} COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON; + +/// The orientation for printing, used by the `Orientation` property on +/// `ICoreWebView2PrintSettings`. Currently only printing to PDF is supported. +[v1_enum] +typedef enum COREWEBVIEW2_PRINT_ORIENTATION { + /// Print the page(s) in portrait orientation. + COREWEBVIEW2_PRINT_ORIENTATION_PORTRAIT, + + /// Print the page(s) in landscape orientation. + COREWEBVIEW2_PRINT_ORIENTATION_LANDSCAPE, +} COREWEBVIEW2_PRINT_ORIENTATION; + +/// The default download dialog can be aligned to any of the WebView corners +/// by setting the `DefaultDownloadDialogCornerAlignment` property. The default +/// position is top-right corner. +[v1_enum] +typedef enum COREWEBVIEW2_DEFAULT_DOWNLOAD_DIALOG_CORNER_ALIGNMENT { + + /// Top-left corner of the WebView. + COREWEBVIEW2_DEFAULT_DOWNLOAD_DIALOG_CORNER_ALIGNMENT_TOP_LEFT, + + /// Top-right corner of the WebView. + COREWEBVIEW2_DEFAULT_DOWNLOAD_DIALOG_CORNER_ALIGNMENT_TOP_RIGHT, + + /// Bottom-left corner of the WebView. + COREWEBVIEW2_DEFAULT_DOWNLOAD_DIALOG_CORNER_ALIGNMENT_BOTTOM_LEFT, + + /// Bottom-right corner of the WebView. + COREWEBVIEW2_DEFAULT_DOWNLOAD_DIALOG_CORNER_ALIGNMENT_BOTTOM_RIGHT, + +} COREWEBVIEW2_DEFAULT_DOWNLOAD_DIALOG_CORNER_ALIGNMENT; + +/// Indicates the process type used in the ICoreWebView2ProcessInfo interface. +[v1_enum] +typedef enum COREWEBVIEW2_PROCESS_KIND { + /// Indicates the browser process kind. + COREWEBVIEW2_PROCESS_KIND_BROWSER, + + /// Indicates the render process kind. + COREWEBVIEW2_PROCESS_KIND_RENDERER, + + /// Indicates the utility process kind. + COREWEBVIEW2_PROCESS_KIND_UTILITY, + + /// Indicates the sandbox helper process kind. + COREWEBVIEW2_PROCESS_KIND_SANDBOX_HELPER, + + /// Indicates the GPU process kind. + COREWEBVIEW2_PROCESS_KIND_GPU, + + /// Indicates the PPAPI plugin process kind. + COREWEBVIEW2_PROCESS_KIND_PPAPI_PLUGIN, + + /// Indicates the PPAPI plugin broker process kind. + COREWEBVIEW2_PROCESS_KIND_PPAPI_BROKER, +} COREWEBVIEW2_PROCESS_KIND; + +// PDF toolbar item. This enum must be in sync with ToolBarItem in pdf-store-data-types.ts +/// Specifies the PDF toolbar item types used for the `ICoreWebView2Settings::put_HiddenPdfToolbarItems` method. +[v1_enum] +typedef enum COREWEBVIEW2_PDF_TOOLBAR_ITEMS { + + /// No item + COREWEBVIEW2_PDF_TOOLBAR_ITEMS_NONE = 0x0, + + /// The save button + COREWEBVIEW2_PDF_TOOLBAR_ITEMS_SAVE = 0x0001, + + /// The print button + COREWEBVIEW2_PDF_TOOLBAR_ITEMS_PRINT = 0x0002, + + /// The save as button + COREWEBVIEW2_PDF_TOOLBAR_ITEMS_SAVE_AS = 0x0004, + + /// The zoom in button + COREWEBVIEW2_PDF_TOOLBAR_ITEMS_ZOOM_IN = 0x0008, + + /// The zoom out button + COREWEBVIEW2_PDF_TOOLBAR_ITEMS_ZOOM_OUT = 0x0010, + + /// The rotate button + COREWEBVIEW2_PDF_TOOLBAR_ITEMS_ROTATE = 0x0020, + + /// The fit page button + COREWEBVIEW2_PDF_TOOLBAR_ITEMS_FIT_PAGE = 0x0040, + + /// The page layout button + COREWEBVIEW2_PDF_TOOLBAR_ITEMS_PAGE_LAYOUT = 0x0080, + + /// The bookmarks button + COREWEBVIEW2_PDF_TOOLBAR_ITEMS_BOOKMARKS = 0x0100, + + /// The page select button + COREWEBVIEW2_PDF_TOOLBAR_ITEMS_PAGE_SELECTOR = 0x0200, + + /// The search button + COREWEBVIEW2_PDF_TOOLBAR_ITEMS_SEARCH = 0x0400, + + /// The full screen button + COREWEBVIEW2_PDF_TOOLBAR_ITEMS_FULL_SCREEN = 0x0800, + + /// The more settings button + COREWEBVIEW2_PDF_TOOLBAR_ITEMS_MORE_SETTINGS = 0x1000, + +} COREWEBVIEW2_PDF_TOOLBAR_ITEMS; +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(COREWEBVIEW2_PDF_TOOLBAR_ITEMS)") + +/// Indicates the kind of context for which the context menu was created +/// for the `ICoreWebView2ContextMenuTarget::get_Kind` method. +/// This enum will always represent the active element that caused the context menu request. +/// If there is a selection with multiple images, audio and text, for example, the element that +/// the end user right clicks on within this selection will be the option represented by this enum. +[v1_enum] +typedef enum COREWEBVIEW2_CONTEXT_MENU_TARGET_KIND { + /// Indicates that the context menu was created for the page without any additional content. + COREWEBVIEW2_CONTEXT_MENU_TARGET_KIND_PAGE, + + /// Indicates that the context menu was created for an image element. + COREWEBVIEW2_CONTEXT_MENU_TARGET_KIND_IMAGE, + + /// Indicates that the context menu was created for selected text. + COREWEBVIEW2_CONTEXT_MENU_TARGET_KIND_SELECTED_TEXT, + + /// Indicates that the context menu was created for an audio element. + COREWEBVIEW2_CONTEXT_MENU_TARGET_KIND_AUDIO, + + /// Indicates that the context menu was created for a video element. + COREWEBVIEW2_CONTEXT_MENU_TARGET_KIND_VIDEO, +} COREWEBVIEW2_CONTEXT_MENU_TARGET_KIND; + +/// Specifies the menu item kind +/// for the `ICoreWebView2ContextMenuItem::get_Kind` method +[v1_enum] +typedef enum COREWEBVIEW2_CONTEXT_MENU_ITEM_KIND { + /// Specifies a command menu item kind. + COREWEBVIEW2_CONTEXT_MENU_ITEM_KIND_COMMAND, + + /// Specifies a check box menu item kind. `ContextMenuItem` objects of this kind + /// will need the `IsChecked` property to determine current state of the check box. + COREWEBVIEW2_CONTEXT_MENU_ITEM_KIND_CHECK_BOX, + + /// Specifies a radio button menu item kind. `ContextMenuItem` objects of this kind + /// will need the `IsChecked` property to determine current state of the radio button. + COREWEBVIEW2_CONTEXT_MENU_ITEM_KIND_RADIO, + + /// Specifies a separator menu item kind. `ContextMenuItem` objects of this kind + /// are used to signal a visual separator with no functionality. + COREWEBVIEW2_CONTEXT_MENU_ITEM_KIND_SEPARATOR, + + /// Specifies a submenu menu item kind. `ContextMenuItem` objects of this kind will contain + /// a `ContextMenuItemCollection` of its children `ContextMenuItem` objects. + COREWEBVIEW2_CONTEXT_MENU_ITEM_KIND_SUBMENU, +} COREWEBVIEW2_CONTEXT_MENU_ITEM_KIND; + +/// An enum to represent the options for WebView2 color scheme: auto, light, or dark. +[v1_enum] +typedef enum COREWEBVIEW2_PREFERRED_COLOR_SCHEME { + /// Auto color scheme. + COREWEBVIEW2_PREFERRED_COLOR_SCHEME_AUTO, + + /// Light color scheme. + COREWEBVIEW2_PREFERRED_COLOR_SCHEME_LIGHT, + + /// Dark color scheme. + COREWEBVIEW2_PREFERRED_COLOR_SCHEME_DARK +} COREWEBVIEW2_PREFERRED_COLOR_SCHEME; + +/// Specifies the datatype for the +/// `ICoreWebView2Profile2::ClearBrowsingData` method. +[v1_enum] +typedef enum COREWEBVIEW2_BROWSING_DATA_KINDS { + + /// Specifies file systems data. + COREWEBVIEW2_BROWSING_DATA_KINDS_FILE_SYSTEMS = 1 << 0, + + /// Specifies data stored by the IndexedDB DOM feature. + COREWEBVIEW2_BROWSING_DATA_KINDS_INDEXED_DB = 1 << 1, + + /// Specifies data stored by the localStorage DOM API. + COREWEBVIEW2_BROWSING_DATA_KINDS_LOCAL_STORAGE = 1 << 2, + + /// Specifies data stored by the Web SQL database DOM API. + COREWEBVIEW2_BROWSING_DATA_KINDS_WEB_SQL = 1 << 3, + + /// Specifies data stored by the CacheStorage DOM API. + COREWEBVIEW2_BROWSING_DATA_KINDS_CACHE_STORAGE = 1 << 4, + + /// Specifies DOM storage data, now and future. This browsing data kind is + /// inclusive of COREWEBVIEW2_BROWSING_DATA_KINDS_FILE_SYSTEMS, + /// COREWEBVIEW2_BROWSING_DATA_KINDS_INDEXED_DB, + /// COREWEBVIEW2_BROWSING_DATA_KINDS_LOCAL_STORAGE, + /// COREWEBVIEW2_BROWSING_DATA_KINDS_WEB_SQL, + /// COREWEBVIEW2_BROWSING_DATA_KINDS_CACHE_STORAGE. + /// New DOM storage data types may be added to this data kind in the future. + COREWEBVIEW2_BROWSING_DATA_KINDS_ALL_DOM_STORAGE = 1 << 5, + + /// Specifies HTTP cookies data. + COREWEBVIEW2_BROWSING_DATA_KINDS_COOKIES = 1 << 6, + + /// Specifies all site data, now and future. This browsing data kind + /// is inclusive of COREWEBVIEW2_BROWSING_DATA_KINDS_ALL_DOM_STORAGE and + /// COREWEBVIEW2_BROWSING_DATA_KINDS_COOKIES. New site data types + /// may be added to this data kind in the future. + COREWEBVIEW2_BROWSING_DATA_KINDS_ALL_SITE = 1 << 7, + + /// Specifies disk cache. + COREWEBVIEW2_BROWSING_DATA_KINDS_DISK_CACHE = 1 << 8, + + /// Specifies download history data. + COREWEBVIEW2_BROWSING_DATA_KINDS_DOWNLOAD_HISTORY = 1 << 9, + + /// Specifies general autofill form data. + /// This excludes password information and includes information like: + /// names, street and email addresses, phone numbers, and arbitrary input. + /// This also includes payment data. + COREWEBVIEW2_BROWSING_DATA_KINDS_GENERAL_AUTOFILL = 1 << 10, + + /// Specifies password autosave data. + COREWEBVIEW2_BROWSING_DATA_KINDS_PASSWORD_AUTOSAVE = 1 << 11, + + /// Specifies browsing history data. + COREWEBVIEW2_BROWSING_DATA_KINDS_BROWSING_HISTORY = 1 << 12, + + /// Specifies settings data. + COREWEBVIEW2_BROWSING_DATA_KINDS_SETTINGS = 1 << 13, + + /// Specifies profile data that should be wiped to make it look like a new profile. + /// This does not delete account-scoped data like passwords but will remove access + /// to account-scoped data by signing the user out. + /// Specifies all profile data, now and future. New profile data types may be added + /// to this data kind in the future. + /// This browsing data kind is inclusive of COREWEBVIEW2_BROWSING_DATA_KINDS_ALL_SITE, + /// COREWEBVIEW2_BROWSING_DATA_KINDS_DISK_CACHE, + /// COREWEBVIEW2_BROWSING_DATA_KINDS_DOWNLOAD_HISTORY, + /// COREWEBVIEW2_BROWSING_DATA_KINDS_GENERAL_AUTOFILL, + /// COREWEBVIEW2_BROWSING_DATA_KINDS_PASSWORD_AUTOSAVE, + /// COREWEBVIEW2_BROWSING_DATA_KINDS_BROWSING_HISTORY, and + /// COREWEBVIEW2_BROWSING_DATA_KINDS_SETTINGS. + COREWEBVIEW2_BROWSING_DATA_KINDS_ALL_PROFILE = 1 << 14, +} COREWEBVIEW2_BROWSING_DATA_KINDS; +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(COREWEBVIEW2_BROWSING_DATA_KINDS)") + +/// Specifies the action type when server certificate error is detected to be +/// used in the `ICoreWebView2ServerCertificateErrorDetectedEventArgs` +/// interface. +[v1_enum] typedef enum COREWEBVIEW2_SERVER_CERTIFICATE_ERROR_ACTION { + /// Indicates to ignore the warning and continue the request with the TLS + /// certificate. This decision is cached for the RequestUri's host and the + /// server certificate in the session. + COREWEBVIEW2_SERVER_CERTIFICATE_ERROR_ACTION_ALWAYS_ALLOW, + + /// Indicates to reject the certificate and cancel the request. + COREWEBVIEW2_SERVER_CERTIFICATE_ERROR_ACTION_CANCEL, + + /// Indicates to display the default TLS interstitial error page to user for + /// page navigations. + /// For others TLS certificate is rejected and the request is cancelled. + COREWEBVIEW2_SERVER_CERTIFICATE_ERROR_ACTION_DEFAULT +} COREWEBVIEW2_SERVER_CERTIFICATE_ERROR_ACTION; + +/// Specifies the image format to use for favicon. +[v1_enum] +typedef enum COREWEBVIEW2_FAVICON_IMAGE_FORMAT { + /// Indicates that the PNG image format is used. + COREWEBVIEW2_FAVICON_IMAGE_FORMAT_PNG, + + /// Indicates the JPEG image format is used. + COREWEBVIEW2_FAVICON_IMAGE_FORMAT_JPEG, +} COREWEBVIEW2_FAVICON_IMAGE_FORMAT; + +/// Specifies the print dialog kind. +[v1_enum] typedef enum COREWEBVIEW2_PRINT_DIALOG_KIND { + /// Opens the browser print preview dialog. + COREWEBVIEW2_PRINT_DIALOG_KIND_BROWSER, + + /// Opens the system print dialog. + COREWEBVIEW2_PRINT_DIALOG_KIND_SYSTEM, + +} COREWEBVIEW2_PRINT_DIALOG_KIND; + +/// Specifies the duplex option for a print. +[v1_enum] typedef enum COREWEBVIEW2_PRINT_DUPLEX { + /// The default duplex for a printer. + COREWEBVIEW2_PRINT_DUPLEX_DEFAULT, + + /// Print on only one side of the sheet. + COREWEBVIEW2_PRINT_DUPLEX_ONE_SIDED, + + /// Print on both sides of the sheet, flipped along the long edge. + COREWEBVIEW2_PRINT_DUPLEX_TWO_SIDED_LONG_EDGE, + + /// Print on both sides of the sheet, flipped along the short edge. + COREWEBVIEW2_PRINT_DUPLEX_TWO_SIDED_SHORT_EDGE, + +} COREWEBVIEW2_PRINT_DUPLEX; + +/// Specifies the color mode for a print. +[v1_enum] typedef enum COREWEBVIEW2_PRINT_COLOR_MODE { + /// The default color mode for a printer. + COREWEBVIEW2_PRINT_COLOR_MODE_DEFAULT, + + /// Indicate that the printed output will be in color. + COREWEBVIEW2_PRINT_COLOR_MODE_COLOR, + + /// Indicate that the printed output will be in shades of gray. + COREWEBVIEW2_PRINT_COLOR_MODE_GRAYSCALE, + +} COREWEBVIEW2_PRINT_COLOR_MODE; + +/// Specifies the collation for a print. +[v1_enum] typedef enum COREWEBVIEW2_PRINT_COLLATION { + /// The default collation for a printer. + COREWEBVIEW2_PRINT_COLLATION_DEFAULT, + + /// Indicate that the collation has been selected for the printed output. + COREWEBVIEW2_PRINT_COLLATION_COLLATED, + + /// Indicate that the collation has not been selected for the printed output. + COREWEBVIEW2_PRINT_COLLATION_UNCOLLATED, + +} COREWEBVIEW2_PRINT_COLLATION; + +/// Specifies the media size for a print. +[v1_enum] typedef enum COREWEBVIEW2_PRINT_MEDIA_SIZE { + /// The default media size for a printer. + COREWEBVIEW2_PRINT_MEDIA_SIZE_DEFAULT, + + /// Indicate custom media size that is specific to the printer. + COREWEBVIEW2_PRINT_MEDIA_SIZE_CUSTOM, + +} COREWEBVIEW2_PRINT_MEDIA_SIZE; + +/// Indicates the status for printing. +[v1_enum] typedef enum COREWEBVIEW2_PRINT_STATUS { + /// Indicates that the print operation is succeeded. + COREWEBVIEW2_PRINT_STATUS_SUCCEEDED, + + /// Indicates that the printer is not available. + COREWEBVIEW2_PRINT_STATUS_PRINTER_UNAVAILABLE, + + /// Indicates that the print operation is failed. + COREWEBVIEW2_PRINT_STATUS_OTHER_ERROR, + +} COREWEBVIEW2_PRINT_STATUS; + +/// Tracking prevention levels. +[v1_enum] typedef enum COREWEBVIEW2_TRACKING_PREVENTION_LEVEL { + /// Tracking prevention is turned off. + COREWEBVIEW2_TRACKING_PREVENTION_LEVEL_NONE, + /// The least restrictive level of tracking prevention. Set to this level to + /// protect against malicious trackers but allows most other trackers and + /// personalize content and ads. + /// + /// See [Current tracking prevention + /// behavior](/microsoft-edge/web-platform/tracking-prevention#current-tracking-prevention-behavior) + /// for fine-grained information on what is being blocked with this level and + /// can change with different Edge versions. + COREWEBVIEW2_TRACKING_PREVENTION_LEVEL_BASIC, + /// The default level of tracking prevention. Set to this level to + /// protect against social media tracking on top of malicious trackers. + /// Content and ads will likely be less personalized. + /// + /// See [Current tracking prevention + /// behavior](/microsoft-edge/web-platform/tracking-prevention#current-tracking-prevention-behavior) + /// for fine-grained information on what is being blocked with this level and + /// can change with different Edge versions. + COREWEBVIEW2_TRACKING_PREVENTION_LEVEL_BALANCED, + /// The most restrictive level of tracking prevention. Set to this level to + /// protect + /// against malicious trackers and most trackers across sites. Content and ads + /// will likely have minimal personalization. + /// + /// This level blocks the most trackers but could cause some websites to not + /// behave as expected. + /// + /// See [Current tracking prevention + /// behavior](/microsoft-edge/web-platform/tracking-prevention#current-tracking-prevention-behavior) + /// for fine-grained information on what is being blocked with this level and + /// can change with different Edge versions. + COREWEBVIEW2_TRACKING_PREVENTION_LEVEL_STRICT, +} COREWEBVIEW2_TRACKING_PREVENTION_LEVEL; + +/// Specifies the desired access from script to `CoreWebView2SharedBuffer`. +[v1_enum] +typedef enum COREWEBVIEW2_SHARED_BUFFER_ACCESS { + /// Script from web page only has read access to the shared buffer. + COREWEBVIEW2_SHARED_BUFFER_ACCESS_READ_ONLY, + + /// Script from web page has read and write access to the shared buffer. + COREWEBVIEW2_SHARED_BUFFER_ACCESS_READ_WRITE + +} COREWEBVIEW2_SHARED_BUFFER_ACCESS ; + +/// Specifies memory usage target level of WebView. +[v1_enum] +typedef enum COREWEBVIEW2_MEMORY_USAGE_TARGET_LEVEL { + /// Specifies normal memory usage target level. + COREWEBVIEW2_MEMORY_USAGE_TARGET_LEVEL_NORMAL, + + /// Specifies low memory usage target level. + /// Used for inactivate WebView for reduced memory consumption. + COREWEBVIEW2_MEMORY_USAGE_TARGET_LEVEL_LOW, + +} COREWEBVIEW2_MEMORY_USAGE_TARGET_LEVEL; + +// End of enums and structs + +/// WebView2 enables you to host web content using the latest Microsoft Edge +/// browser and web technology. + +[uuid(76eceacb-0462-4d94-ac83-423a6793775e), object, pointer_default(unique)] +interface ICoreWebView2 : IUnknown { + + /// The `ICoreWebView2Settings` object contains various modifiable settings + /// for the running WebView. + + [propget] HRESULT Settings([out, retval] ICoreWebView2Settings** settings); + + /// The URI of the current top level document. This value potentially + /// changes as a part of the `SourceChanged` event that runs for some cases + /// such as navigating to a different site or fragment navigations. It + /// remains the same for other types of navigations such as page refreshes + /// or `history.pushState` with the same URL as the current page. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + /// + /// \snippet ControlComponent.cpp SourceChanged + [propget] HRESULT Source([out, retval] LPWSTR* uri); + + /// Cause a navigation of the top-level document to run to the specified URI. + /// For more information, navigate to [Navigation + /// events](/microsoft-edge/webview2/concepts/navigation-events). + /// + /// \> [!NOTE]\n\> This operation starts a navigation and the corresponding + /// `NavigationStarting` event triggers sometime after `Navigate` runs. + /// + /// \snippet ControlComponent.cpp Navigate + HRESULT Navigate([in] LPCWSTR uri); + + /// Initiates a navigation to htmlContent as source HTML of a new document. + /// The `htmlContent` parameter may not be larger than 2 MB (2 * 1024 * 1024 bytes) in total size. + /// The origin of the new page is `about:blank`. + /// + /// ```cpp + /// SetVirtualHostNameToFolderMapping( + /// L"appassets.example", L"assets", + /// COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND_DENY); + /// + /// WCHAR c_navString[] = LR" + /// + /// + /// + ///

Click me

+ /// "; + /// m_webView->NavigateToString(c_navString); + /// ``` + /// \snippet SettingsComponent.cpp NavigateToString + HRESULT NavigateToString([in] LPCWSTR htmlContent); + + /// Add an event handler for the `NavigationStarting` event. + /// `NavigationStarting` runs when the WebView main frame is requesting + /// permission to navigate to a different URI. Redirects trigger this + /// operation as well, and the navigation id is the same as the original + /// one. + /// + /// Navigations will be blocked until all `NavigationStarting` event handlers + /// return. + /// + /// \snippet SettingsComponent.cpp NavigationStarting + HRESULT add_NavigationStarting( + [in] ICoreWebView2NavigationStartingEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_NavigationStarting`. + HRESULT remove_NavigationStarting( + [in] EventRegistrationToken token); + + /// Add an event handler for the `ContentLoading` event. `ContentLoading` + /// triggers before any content is loaded, including scripts added with + /// `AddScriptToExecuteOnDocumentCreated`. `ContentLoading` does not trigger + /// if a same page navigation occurs (such as through `fragment` + /// navigations or `history.pushState` navigations). This operation + /// follows the `NavigationStarting` and `SourceChanged` events and precedes + /// the `HistoryChanged` and `NavigationCompleted` events. + HRESULT add_ContentLoading( + [in] ICoreWebView2ContentLoadingEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_ContentLoading`. + HRESULT remove_ContentLoading( + [in] EventRegistrationToken token); + + /// Add an event handler for the `SourceChanged` event. `SourceChanged` + /// triggers when the `Source` property changes. `SourceChanged` runs when + /// navigating to a different site or fragment navigations. It does not + /// trigger for other types of navigations such as page refreshes or + /// `history.pushState` with the same URL as the current page. + /// `SourceChanged` runs before `ContentLoading` for navigation to a new + /// document. + /// + /// \snippet ControlComponent.cpp SourceChanged + HRESULT add_SourceChanged( + [in] ICoreWebView2SourceChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_SourceChanged`. + HRESULT remove_SourceChanged( + [in] EventRegistrationToken token); + + /// Add an event handler for the `HistoryChanged` event. `HistoryChanged` is + /// raised for changes to joint session history, which consists of top-level + /// and manual frame navigations. Use `HistoryChanged` to verify that the + /// `CanGoBack` or `CanGoForward` value has changed. `HistoryChanged` also + /// runs for using `GoBack` or `GoForward`. `HistoryChanged` runs after + /// `SourceChanged` and `ContentLoading`. `CanGoBack` is false for + /// navigations initiated through ICoreWebView2Frame APIs if there has not yet + /// been a user gesture. + /// + /// \snippet ControlComponent.cpp HistoryChanged + HRESULT add_HistoryChanged( + [in] ICoreWebView2HistoryChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_HistoryChanged`. + HRESULT remove_HistoryChanged( + [in] EventRegistrationToken token); + + /// Add an event handler for the `NavigationCompleted` event. + /// `NavigationCompleted` runs when the WebView has completely loaded + /// (concurrently when `body.onload` runs) or loading stopped with error. + /// + /// \snippet ControlComponent.cpp NavigationCompleted + HRESULT add_NavigationCompleted( + [in] ICoreWebView2NavigationCompletedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_NavigationCompleted`. + HRESULT remove_NavigationCompleted( + [in] EventRegistrationToken token); + + /// Add an event handler for the `FrameNavigationStarting` event. + /// `FrameNavigationStarting` triggers when a child frame in the WebView + /// requests permission to navigate to a different URI. Redirects trigger + /// this operation as well, and the navigation id is the same as the original + /// one. + /// + /// Navigations will be blocked until all `FrameNavigationStarting` event + /// handlers return. + /// + /// \snippet SettingsComponent.cpp FrameNavigationStarting + HRESULT add_FrameNavigationStarting( + [in] ICoreWebView2NavigationStartingEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with + /// `add_FrameNavigationStarting`. + HRESULT remove_FrameNavigationStarting( + [in] EventRegistrationToken token); + + /// Add an event handler for the `FrameNavigationCompleted` event. + /// `FrameNavigationCompleted` triggers when a child frame has completely + /// loaded (concurrently when `body.onload` has triggered) or loading stopped with error. + /// + /// \snippet ControlComponent.cpp FrameNavigationCompleted + HRESULT add_FrameNavigationCompleted( + [in] ICoreWebView2NavigationCompletedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with + /// `add_FrameNavigationCompleted`. + HRESULT remove_FrameNavigationCompleted( + [in] EventRegistrationToken token); + + /// Add an event handler for the `ScriptDialogOpening` event. + /// `ScriptDialogOpening` runs when a JavaScript dialog (`alert`, `confirm`, + /// `prompt`, or `beforeunload`) displays for the webview. This event only + /// triggers if the `ICoreWebView2Settings::AreDefaultScriptDialogsEnabled` + /// property is set to `FALSE`. The `ScriptDialogOpening` event suppresses + /// dialogs or replaces default dialogs with custom dialogs. + /// + /// If a deferral is not taken on the event args, the subsequent scripts are + /// blocked until the event handler returns. If a deferral is taken, the + /// scripts are blocked until the deferral is completed. + /// + /// \snippet SettingsComponent.cpp ScriptDialogOpening + HRESULT add_ScriptDialogOpening( + [in] ICoreWebView2ScriptDialogOpeningEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_ScriptDialogOpening`. + HRESULT remove_ScriptDialogOpening( + [in] EventRegistrationToken token); + + /// Add an event handler for the `PermissionRequested` event. + /// `PermissionRequested` runs when content in a WebView requests permission + /// to access some privileged resources. + /// + /// If a deferral is not taken on the event args, the subsequent scripts are + /// blocked until the event handler returns. If a deferral is taken, the + /// scripts are blocked until the deferral is completed. + /// + /// \snippet SettingsComponent.cpp PermissionRequested0 + /// \snippet SettingsComponent.cpp PermissionRequested1 + HRESULT add_PermissionRequested( + [in] ICoreWebView2PermissionRequestedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_PermissionRequested`. + HRESULT remove_PermissionRequested( + [in] EventRegistrationToken token); + + /// Add an event handler for the `ProcessFailed` event. `ProcessFailed` runs + /// when a WebView process ends unexpectedly or becomes unresponsive. + /// + /// \snippet ProcessComponent.cpp ProcessFailed + HRESULT add_ProcessFailed( + [in] ICoreWebView2ProcessFailedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with add_ProcessFailed. + HRESULT remove_ProcessFailed( + [in] EventRegistrationToken token); + + /// Add the provided JavaScript to a list of scripts that should be run after + /// the global object has been created, but before the HTML document has + /// been parsed and before any other script included by the HTML document is + /// run. This method injects a script that runs on all top-level document + /// and child frame page navigations. This method runs asynchronously, and + /// you must wait for the completion handler to finish before the injected + /// script is ready to run. When this method completes, the `Invoke` method + /// of the handler is run with the `id` of the injected script. `id` is a + /// string. To remove the injected script, use + /// `RemoveScriptToExecuteOnDocumentCreated`. + /// + /// If the method is run in add_NewWindowRequested handler it should be called + /// before the new window is set. If called after setting the NewWindow property, the initial script + /// may or may not apply to the initial navigation and may only apply to the subsequent navigation. + /// For more details see `ICoreWebView2NewWindowRequestedEventArgs::put_NewWindow`. + /// + /// \> [!NOTE]\n\> If an HTML document is running in a sandbox of some kind using + /// [sandbox](https://developer.mozilla.org/docs/Web/HTML/Element/iframe#attr-sandbox) + /// properties or the + /// [Content-Security-Policy](https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy) + /// HTTP header affects the script that runs. For example, if the + /// `allow-modals` keyword is not set then requests to run the `alert` + /// function are ignored. + /// + /// \snippet ScriptComponent.cpp AddScriptToExecuteOnDocumentCreated + HRESULT AddScriptToExecuteOnDocumentCreated( + [in] LPCWSTR javaScript, + [in] ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler* handler); + + /// Remove the corresponding JavaScript added using + /// `AddScriptToExecuteOnDocumentCreated` with the specified script ID. The + /// script ID should be the one returned by the `AddScriptToExecuteOnDocumentCreated`. + /// Both use `AddScriptToExecuteOnDocumentCreated` and this method in `NewWindowRequested` + /// event handler at the same time sometimes causes trouble. Since invalid scripts will + /// be ignored, the script IDs you got may not be valid anymore. + HRESULT RemoveScriptToExecuteOnDocumentCreated([in] LPCWSTR id); + + /// Run JavaScript code from the javascript parameter in the current + /// top-level document rendered in the WebView. The result of evaluating + /// the provided JavaScript is used in this parameter. The result value is + /// a JSON encoded string. If the result is undefined, contains a reference + /// cycle, or otherwise is not able to be encoded into JSON, then the result + /// is considered to be null, which is encoded in JSON as the string "null". + /// + /// \> [!NOTE]\n\> A function that has no explicit return value returns undefined. If the + /// script that was run throws an unhandled exception, then the result is + /// also "null". This method is applied asynchronously. If the method is + /// run after the `NavigationStarting` event during a navigation, the script + /// runs in the new document when loading it, around the time + /// `ContentLoading` is run. This operation executes the script even if + /// `ICoreWebView2Settings::IsScriptEnabled` is set to `FALSE`. + /// + /// \snippet ScriptComponent.cpp ExecuteScript + HRESULT ExecuteScript( + [in] LPCWSTR javaScript, + [in] ICoreWebView2ExecuteScriptCompletedHandler* handler); + + /// Capture an image of what WebView is displaying. Specify the format of + /// the image with the `imageFormat` parameter. The resulting image binary + /// data is written to the provided `imageStream` parameter. When + /// `CapturePreview` finishes writing to the stream, the `Invoke` method on + /// the provided `handler` parameter is run. This method fails if called + /// before the first ContentLoading event. For example if this is called in + /// the NavigationStarting event for the first navigation it will fail. + /// For subsequent navigations, the method may not fail, but will not capture + /// an image of a given webpage until the ContentLoading event has been fired + /// for it. Any call to this method prior to that will result in a capture of + /// the page being navigated away from. + /// + /// \snippet FileComponent.cpp CapturePreview + HRESULT CapturePreview( + [in] COREWEBVIEW2_CAPTURE_PREVIEW_IMAGE_FORMAT imageFormat, + [in] IStream* imageStream, + [in] ICoreWebView2CapturePreviewCompletedHandler* handler); + + /// Reload the current page. This is similar to navigating to the URI of + /// current top level document including all navigation events firing and + /// respecting any entries in the HTTP cache. But, the back or forward + /// history are not modified. + HRESULT Reload(); + + /// Post the specified webMessage to the top level document in this WebView. + /// The main page receives the message by subscribing to the `message` event of the + /// `window.chrome.webview` of the page document. + /// + /// ```cpp + /// window.chrome.webview.addEventListener('message', handler) + /// window.chrome.webview.removeEventListener('message', handler) + /// ``` + /// + /// The event args is an instance of `MessageEvent`. The + /// `ICoreWebView2Settings::IsWebMessageEnabled` setting must be `TRUE` or + /// the web message will not be sent. The `data` property of the event + /// arg is the `webMessage` string parameter parsed as a JSON string into a + /// JavaScript object. The `source` property of the event arg is a reference + /// to the `window.chrome.webview` object. For information about sending + /// messages from the HTML document in the WebView to the host, navigate to + /// [add_WebMessageReceived](/microsoft-edge/webview2/reference/win32/icorewebview2#add_webmessagereceived). + /// The message is delivered asynchronously. If a navigation occurs before + /// the message is posted to the page, the message is discarded. + /// + /// \snippet ScenarioWebMessage.cpp WebMessageReceived + HRESULT PostWebMessageAsJson([in] LPCWSTR webMessageAsJson); + + /// Posts a message that is a simple string rather than a JSON string + /// representation of a JavaScript object. This behaves in exactly the same + /// manner as `PostWebMessageAsJson`, but the `data` property of the event + /// arg of the `window.chrome.webview` message is a string with the same + /// value as `webMessageAsString`. Use this instead of + /// `PostWebMessageAsJson` if you want to communicate using simple strings + /// rather than JSON objects. + HRESULT PostWebMessageAsString([in] LPCWSTR webMessageAsString); + + /// Add an event handler for the `WebMessageReceived` event. + /// `WebMessageReceived` runs when the + /// `ICoreWebView2Settings::IsWebMessageEnabled` setting is set and the + /// top-level document of the WebView runs + /// `window.chrome.webview.postMessage`. The `postMessage` function is + /// `void postMessage(object)` where object is any object supported by JSON + /// conversion. + /// + /// \snippet assets\ScenarioWebMessage.html chromeWebView + /// + /// When the page calls `postMessage`, the object parameter is converted to a + /// JSON string and is posted asynchronously to the host process. This will + /// result in the handler's `Invoke` method being called with the JSON string + /// as a parameter. + /// + /// \snippet ScenarioWebMessage.cpp WebMessageReceived + /// + /// If the same page calls `postMessage` multiple times, the corresponding + /// `WebMessageReceived` events are guaranteed to be fired in the same order. + /// However, if multiple frames call `postMessage`, there is no guaranteed + /// order. In addition, `WebMessageReceived` events caused by calls to + /// `postMessage` are not guaranteed to be sequenced with events caused by DOM + /// APIs. For example, if the page runs + /// + /// ```javascript + /// chrome.webview.postMessage("message"); + /// window.open(); + /// ``` + /// + /// then the `NewWindowRequested` event might be fired before the + /// `WebMessageReceived` event. If you need the `WebMessageReceived` event + /// to happen before anything else, then in the `WebMessageReceived` handler + /// you can post a message back to the page and have the page wait until it + /// receives that message before continuing. + HRESULT add_WebMessageReceived( + [in] ICoreWebView2WebMessageReceivedEventHandler* handler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_WebMessageReceived`. + HRESULT remove_WebMessageReceived( + [in] EventRegistrationToken token); + + /// Runs an asynchronous `DevToolsProtocol` method. For more information + /// about available methods, navigate to + /// [DevTools Protocol Viewer](https://chromedevtools.github.io/devtools-protocol/tot) + /// . The `methodName` parameter is the full name of the method in the + /// `{domain}.{method}` format. The `parametersAsJson` parameter is a JSON + /// formatted string containing the parameters for the corresponding method. + /// The `Invoke` method of the `handler` is run when the method + /// asynchronously completes. `Invoke` is run with the return object of the + /// method as a JSON string. This function returns E_INVALIDARG if the `methodName` is + /// unknown or the `parametersAsJson` has an error. In the case of such an error, the + /// `returnObjectAsJson` parameter of the handler will include information + /// about the error. + /// Note even though WebView2 dispatches the CDP messages in the order called, + /// CDP method calls may be processed out of order. + /// If you require CDP methods to run in a particular order, you should wait + /// for the previous method's completed handler to run before calling the + /// next method. + /// + /// \snippet ScriptComponent.cpp CallDevToolsProtocolMethod + HRESULT CallDevToolsProtocolMethod( + [in] LPCWSTR methodName, + [in] LPCWSTR parametersAsJson, + [in] ICoreWebView2CallDevToolsProtocolMethodCompletedHandler* handler); + + /// The process ID of the browser process that hosts the WebView. + [propget] HRESULT BrowserProcessId([out, retval] UINT32* value); + + /// `TRUE` if the WebView is able to navigate to a previous page in the + /// navigation history. If `CanGoBack` changes value, the `HistoryChanged` + /// event runs. + [propget] HRESULT CanGoBack([out, retval] BOOL* canGoBack); + + /// `TRUE` if the WebView is able to navigate to a next page in the + /// navigation history. If `CanGoForward` changes value, the + /// `HistoryChanged` event runs. + [propget] HRESULT CanGoForward([out, retval] BOOL* canGoForward); + + /// Navigates the WebView to the previous page in the navigation history. + HRESULT GoBack(); + + /// Navigates the WebView to the next page in the navigation history. + HRESULT GoForward(); + + /// Get a DevTools Protocol event receiver that allows you to subscribe to a + /// DevTools Protocol event. The `eventName` parameter is the full name of + /// the event in the format `{domain}.{event}`. For more information about + /// DevTools Protocol events description and event args, navigate to + /// [DevTools Protocol Viewer](https://chromedevtools.github.io/devtools-protocol/tot). + /// + /// \snippet ScriptComponent.cpp DevToolsProtocolEventReceived + HRESULT GetDevToolsProtocolEventReceiver( + [in] LPCWSTR eventName, + [out, retval] ICoreWebView2DevToolsProtocolEventReceiver** receiver); + + /// Stop all navigations and pending resource fetches. Does not stop scripts. + HRESULT Stop(); + + /// Add an event handler for the `NewWindowRequested` event. + /// `NewWindowRequested` runs when content inside the WebView requests to + /// open a new window, such as through `window.open`. The app can pass a + /// target WebView that is considered the opened window or mark the event as + /// `Handled`, in which case WebView2 does not open a window. + /// If either `Handled` or `NewWindow` properties are not set, the target + /// content will be opened on a popup window. + /// + /// If a deferral is not taken on the event args, scripts that resulted in the + /// new window that are requested are blocked until the event handler returns. + /// If a deferral is taken, then scripts are blocked until the deferral is + /// completed or new window is set. + /// + /// For more details and considerations on the target WebView to be supplied + /// at the opened window, see `ICoreWebView2NewWindowRequestedEventArgs::put_NewWindow`. + /// + /// \snippet AppWindow.cpp NewWindowRequested + HRESULT add_NewWindowRequested( + [in] ICoreWebView2NewWindowRequestedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_NewWindowRequested`. + HRESULT remove_NewWindowRequested( + [in] EventRegistrationToken token); + + /// Add an event handler for the `DocumentTitleChanged` event. + /// `DocumentTitleChanged` runs when the `DocumentTitle` property of the + /// WebView changes and may run before or after the `NavigationCompleted` + /// event. + /// + /// \snippet FileComponent.cpp DocumentTitleChanged + HRESULT add_DocumentTitleChanged( + [in] ICoreWebView2DocumentTitleChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_DocumentTitleChanged`. + HRESULT remove_DocumentTitleChanged( + [in] EventRegistrationToken token); + + /// The title for the current top-level document. If the document has no + /// explicit title or is otherwise empty, a default that may or may not match + /// the URI of the document is used. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT DocumentTitle([out, retval] LPWSTR* title); + + /// Add the provided host object to script running in the WebView with the + /// specified name. Host objects are exposed as host object proxies using + /// `window.chrome.webview.hostObjects.{name}`. Host object proxies are + /// promises and resolves to an object representing the host object. The + /// promise is rejected if the app has not added an object with the name. + /// When JavaScript code access a property or method of the object, a promise + /// is return, which resolves to the value returned from the host for the + /// property or method, or rejected in case of error, for example, no + /// property or method on the object or parameters are not valid. + /// + /// \> [!NOTE]\n\> While simple types, `IDispatch` and array are supported, and + /// `IUnknown` objects that also implement `IDispatch` are treated as `IDispatch`, + /// generic `IUnknown`, `VT_DECIMAL`, or `VT_RECORD` variant is not supported. + /// Remote JavaScript objects like callback functions are represented as an + /// `VT_DISPATCH` `VARIANT` with the object implementing `IDispatch`. The + /// JavaScript callback method may be invoked using `DISPID_VALUE` for the + /// `DISPID`. Nested arrays are supported up to a depth of 3. Arrays of by + /// reference types are not supported. `VT_EMPTY` and `VT_NULL` are mapped + /// into JavaScript as `null`. In JavaScript, `null` and undefined are + /// mapped to `VT_EMPTY`. + /// + /// Additionally, all host objects are exposed as + /// `window.chrome.webview.hostObjects.sync.{name}`. Here the host objects + /// are exposed as synchronous host object proxies. These are not promises + /// and function runtimes or property access synchronously block running + /// script waiting to communicate cross process for the host code to run. + /// Accordingly the result may have reliability issues and it is recommended + /// that you use the promise-based asynchronous + /// `window.chrome.webview.hostObjects.{name}` API. + /// + /// Synchronous host object proxies and asynchronous host object proxies may + /// both use a proxy to the same host object. Remote changes made by one + /// proxy propagates to any other proxy of that same host object whether + /// the other proxies and synchronous or asynchronous. + /// + /// While JavaScript is blocked on a synchronous run to native code, that + /// native code is unable to run back to JavaScript. Attempts to do so fail + /// with `HRESULT_FROM_WIN32(ERROR_POSSIBLE_DEADLOCK)`. + /// + /// Host object proxies are JavaScript Proxy objects that intercept all + /// property get, property set, and method invocations. Properties or methods + /// that are a part of the Function or Object prototype are run locally. + /// Additionally any property or method in the + /// `chrome.webview.hostObjects.options.forceLocalProperties` + /// array are also run locally. This defaults to including optional methods + /// that have meaning in JavaScript like `toJSON` and `Symbol.toPrimitive`. + /// Add more to the array as required. + /// + /// The `chrome.webview.hostObjects.cleanupSome` method performs a best + /// effort garbage collection on host object proxies. + /// + /// The `chrome.webview.hostObjects.options` object provides the ability to + /// change some functionality of host objects. + /// + /// Options property | Details + /// ---|--- + /// `forceLocalProperties` | This is an array of host object property names that will be run locally, instead of being called on the native host object. This defaults to `then`, `toJSON`, `Symbol.toString`, and `Symbol.toPrimitive`. You can add other properties to specify that they should be run locally on the javascript host object proxy. + /// `log` | This is a callback that will be called with debug information. For example, you can set this to `console.log.bind(console)` to have it print debug information to the console to help when troubleshooting host object usage. By default this is null. + /// `shouldSerializeDates` | By default this is false, and javascript Date objects will be sent to host objects as a string using `JSON.stringify`. You can set this property to true to have Date objects properly serialize as a `VT_DATE` when sending to the native host object, and have `VT_DATE` properties and return values create a javascript Date object. + /// `defaultSyncProxy` | When calling a method on a synchronous proxy, the result should also be a synchronous proxy. But in some cases, the sync/async context is lost (for example, when providing to native code a reference to a function, and then calling that function in native code). In these cases, the proxy will be asynchronous, unless this property is set. + /// `forceAsyncMethodMatches ` | This is an array of regular expressions. When calling a method on a synchronous proxy, the method call will be performed asynchronously if the method name matches a string or regular expression in this array. Setting this value to `Async` will make any method that ends with Async be an asynchronous method call. If an async method doesn't match here and isn't forced to be asynchronous, the method will be invoked synchronously, blocking execution of the calling JavaScript and then returning the resolution of the promise, rather than returning a promise. + /// `ignoreMemberNotFoundError` | By default, an exception is thrown when attempting to get the value of a proxy property that doesn't exist on the corresponding native class. Setting this property to `true` switches the behavior to match Chakra WinRT projection (and general JavaScript) behavior of returning `undefined` with no error. + /// + /// Host object proxies additionally have the following methods which run + /// locally. + /// + /// Method name | Details + /// ---|--- + ///`applyHostFunction`, `getHostProperty`, `setHostProperty` | Perform a method invocation, property get, or property set on the host object. Use the methods to explicitly force a method or property to run remotely if a conflicting local method or property exists. For instance, `proxy.toString()` runs the local `toString` method on the proxy object. But proxy.applyHostFunction('toString') runs `toString` on the host proxied object instead. + ///`getLocalProperty`, `setLocalProperty` | Perform property get, or property set locally. Use the methods to force getting or setting a property on the host object proxy rather than on the host object it represents. For instance, `proxy.unknownProperty` gets the property named `unknownProperty` from the host proxied object. But proxy.getLocalProperty('unknownProperty') gets the value of the property `unknownProperty` on the proxy object. + ///`sync` | Asynchronous host object proxies expose a sync method which returns a promise for a synchronous host object proxy for the same host object. For example, `chrome.webview.hostObjects.sample.methodCall()` returns an asynchronous host object proxy. Use the `sync` method to obtain a synchronous host object proxy instead: `const syncProxy = await chrome.webview.hostObjects.sample.methodCall().sync()`. + ///`async` | Synchronous host object proxies expose an async method which blocks and returns an asynchronous host object proxy for the same host object. For example, `chrome.webview.hostObjects.sync.sample.methodCall()` returns a synchronous host object proxy. Running the `async` method on this blocks and then returns an asynchronous host object proxy for the same host object: `const asyncProxy = chrome.webview.hostObjects.sync.sample.methodCall().async()`. + ///`then` | Asynchronous host object proxies have a `then` method. Allows proxies to be awaitable. `then` returns a promise that resolves with a representation of the host object. If the proxy represents a JavaScript literal, a copy of that is returned locally. If the proxy represents a function, a non-awaitable proxy is returned. If the proxy represents a JavaScript object with a mix of literal properties and function properties, the a copy of the object is returned with some properties as host object proxies. + /// + /// All other property and method invocations (other than the above Remote + /// object proxy methods, `forceLocalProperties` list, and properties on + /// Function and Object prototypes) are run remotely. Asynchronous host + /// object proxies return a promise representing asynchronous completion of + /// remotely invoking the method, or getting the property. The promise + /// resolves after the remote operations complete and the promises resolve to + /// the resulting value of the operation. Synchronous host object proxies + /// work similarly, but block running JavaScript and wait for the remote + /// operation to complete. + /// + /// Setting a property on an asynchronous host object proxy works slightly + /// differently. The set returns immediately and the return value is the + /// value that is set. This is a requirement of the JavaScript Proxy object. + /// If you need to asynchronously wait for the property set to complete, use + /// the `setHostProperty` method which returns a promise as described above. + /// Synchronous object property set property synchronously blocks until the + /// property is set. + /// + /// For example, suppose you have a COM object with the following interface. + /// + /// \snippet HostObjectSample.idl AddHostObjectInterface + /// + /// Add an instance of this interface into your JavaScript with + /// `AddHostObjectToScript`. In this case, name it `sample`. + /// + /// \snippet ScenarioAddHostObject.cpp AddHostObjectToScript + /// + /// In the HTML document, use the COM object using + /// `chrome.webview.hostObjects.sample`. + /// + /// \snippet assets\ScenarioAddHostObject.html HostObjectUsage + /// + /// Exposing host objects to script has security risk. For more information + /// about best practices, navigate to + /// [Best practices for developing secure WebView2 applications](/microsoft-edge/webview2/concepts/security). + HRESULT AddHostObjectToScript([in] LPCWSTR name, [in] VARIANT* object); + + /// Remove the host object specified by the name so that it is no longer + /// accessible from JavaScript code in the WebView. While new access + /// attempts are denied, if the object is already obtained by JavaScript code + /// in the WebView, the JavaScript code continues to have access to that + /// object. Run this method for a name that is already removed or never + /// added fails. + HRESULT RemoveHostObjectFromScript([in] LPCWSTR name); + + /// Opens the DevTools window for the current document in the WebView. Does + /// nothing if run when the DevTools window is already open. + HRESULT OpenDevToolsWindow(); + + /// Add an event handler for the `ContainsFullScreenElementChanged` event. + /// `ContainsFullScreenElementChanged` triggers when the + /// `ContainsFullScreenElement` property changes. An HTML element inside the + /// WebView may enter fullscreen to the size of the WebView or leave + /// fullscreen. This event is useful when, for example, a video element + /// requests to go fullscreen. The listener of + /// `ContainsFullScreenElementChanged` may resize the WebView in response. + /// + /// \snippet AppWindow.cpp ContainsFullScreenElementChanged + HRESULT add_ContainsFullScreenElementChanged( + [in] ICoreWebView2ContainsFullScreenElementChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with + /// `add_ContainsFullScreenElementChanged`. + HRESULT remove_ContainsFullScreenElementChanged( + [in] EventRegistrationToken token); + + /// Indicates if the WebView contains a fullscreen HTML element. + [propget] HRESULT ContainsFullScreenElement( + [out, retval] BOOL* containsFullScreenElement); + + /// Add an event handler for the `WebResourceRequested` event. + /// `WebResourceRequested` runs when the WebView is performing a URL request + /// to a matching URL and resource context filter that was added with + /// `AddWebResourceRequestedFilter`. At least one filter must be added for + /// the event to run. + /// + /// The web resource requested may be blocked until the event handler returns + /// if a deferral is not taken on the event args. If a deferral is taken, + /// then the web resource requested is blocked until the deferral is + /// completed. + /// + /// If this event is subscribed in the add_NewWindowRequested handler it should be called + /// after the new window is set. For more details see `ICoreWebView2NewWindowRequestedEventArgs::put_NewWindow`. + /// + /// Currently this only supports file, http, and https URI schemes. + /// + /// \snippet SettingsComponent.cpp WebResourceRequested0 + /// \snippet SettingsComponent.cpp WebResourceRequested1 + HRESULT add_WebResourceRequested( + [in] ICoreWebView2WebResourceRequestedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_WebResourceRequested`. + HRESULT remove_WebResourceRequested( + [in] EventRegistrationToken token); + + /// Adds a URI and resource context filter for the `WebResourceRequested` + /// event. A web resource request with a resource context that matches this + /// filter's resource context and a URI that matches this filter's URI + /// wildcard string will be raised via the `WebResourceRequested` event. + /// + /// The `uri` parameter value is a wildcard string matched against the URI + /// of the web resource request. This is a glob style + /// wildcard string in which a `*` matches zero or more characters and a `?` + /// matches exactly one character. + /// These wildcard characters can be escaped using a backslash just before + /// the wildcard character in order to represent the literal `*` or `?`. + /// + /// The matching occurs over the URI as a whole string and not limiting + /// wildcard matches to particular parts of the URI. + /// The wildcard filter is compared to the URI after the URI has been + /// normalized, any URI fragment has been removed, and non-ASCII hostnames + /// have been converted to punycode. + /// + /// Specifying a `nullptr` for the uri is equivalent to an empty string which + /// matches no URIs. + /// + /// For more information about resource context filters, navigate to + /// [COREWEBVIEW2_WEB_RESOURCE_CONTEXT](/microsoft-edge/webview2/reference/win32/webview2-idl#corewebview2_web_resource_context). + /// + /// | URI Filter String | Request URI | Match | Notes | + /// | ---- | ---- | ---- | ---- | + /// | `*` | `https://contoso.com/a/b/c` | Yes | A single * will match all URIs | + /// | `*://contoso.com/*` | `https://contoso.com/a/b/c` | Yes | Matches everything in contoso.com across all schemes | + /// | `*://contoso.com/*` | `https://example.com/?https://contoso.com/` | Yes | But also matches a URI with just the same text anywhere in the URI | + /// | `example` | `https://contoso.com/example` | No | The filter does not perform partial matches | + /// | `*example` | `https://contoso.com/example` | Yes | The filter matches across URI parts | + /// | `*example` | `https://contoso.com/path/?example` | Yes | The filter matches across URI parts | + /// | `*example` | `https://contoso.com/path/?query#example` | No | The filter is matched against the URI with no fragment | + /// | `*example` | `https://example` | No | The URI is normalized before filter matching so the actual URI used for comparison is `https://example/` | + /// | `*example/` | `https://example` | Yes | Just like above, but this time the filter ends with a / just like the normalized URI | + /// | `https://xn--qei.example/` | `https://❤.example/` | Yes | Non-ASCII hostnames are normalized to punycode before wildcard comparison | + /// | `https://❤.example/` | `https://xn--qei.example/` | No | Non-ASCII hostnames are normalized to punycode before wildcard comparison | + HRESULT AddWebResourceRequestedFilter( + [in] LPCWSTR const uri, + [in] COREWEBVIEW2_WEB_RESOURCE_CONTEXT const resourceContext); + + /// Removes a matching WebResource filter that was previously added for the + /// `WebResourceRequested` event. If the same filter was added multiple + /// times, then it must be removed as many times as it was added for the + /// removal to be effective. Returns `E_INVALIDARG` for a filter that was + /// never added. + HRESULT RemoveWebResourceRequestedFilter( + [in] LPCWSTR const uri, + [in] COREWEBVIEW2_WEB_RESOURCE_CONTEXT const resourceContext); + + /// Add an event handler for the `WindowCloseRequested` event. + /// `WindowCloseRequested` triggers when content inside the WebView + /// requested to close the window, such as after `window.close` is run. The + /// app should close the WebView and related app window if that makes sense + /// to the app. + /// + /// \snippet AppWindow.cpp WindowCloseRequested + HRESULT add_WindowCloseRequested( + [in] ICoreWebView2WindowCloseRequestedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_WindowCloseRequested`. + HRESULT remove_WindowCloseRequested( + [in] EventRegistrationToken token); +} + +/// A continuation of the ICoreWebView2 interface. +[uuid(9E8F0CF8-E670-4B5E-B2BC-73E061E3184C), object, pointer_default(unique)] +interface ICoreWebView2_2 : ICoreWebView2 { + /// Add an event handler for the WebResourceResponseReceived event. + /// WebResourceResponseReceived is raised when the WebView receives the + /// response for a request for a web resource (any URI resolution performed by + /// the WebView; such as HTTP/HTTPS, file and data requests from redirects, + /// navigations, declarations in HTML, implicit favicon lookups, and fetch API + /// usage in the document). The host app can use this event to view the actual + /// request and response for a web resource. There is no guarantee about the + /// order in which the WebView processes the response and the host app's + /// handler runs. The app's handler will not block the WebView from processing + /// the response. + /// \snippet ScenarioAuthentication.cpp WebResourceResponseReceived + HRESULT add_WebResourceResponseReceived( + [in] ICoreWebView2WebResourceResponseReceivedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + /// Remove an event handler previously added with + /// add_WebResourceResponseReceived. + HRESULT remove_WebResourceResponseReceived( + [in] EventRegistrationToken token); + + /// Navigates using a constructed WebResourceRequest object. This lets you + /// provide post data or additional request headers during navigation. + /// The headers in the WebResourceRequest override headers + /// added by WebView2 runtime except for Cookie headers. + /// Method can only be either "GET" or "POST". Provided post data will only + /// be sent only if the method is "POST" and the uri scheme is HTTP(S). + /// \snippet ScenarioNavigateWithWebResourceRequest.cpp NavigateWithWebResourceRequest + HRESULT NavigateWithWebResourceRequest([in] ICoreWebView2WebResourceRequest* request); + + /// Add an event handler for the DOMContentLoaded event. + /// DOMContentLoaded is raised when the initial html document has been parsed. + /// This aligns with the document's DOMContentLoaded event in html. + /// + /// \snippet ScenarioDOMContentLoaded.cpp DOMContentLoaded + HRESULT add_DOMContentLoaded( + [in] ICoreWebView2DOMContentLoadedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with add_DOMContentLoaded. + HRESULT remove_DOMContentLoaded( + [in] EventRegistrationToken token); + + /// Gets the cookie manager object associated with this ICoreWebView2. + /// See ICoreWebView2CookieManager. + /// + /// \snippet ScenarioCookieManagement.cpp CookieManager + [propget] HRESULT CookieManager([out, retval] ICoreWebView2CookieManager** cookieManager); + + /// Exposes the CoreWebView2Environment used to create this CoreWebView2. + [propget] HRESULT Environment([out, retval] ICoreWebView2Environment** environment); +} + +/// A continuation of the ICoreWebView2_2 interface. +[uuid(A0D6DF20-3B92-416D-AA0C-437A9C727857), object, pointer_default(unique)] +interface ICoreWebView2_3 : ICoreWebView2_2 { + /// An app may call the `TrySuspend` API to have the WebView2 consume less memory. + /// This is useful when a Win32 app becomes invisible, or when a Universal Windows + /// Platform app is being suspended, during the suspended event handler before completing + /// the suspended event. + /// The CoreWebView2Controller's IsVisible property must be false when the API is called. + /// Otherwise, the API fails with `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)`. + /// Suspending is similar to putting a tab to sleep in the Edge browser. Suspending pauses + /// WebView script timers and animations, minimizes CPU usage for the associated + /// browser renderer process and allows the operating system to reuse the memory that was + /// used by the renderer process for other processes. + /// Note that Suspend is best effort and considered completed successfully once the request + /// is sent to browser renderer process. If there is a running script, the script will continue + /// to run and the renderer process will be suspended after that script is done. + /// See [Sleeping Tabs FAQ](https://techcommunity.microsoft.com/t5/articles/sleeping-tabs-faq/m-p/1705434) + /// for conditions that might prevent WebView from being suspended. In those situations, + /// the completed handler will be invoked with isSuccessful as false and errorCode as S_OK. + /// The WebView will be automatically resumed when it becomes visible. Therefore, the + /// app normally does not have to call `Resume` explicitly. + /// The app can call `Resume` and then `TrySuspend` periodically for an invisible WebView so that + /// the invisible WebView can sync up with latest data and the page ready to show fresh content + /// when it becomes visible. + /// All WebView APIs can still be accessed when a WebView is suspended. Some APIs like Navigate + /// will auto resume the WebView. To avoid unexpected auto resume, check `IsSuspended` property + /// before calling APIs that might change WebView state. + /// + /// \snippet ViewComponent.cpp ToggleIsVisibleOnMinimize + /// + /// \snippet ViewComponent.cpp Suspend + /// + HRESULT TrySuspend([in] ICoreWebView2TrySuspendCompletedHandler* handler); + + /// Resumes the WebView so that it resumes activities on the web page. + /// This API can be called while the WebView2 controller is invisible. + /// The app can interact with the WebView immediately after `Resume`. + /// WebView will be automatically resumed when it becomes visible. + /// + /// \snippet ViewComponent.cpp ToggleIsVisibleOnMinimize + /// + /// \snippet ViewComponent.cpp Resume + /// + HRESULT Resume(); + + /// Whether WebView is suspended. + /// `TRUE` when WebView is suspended, from the time when TrySuspend has completed + /// successfully until WebView is resumed. + [propget] HRESULT IsSuspended([out, retval] BOOL* isSuspended); + + /// Sets a mapping between a virtual host name and a folder path to make available to web sites + /// via that host name. + /// + /// After setting the mapping, documents loaded in the WebView can use HTTP or HTTPS URLs at + /// the specified host name specified by hostName to access files in the local folder specified + /// by folderPath. + /// + /// This mapping applies to both top-level document and iframe navigations as well as subresource + /// references from a document. This also applies to web workers including dedicated/shared worker + /// and service worker, for loading either worker scripts or subresources + /// (importScripts(), fetch(), XHR, etc.) issued from within a worker. + /// For virtual host mapping to work with service worker, please keep the virtual host name + /// mappings consistent among all WebViews sharing the same browser instance. As service worker + /// works independently of WebViews, we merge mappings from all WebViews when resolving virtual + /// host name, inconsistent mappings between WebViews would lead unexpected behavior. + /// + /// Due to a current implementation limitation, media files accessed using virtual host name can be + /// very slow to load. + /// As the resource loaders for the current page might have already been created and running, + /// changes to the mapping might not be applied to the current page and a reload of the page is + /// needed to apply the new mapping. + /// + /// Both absolute and relative paths are supported for folderPath. Relative paths are interpreted + /// as relative to the folder where the exe of the app is in. + /// + /// Note that the folderPath length must not exceed the Windows MAX_PATH limit. + /// + /// accessKind specifies the level of access to resources under the virtual host from other sites. + /// + /// For example, after calling + /// ```cpp + /// SetVirtualHostNameToFolderMapping( + /// L"appassets.example", L"assets", + /// COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND_DENY); + /// ``` + /// navigating to `https://appassets.example/my-local-file.html` will + /// show the content from my-local-file.html in the assets subfolder located on disk under + /// the same path as the app's executable file. + /// + /// DOM elements that want to reference local files will have their host reference virtual host in the source. + /// If there are multiple folders being used, define one unique virtual host per folder. + /// For example, you can embed a local image like this + /// ```cpp + /// WCHAR c_navString[] = L""; + /// m_webView->NavigateToString(c_navString); + /// ``` + /// The example above shows the image wv2.png by resolving the folder mapping above. + /// + /// You should typically choose virtual host names that are never used by real sites. + /// If you own a domain such as example.com, another option is to use a subdomain reserved for + /// the app (like my-app.example.com). + /// + /// [RFC 6761](https://tools.ietf.org/html/rfc6761) has reserved several special-use domain + /// names that are guaranteed to not be used by real sites (for example, .example, .test, and + /// .invalid.) + /// + /// Note that using `.local` as the top-level domain name will work but can cause a delay + /// during navigations. You should avoid using `.local` if you can. + /// + /// Apps should use distinct domain names when mapping folder from different sources that + /// should be isolated from each other. For instance, the app might use app-file.example for + /// files that ship as part of the app, and book1.example might be used for files containing + /// books from a less trusted source that were previously downloaded and saved to the disk by + /// the app. + /// + /// The host name used in the APIs is canonicalized using Chromium's host name parsing logic + /// before being used internally. For more information see [HTML5 2.6 URLs](https://dev.w3.org/html5/spec-LC/urls.html). + /// + /// All host names that are canonicalized to the same string are considered identical. + /// For example, `EXAMPLE.COM` and `example.com` are treated as the same host name. + /// An international host name and its Punycode-encoded host name are considered the same host + /// name. There is no DNS resolution for host name and the trailing '.' is not normalized as + /// part of canonicalization. + /// + /// Therefore `example.com` and `example.com.` are treated as different host names. Similarly, + /// `virtual-host-name` and `virtual-host-name.example.com` are treated as different host names + /// even if the machine has a DNS suffix of `example.com`. + /// + /// Specify the minimal cross-origin access necessary to run the app. If there is not a need to + /// access local resources from other origins, use COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND_DENY. + /// + /// \snippet AppWindow.cpp AddVirtualHostNameToFolderMapping + /// + /// \snippet AppWindow.cpp LocalUrlUsage + HRESULT SetVirtualHostNameToFolderMapping( + [in] LPCWSTR hostName, + [in] LPCWSTR folderPath, + [in] COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND accessKind); + + /// Clears a host name mapping for local folder that was added by `SetVirtualHostNameToFolderMapping`. + HRESULT ClearVirtualHostNameToFolderMapping( + [in] LPCWSTR hostName); +} + +/// A continuation of the ICoreWebView2_3 interface to support FrameCreated and +/// DownloadStarting events. +[uuid(20d02d59-6df2-42dc-bd06-f98a694b1302), object, pointer_default(unique)] +interface ICoreWebView2_4 : ICoreWebView2_3 { + /// Raised when a new iframe is created. + /// Handle this event to get access to ICoreWebView2Frame objects. + /// Use ICoreWebView2Frame.add_Destroyed to listen for when this iframe goes + /// away. + HRESULT add_FrameCreated( + [in] ICoreWebView2FrameCreatedEventHandler * eventHandler, + [out] EventRegistrationToken * token); + + /// Remove an event handler previously added with add_FrameCreated. + HRESULT remove_FrameCreated([in] EventRegistrationToken token); + + /// Add an event handler for the `DownloadStarting` event. This event is + /// raised when a download has begun, blocking the default download dialog, + /// but not blocking the progress of the download. + /// + /// The host can choose to cancel a download, change the result file path, + /// and hide the default download dialog. + /// If the host chooses to cancel the download, the download is not saved, no + /// dialog is shown, and the state is changed to + /// COREWEBVIEW2_DOWNLOAD_STATE_INTERRUPTED with interrupt reason + /// COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_USER_CANCELED. Otherwise, the + /// download is saved to the default path after the event completes, + /// and default download dialog is shown if the host did not choose to hide it. + /// The host can change the visibility of the download dialog using the + /// `Handled` property. If the event is not handled, downloads complete + /// normally with the default dialog shown. + /// + /// \snippet ScenarioCustomDownloadExperience.cpp DownloadStarting + HRESULT add_DownloadStarting( + [in] ICoreWebView2DownloadStartingEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_DownloadStarting`. + HRESULT remove_DownloadStarting( + [in] EventRegistrationToken token); +} + +/// A continuation of the ICoreWebView2_4 interface to support ClientCertificateRequested +/// event. +[uuid(bedb11b8-d63c-11eb-b8bc-0242ac130003), object, pointer_default(unique)] +interface ICoreWebView2_5 : ICoreWebView2_4 { + /// Add an event handler for the ClientCertificateRequested event. + /// The ClientCertificateRequested event is raised when the WebView2 + /// is making a request to an HTTP server that needs a client certificate + /// for HTTP authentication. + /// Read more about HTTP client certificates at + /// [RFC 8446 The Transport Layer Security (TLS) Protocol Version 1.3](https://tools.ietf.org/html/rfc8446). + /// + /// With this event you have several options for responding to client certificate requests: + /// + /// Scenario | Handled | Cancel | SelectedCertificate + /// ---------------------------------------------------------- | ------- | ------ | ------------------- + /// Respond to server with a certificate | True | False | MutuallyTrustedCertificate value + /// Respond to server without certificate | True | False | null + /// Display default client certificate selection dialog prompt | False | False | n/a + /// Cancel the request | n/a | True | n/a + /// + /// If you don't handle the event, WebView2 will + /// show the default client certificate selection dialog prompt to user. + /// + /// \snippet SettingsComponent.cpp ClientCertificateRequested1 + /// \snippet ScenarioClientCertificateRequested.cpp ClientCertificateRequested2 + HRESULT add_ClientCertificateRequested( + [in] ICoreWebView2ClientCertificateRequestedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with add_ClientCertificateRequested. + HRESULT remove_ClientCertificateRequested([in] EventRegistrationToken token); +} + +/// This interface is an extension of `ICoreWebView2_5` that manages opening +/// the browser task manager window. +[uuid(499aadac-d92c-4589-8a75-111bfc167795), object, pointer_default(unique)] +interface ICoreWebView2_6 : ICoreWebView2_5 { + /// Opens the Browser Task Manager view as a new window in the foreground. + /// If the Browser Task Manager is already open, this will bring it into + /// the foreground. WebView2 currently blocks the Shift+Esc shortcut for + /// opening the task manager. An end user can open the browser task manager + /// manually via the `Browser task manager` entry of the DevTools window's + /// title bar's context menu. + HRESULT OpenTaskManagerWindow(); +} + +/// This interface is an extension of `ICoreWebView2_6` that supports printing +/// to PDF. +[uuid(79c24d83-09a3-45ae-9418-487f32a58740), object, pointer_default(unique)] +interface ICoreWebView2_7 : ICoreWebView2_6 { + /// Print the current page to PDF asynchronously with the provided settings. + /// See `ICoreWebView2PrintSettings` for description of settings. Passing + /// nullptr for `printSettings` results in default print settings used. + /// + /// Use `resultFilePath` to specify the path to the PDF file. The host should + /// provide an absolute path, including file name. If the path + /// points to an existing file, the file will be overwritten. If the path is + /// not valid, the method fails with `E_INVALIDARG`. + /// + /// The async `PrintToPdf` operation completes when the data has been written + /// to the PDF file. At this time the + /// `ICoreWebView2PrintToPdfCompletedHandler` is invoked. If the + /// application exits before printing is complete, the file is not saved. + /// Only one `Printing` operation can be in progress at a time. If + /// `PrintToPdf` is called while a `PrintToPdf` or `PrintToPdfStream` or `Print` or + /// `ShowPrintUI` job is in progress, the completed handler is immediately invoked + /// with `isSuccessful` set to FALSE. + /// + /// \snippet FileComponent.cpp PrintToPdf + HRESULT PrintToPdf( + [in] LPCWSTR resultFilePath, + [in] ICoreWebView2PrintSettings* printSettings, + [in] ICoreWebView2PrintToPdfCompletedHandler* handler); +} + +/// This interface is an extension of `ICoreWebView2_7` that supports media features. +[uuid(E9632730-6E1E-43AB-B7B8-7B2C9E62E094), object, pointer_default(unique)] +interface ICoreWebView2_8 : ICoreWebView2_7 { + /// Adds an event handler for the `IsMutedChanged` event. + /// `IsMutedChanged` is raised when the IsMuted property changes value. + /// + /// \snippet AudioComponent.cpp IsMutedChanged + HRESULT add_IsMutedChanged( + [in] ICoreWebView2IsMutedChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_IsMutedChanged`. + HRESULT remove_IsMutedChanged( + [in] EventRegistrationToken token); + + /// Indicates whether all audio output from this CoreWebView2 is muted or not. + /// + /// \snippet AudioComponent.cpp ToggleIsMuted + [propget] HRESULT IsMuted([out, retval] BOOL* value); + + /// Sets the `IsMuted` property. + /// + /// \snippet AudioComponent.cpp ToggleIsMuted + [propput] HRESULT IsMuted([in] BOOL value); + + /// Adds an event handler for the `IsDocumentPlayingAudioChanged` event. + /// `IsDocumentPlayingAudioChanged` is raised when the IsDocumentPlayingAudio property changes value. + /// + /// \snippet AudioComponent.cpp IsDocumentPlayingAudioChanged + HRESULT add_IsDocumentPlayingAudioChanged( + [in] ICoreWebView2IsDocumentPlayingAudioChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_IsDocumentPlayingAudioChanged`. + HRESULT remove_IsDocumentPlayingAudioChanged( + [in] EventRegistrationToken token); + + /// Indicates whether any audio output from this CoreWebView2 is playing. + /// This property will be true if audio is playing even if IsMuted is true. + /// + /// \snippet AudioComponent.cpp IsDocumentPlayingAudio + [propget] HRESULT IsDocumentPlayingAudio([out, retval] BOOL* value); +} + +/// This interface is an extension of `ICoreWebView2_8` that default download +/// dialog positioning and anchoring. +[uuid(4d7b2eab-9fdc-468d-b998-a9260b5ed651), object, pointer_default(unique)] +interface ICoreWebView2_9 : ICoreWebView2_8 { + /// Raised when the `IsDefaultDownloadDialogOpen` property changes. This event + /// comes after the `DownloadStarting` event. Setting the `Handled` property + /// on the `DownloadStartingEventArgs` disables the default download dialog + /// and ensures that this event is never raised. + HRESULT add_IsDefaultDownloadDialogOpenChanged( + [in] ICoreWebView2IsDefaultDownloadDialogOpenChangedEventHandler* handler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with + /// `add_IsDefaultDownloadDialogOpenChanged`. + HRESULT remove_IsDefaultDownloadDialogOpenChanged( + [in] EventRegistrationToken token); + + /// `TRUE` if the default download dialog is currently open. The value of this + /// property changes only when the default download dialog is explicitly + /// opened or closed. Hiding the WebView implicitly hides the dialog, but does + /// not change the value of this property. + [propget] HRESULT IsDefaultDownloadDialogOpen([out, retval] BOOL* value); + + /// Open the default download dialog. If the dialog is opened before there + /// are recent downloads, the dialog shows all past downloads for the + /// current profile. Otherwise, the dialog shows only the recent downloads + /// with a "See more" button for past downloads. Calling this method raises + /// the `IsDefaultDownloadDialogOpenChanged` event if the dialog was closed. + /// No effect if the dialog is already open. + /// + /// \snippet ViewComponent.cpp ToggleDefaultDownloadDialog + HRESULT OpenDefaultDownloadDialog(); + + /// Close the default download dialog. Calling this method raises the + /// `IsDefaultDownloadDialogOpenChanged` event if the dialog was open. No + /// effect if the dialog is already closed. + HRESULT CloseDefaultDownloadDialog(); + + /// Get the default download dialog corner alignment. + [propget] HRESULT DefaultDownloadDialogCornerAlignment( + [out, retval] COREWEBVIEW2_DEFAULT_DOWNLOAD_DIALOG_CORNER_ALIGNMENT* value); + + /// Set the default download dialog corner alignment. The dialog can be + /// aligned to any of the WebView corners (see + /// COREWEBVIEW2_DEFAULT_DOWNLOAD_DIALOG_CORNER_ALIGNMENT). When the WebView + /// or dialog changes size, the dialog keeps its position relative to the + /// corner. The dialog may become partially or completely outside of the + /// WebView bounds if the WebView is small enough. Set the margin relative to + /// the corner with the `DefaultDownloadDialogMargin` property. The corner + /// alignment and margin should be set during initialization to ensure that + /// they are correcly applied when the layout is first computed, otherwise + /// they will not take effect until the next time the WebView position or size + /// is updated. + /// + /// \snippet ViewComponent.cpp SetDefaultDownloadDialogPosition + [propput] HRESULT DefaultDownloadDialogCornerAlignment( + [in] COREWEBVIEW2_DEFAULT_DOWNLOAD_DIALOG_CORNER_ALIGNMENT value); + + /// Get the default download dialog margin. + [propget] HRESULT DefaultDownloadDialogMargin([out, retval] POINT* value); + + /// Set the default download dialog margin relative to the WebView corner + /// specified by `DefaultDownloadDialogCornerAlignment`. The margin is a + /// point that describes the vertical and horizontal distances between the + /// chosen WebView corner and the default download dialog corner nearest to + /// it. Positive values move the dialog towards the center of the WebView from + /// the chosen WebView corner, and negative values move the dialog away from + /// it. Use (0, 0) to align the dialog to the WebView corner with no margin. + /// The corner alignment and margin should be set during initialization to + /// ensure that they are correcly applied when the layout is first computed, + /// otherwise they will not take effect until the next time the WebView + /// position or size is updated. + [propput] HRESULT DefaultDownloadDialogMargin([in] POINT value); +} + +/// This interface is an extension of `ICoreWebView2_9` that supports +/// BasicAuthenticationRequested event. +[uuid(b1690564-6f5a-4983-8e48-31d1143fecdb), object, pointer_default(unique)] +interface ICoreWebView2_10 : ICoreWebView2_9 { + /// Add an event handler for the BasicAuthenticationRequested event. + /// BasicAuthenticationRequested event is raised when WebView encounters a + /// Basic HTTP Authentication request as described in + /// https://developer.mozilla.org/docs/Web/HTTP/Authentication, a Digest + /// HTTP Authentication request as described in + /// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization#digest, + /// an NTLM authentication or a Proxy Authentication request. + /// + /// The host can provide a response with credentials for the authentication or + /// cancel the request. If the host sets the Cancel property to false but does not + /// provide either UserName or Password properties on the Response property, then + /// WebView2 will show the default authentication challenge dialog prompt to + /// the user. + /// + /// \snippet ScenarioAuthentication.cpp BasicAuthenticationRequested + HRESULT add_BasicAuthenticationRequested( + [in] ICoreWebView2BasicAuthenticationRequestedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with add_BasicAuthenticationRequested. + HRESULT remove_BasicAuthenticationRequested( + [in] EventRegistrationToken token); +} + +/// This interface is an extension of `ICoreWebView2_10` that supports sessionId +/// for CDP method calls and ContextMenuRequested event. +[uuid(0be78e56-c193-4051-b943-23b460c08bdb), object, pointer_default(unique)] +interface ICoreWebView2_11 : ICoreWebView2_10 { + /// Runs an asynchronous `DevToolsProtocol` method for a specific session of + /// an attached target. + /// There could be multiple `DevToolsProtocol` targets in a WebView. + /// Besides the top level page, iframes from different origin and web workers + /// are also separate targets. Attaching to these targets allows interaction with them. + /// When the DevToolsProtocol is attached to a target, the connection is identified + /// by a sessionId. + /// To use this API, you must set the `flatten` parameter to true when calling + /// `Target.attachToTarget` or `Target.setAutoAttach` `DevToolsProtocol` method. + /// Using `Target.setAutoAttach` is recommended as that would allow you to attach + /// to dedicated worker targets, which are not discoverable via other APIs like + /// `Target.getTargets`. + /// For more information about targets and sessions, navigate to + /// [DevTools Protocol Viewer](https://chromedevtools.github.io/devtools-protocol/tot/Target). + /// For more information about available methods, navigate to + /// [DevTools Protocol Viewer](https://chromedevtools.github.io/devtools-protocol/tot) + /// The `sessionId` parameter is the sessionId for an attached target. + /// nullptr or empty string is treated as the session for the default target for the top page. + /// The `methodName` parameter is the full name of the method in the + /// `{domain}.{method}` format. The `parametersAsJson` parameter is a JSON + /// formatted string containing the parameters for the corresponding method. + /// The `Invoke` method of the `handler` is run when the method + /// asynchronously completes. `Invoke` is run with the return object of the + /// method as a JSON string. This function returns E_INVALIDARG if the `methodName` is + /// unknown or the `parametersAsJson` has an error. In the case of such an error, the + /// `returnObjectAsJson` parameter of the handler will include information + /// about the error. + /// + /// \snippet ScriptComponent.cpp DevToolsProtocolMethodMultiSession + /// + /// \snippet ScriptComponent.cpp CallDevToolsProtocolMethodForSession + HRESULT CallDevToolsProtocolMethodForSession( + [in] LPCWSTR sessionId, + [in] LPCWSTR methodName, + [in] LPCWSTR parametersAsJson, + [in] ICoreWebView2CallDevToolsProtocolMethodCompletedHandler* handler); + + /// Add an event handler for the `ContextMenuRequested` event. + /// `ContextMenuRequested` event is raised when a context menu is requested by the user + /// and the content inside WebView hasn't disabled context menus. + /// The host has the option to create their own context menu with the information provided in + /// the event or can add items to or remove items from WebView context menu. + /// If the host doesn't handle the event, WebView will display the default context menu. + /// + /// \snippet SettingsComponent.cpp EnableCustomMenu + HRESULT add_ContextMenuRequested( + [in] ICoreWebView2ContextMenuRequestedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_ContextMenuRequested`. + HRESULT remove_ContextMenuRequested( + [in] EventRegistrationToken token); +} + +/// This interface is an extension of `ICoreWebView2_11` that supports +/// StatusBarTextChanged event. +[uuid(35D69927-BCFA-4566-9349-6B3E0D154CAC), object, pointer_default(unique)] +interface ICoreWebView2_12 : ICoreWebView2_11 { + /// Add an event handler for the `StatusBarTextChanged` event. + /// `StatusBarTextChanged` fires when the WebView is showing a status message, + /// a URL, or an empty string (an indication to hide the status bar). + /// \snippet SettingsComponent.cpp StatusBarTextChanged + HRESULT add_StatusBarTextChanged( + [in] ICoreWebView2StatusBarTextChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_StatusBarTextChanged`. + HRESULT remove_StatusBarTextChanged([in] EventRegistrationToken token); + + /// The status message text. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT StatusBarText([out, retval] LPWSTR* value); +} + +/// This interface is an extension of `ICoreWebView2_12` that supports Profile +/// API. +[uuid(F75F09A8-667E-4983-88D6-C8773F315E84), object, pointer_default(unique)] +interface ICoreWebView2_13 : ICoreWebView2_12 { + /// The associated `ICoreWebView2Profile` object. If this CoreWebView2 was created with a + /// CoreWebView2ControllerOptions, the CoreWebView2Profile will match those specified options. + /// Otherwise if this CoreWebView2 was created without a CoreWebView2ControllerOptions, then + /// this will be the default CoreWebView2Profile for the corresponding CoreWebView2Environment. + /// + /// \snippet AppWindow.cpp CoreWebView2Profile + [propget] HRESULT Profile([out, retval] ICoreWebView2Profile** value); +} + +/// This interface is an extension of `ICoreWebView2_13` that adds +/// ServerCertificate support. +[uuid(6DAA4F10-4A90-4753-8898-77C5DF534165), object, pointer_default(unique)] +interface ICoreWebView2_14 : ICoreWebView2_13 { + /// Add an event handler for the ServerCertificateErrorDetected event. + /// The ServerCertificateErrorDetected event is raised when the WebView2 + /// cannot verify server's digital certificate while loading a web page. + /// + /// This event will raise for all web resources and follows the `WebResourceRequested` event. + /// + /// If you don't handle the event, WebView2 will show the default TLS interstitial error page to the user + /// for navigations, and for non-navigations the web request is cancelled. + /// + /// Note that WebView2 before raising `ServerCertificateErrorDetected` raises a `NavigationCompleted` event + /// with `IsSuccess` as FALSE and any of the below WebErrorStatuses that indicate a certificate failure. + /// + /// - COREWEBVIEW2_WEB_ERROR_STATUS_CERTIFICATE_COMMON_NAME_IS_INCORRECT + /// - COREWEBVIEW2_WEB_ERROR_STATUS_CERTIFICATE_EXPIRED + /// - COREWEBVIEW2_WEB_ERROR_STATUS_CLIENT_CERTIFICATE_CONTAINS_ERRORS + /// - COREWEBVIEW2_WEB_ERROR_STATUS_CERTIFICATE_REVOKED + /// - COREWEBVIEW2_WEB_ERROR_STATUS_CERTIFICATE_IS_INVALID + /// + /// For more details see `ICoreWebView2NavigationCompletedEventArgs::get_IsSuccess` and handle + /// ServerCertificateErrorDetected event or show the default TLS interstitial error page to the user + /// according to the app needs. + /// + /// WebView2 caches the response when action is `COREWEBVIEW2_SERVER_CERTIFICATE_ERROR_ACTION_ALWAYS_ALLOW` + /// for the RequestUri's host and the server certificate in the session and the `ServerCertificateErrorDetected` + /// event won't be raised again. + /// + /// To raise the event again you must clear the cache using `ClearServerCertificateErrorActions`. + /// + /// \snippet SettingsComponent.cpp ServerCertificateErrorDetected1 + HRESULT add_ServerCertificateErrorDetected( + [in] ICoreWebView2ServerCertificateErrorDetectedEventHandler* + eventHandler, + [out] EventRegistrationToken* token); + /// Remove an event handler previously added with add_ServerCertificateErrorDetected. + HRESULT remove_ServerCertificateErrorDetected([in] EventRegistrationToken token); + + /// Clears all cached decisions to proceed with TLS certificate errors from the + /// ServerCertificateErrorDetected event for all WebView2's sharing the same session. + HRESULT ClearServerCertificateErrorActions( + [in] ICoreWebView2ClearServerCertificateErrorActionsCompletedHandler* + handler); +} + +/// Receives `StatusBarTextChanged` events. +[uuid(A5E3B0D0-10DF-4156-BFAD-3B43867ACAC6), object, pointer_default(unique)] +interface ICoreWebView2StatusBarTextChangedEventHandler : IUnknown { + /// Called to provide the implementer with the event args for the + /// corresponding event. No event args exist and the `args` + /// parameter is set to `null`. + HRESULT Invoke( + [in] ICoreWebView2* sender, + [in] IUnknown* args); +} + +/// This interface is an extension of `ICoreWebView2_14` that supports status Favicons. +[uuid(517B2D1D-7DAE-4A66-A4F4-10352FFB9518), object, pointer_default(unique)] +interface ICoreWebView2_15 : ICoreWebView2_14 { + /// Add an event handler for the `FaviconChanged` event. + /// The `FaviconChanged` event is raised when the + /// [favicon](https://developer.mozilla.org/docs/Glossary/Favicon) + /// had a different URL then the previous URL. + /// The FaviconChanged event will be raised for first navigating to a new + /// document, whether or not a document declares a Favicon in HTML if the + /// favicon is different from the previous fav icon. The event will + /// be raised again if a favicon is declared in its HTML or has script + /// to set its favicon. The favicon information can then be retrieved with + /// `GetFavicon` and `FaviconUri`. + HRESULT add_FaviconChanged( + [in] ICoreWebView2FaviconChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove the event handler for `FaviconChanged` event. + HRESULT remove_FaviconChanged( + [in] EventRegistrationToken token); + + /// Get the current Uri of the favicon as a string. + /// If the value is null, then the return value is `E_POINTER`, otherwise it is `S_OK`. + /// If a page has no favicon then the value is an empty string. + [propget] HRESULT FaviconUri([out, retval] LPWSTR* value); + + /// Async function for getting the actual image data of the favicon. + /// The image is copied to the `imageStream` object in `ICoreWebView2GetFaviconCompletedHandler`. + /// If there is no image then no data would be copied into the imageStream. + /// The `format` is the file format to return the image stream. + /// `completedHandler` is executed at the end of the operation. + /// + /// \snippet SettingsComponent.cpp FaviconChanged + HRESULT GetFavicon( + [in] COREWEBVIEW2_FAVICON_IMAGE_FORMAT format, + [in] ICoreWebView2GetFaviconCompletedHandler* completedHandler); +} + +/// A continuation of the `ICoreWebView2` interface to support printing. +[uuid(0EB34DC9-9F91-41E1-8639-95CD5943906B), object, pointer_default(unique)] +interface ICoreWebView2_16 : ICoreWebView2_15 { + /// Print the current web page asynchronously to the specified printer with the provided settings. + /// See `ICoreWebView2PrintSettings` for description of settings. Passing + /// nullptr for `printSettings` results in default print settings used. + /// + /// The handler will return `errorCode` as `S_OK` and `printStatus` as COREWEBVIEW2_PRINT_STATUS_PRINTER_UNAVAILABLE + /// if `printerName` doesn't match with the name of any installed printers on the user OS. The handler + /// will return `errorCode` as `E_INVALIDARG` and `printStatus` as COREWEBVIEW2_PRINT_STATUS_OTHER_ERROR + /// if the caller provides invalid settings for a given printer. + /// + /// The async `Print` operation completes when it finishes printing to the printer. + /// At this time the `ICoreWebView2PrintCompletedHandler` is invoked. + /// Only one `Printing` operation can be in progress at a time. If `Print` is called while a `Print` or `PrintToPdf` + /// or `PrintToPdfStream` or `ShowPrintUI` job is in progress, the completed handler is immediately invoked + /// with `E_ABORT` and `printStatus` is COREWEBVIEW2_PRINT_STATUS_OTHER_ERROR. + /// This is only for printing operation on one webview. + /// + /// | errorCode | printStatus | Notes | + /// | --- | --- | --- | + /// | S_OK | COREWEBVIEW2_PRINT_STATUS_SUCCEEDED | Print operation succeeded. | + /// | S_OK | COREWEBVIEW2_PRINT_STATUS_PRINTER_UNAVAILABLE | If specified printer is not found or printer status is not available, offline or error state. | + /// | S_OK | COREWEBVIEW2_PRINT_STATUS_OTHER_ERROR | Print operation is failed. | + /// | E_INVALIDARG | COREWEBVIEW2_PRINT_STATUS_OTHER_ERROR | If the caller provides invalid settings for the specified printer. | + /// | E_ABORT | COREWEBVIEW2_PRINT_STATUS_OTHER_ERROR | Print operation is failed as printing job already in progress. | + /// + /// \snippet AppWindow.cpp PrintToPrinter + HRESULT Print( + [in] ICoreWebView2PrintSettings* printSettings, + [in] ICoreWebView2PrintCompletedHandler* handler); + + /// Opens the print dialog to print the current web page. See `COREWEBVIEW2_PRINT_DIALOG_KIND` + /// for descriptions of print dialog kinds. + /// + /// Invoking browser or system print dialog doesn't open new print dialog if + /// it is already open. + /// + /// \snippet AppWindow.cpp ShowPrintUI + HRESULT ShowPrintUI([in] COREWEBVIEW2_PRINT_DIALOG_KIND printDialogKind); + + /// Provides the Pdf data of current web page asynchronously for the provided settings. + /// Stream will be rewound to the start of the pdf data. + /// + /// See `ICoreWebView2PrintSettings` for description of settings. Passing + /// nullptr for `printSettings` results in default print settings used. + /// + /// The async `PrintToPdfStream` operation completes when it finishes + /// writing to the stream. At this time the `ICoreWebView2PrintToPdfStreamCompletedHandler` + /// is invoked. Only one `Printing` operation can be in progress at a time. If + /// `PrintToPdfStream` is called while a `PrintToPdfStream` or `PrintToPdf` or `Print` + /// or `ShowPrintUI` job is in progress, the completed handler is immediately invoked with `E_ABORT`. + /// This is only for printing operation on one webview. + /// + /// \snippet AppWindow.cpp PrintToPdfStream + HRESULT PrintToPdfStream([in] ICoreWebView2PrintSettings* printSettings, + [in] ICoreWebView2PrintToPdfStreamCompletedHandler* handler); +} + +/// Receives the result of the `Print` method. +[uuid(8FD80075-ED08-42DB-8570-F5D14977461E), object, pointer_default(unique)] +interface ICoreWebView2PrintCompletedHandler : IUnknown { + /// Provides the result of the corresponding asynchronous method. + HRESULT Invoke([in] HRESULT errorCode, [in] COREWEBVIEW2_PRINT_STATUS printStatus); +} + +/// This interface is an extension of `ICoreWebView2_16` that supports shared buffer based on file mapping. +[uuid(702E75D4-FD44-434D-9D70-1A68A6B1192A), object, pointer_default(unique)] +interface ICoreWebView2_17 : ICoreWebView2_16 { + /// Share a shared buffer object with script of the main frame in the WebView. + /// The script will receive a `sharedbufferreceived` event from chrome.webview. + /// The event arg for that event will have the following methods and properties: + /// `getBuffer()`: return an ArrayBuffer object with the backing content from the shared buffer. + /// `additionalData`: an object as the result of parsing `additionalDataAsJson` as JSON string. + /// This property will be `undefined` if `additionalDataAsJson` is nullptr or empty string. + /// `source`: with a value set as `chrome.webview` object. + /// If a string is provided as `additionalDataAsJson` but it is not a valid JSON string, + /// the API will fail with `E_INVALIDARG`. + /// If `access` is COREWEBVIEW2_SHARED_BUFFER_ACCESS_READ_ONLY, the script will only have read access to the buffer. + /// If the script tries to modify the content in a read only buffer, it will cause an access + /// violation in WebView renderer process and crash the renderer process. + /// If the shared buffer is already closed, the API will fail with `RO_E_CLOSED`. + /// + /// The script code should call `chrome.webview.releaseBuffer` with + /// the shared buffer as the parameter to release underlying resources as soon + /// as it does not need access to the shared buffer any more. + /// + /// The application can post the same shared buffer object to multiple web pages or iframes, or + /// post to the same web page or iframe multiple times. Each `PostSharedBufferToScript` will + /// create a separate ArrayBuffer object with its own view of the memory and is separately + /// released. The underlying shared memory will be released when all the views are released. + /// + /// For example, if we want to send data to script for one time read only consumption. + /// + /// \snippet ScenarioSharedBuffer.cpp OneTimeShareBuffer + /// + /// In the HTML document, + /// + /// \snippet assets\ScenarioSharedBuffer.html ShareBufferScriptCode_1 + /// + /// \snippet assets\ScenarioSharedBuffer.html ShareBufferScriptCode_2 + /// + /// Sharing a buffer to script has security risk. You should only share buffer with trusted site. + /// If a buffer is shared to a untrusted site, possible sensitive information could be leaked. + /// If a buffer is shared as modifiable by the script and the script modifies it in an unexpected way, + /// it could result in corrupted data that might even crash the application. + /// + HRESULT PostSharedBufferToScript( + [in] ICoreWebView2SharedBuffer* sharedBuffer, + [in] COREWEBVIEW2_SHARED_BUFFER_ACCESS access, + [in] LPCWSTR additionalDataAsJson); +} + +/// Receives the result of the `PrintToPdfStream` method. +/// `errorCode` returns S_OK if the PrintToPdfStream operation succeeded. +/// The printable pdf data is returned in the `pdfStream` object. +[uuid(4C9F8229-8F93-444F-A711-2C0DFD6359D5), object, pointer_default(unique)] +interface ICoreWebView2PrintToPdfStreamCompletedHandler : IUnknown { + /// Provides the result of the corresponding asynchronous method. + HRESULT Invoke([in] HRESULT errorCode, [in] IStream* pdfStream); +} + +/// Settings used by the `Print` method. +[uuid(CA7F0E1F-3484-41D1-8C1A-65CD44A63F8D), object, pointer_default(unique)] +interface ICoreWebView2PrintSettings2 : ICoreWebView2PrintSettings { + /// Page range to print. Defaults to empty string, which means print all pages. + /// If the Page range is empty string or null, then it applies the default. + /// + /// The PageRanges property is a list of page ranges specifying one or more pages that + /// should be printed separated by commas. Any whitespace between page ranges is ignored. + /// A valid page range is either a single integer identifying the page to print, or a range + /// in the form `[start page]-[last page]` where `start page` and `last page` are integers + /// identifying the first and last inclusive pages respectively to print. + /// Every page identifier is an integer greater than 0 unless wildcards are used (see below examples). + /// The first page is 1. + /// + /// In a page range of the form `[start page]-[last page]` the start page number must be + /// larger than 0 and less than or equal to the document's total page count. + /// If the `start page` is not present, then 1 is used as the `start page`. + /// The `last page` must be larger than the `start page`. + /// If the `last page` is not present, then the document total page count is used as the `last page`. + /// + /// Repeating a page does not print it multiple times. To print multiple times, use the `Copies` property. + /// + /// The pages are always printed in ascending order, even if specified in non-ascending order. + /// + /// If page range is not valid or if a page is greater than document total page count, + /// `ICoreWebView2PrintCompletedHandler` or `ICoreWebView2PrintToPdfStreamCompletedHandler` + /// handler will return `E_INVALIDARG`. + /// + /// The following examples assume a document with 20 total pages. + /// + /// | Example | Result | Notes | + /// | --- | --- | --- | + /// | "2" | Page 2 | | + /// | "1-4, 9, 3-6, 10, 11" | Pages 1-6, 9-11 | | + /// | "1-4, -6" | Pages 1-6 | The "-6" is interpreted as "1-6". | + /// | "2-" | Pages 2-20 | The "2-" is interpreted as "pages 2 to the end of the document". | + /// | "4-2, 11, -6" | Invalid | "4-2" is an invalid range. | + /// | "-" | Pages 1-20 | The "-" is interpreted as "page 1 to the end of the document". | + /// | "1-4dsf, 11" | Invalid | | + /// | "2-2" | Page 2 | | + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings) + [propget] HRESULT PageRanges([out, retval] LPWSTR* value); + + /// Set the `PageRanges` property. + [propput] HRESULT PageRanges([in] LPCWSTR value); + + /// Prints multiple pages of a document on a single piece of paper. Choose from 1, 2, 4, 6, 9 or 16. + /// The default value is 1. + [propget] HRESULT PagesPerSide([out, retval] INT32* value); + + /// Set the `PagesPerSide` property. Returns `E_INVALIDARG` if an invalid value is + /// provided, and the current value is not changed. + /// + /// Below examples shows print output for PagesPerSide and Duplex. + /// + /// | PagesPerSide | Total pages | Two-sided printing | Result | + /// | --- | --- | --- | --- | + /// | 1 | 1 | - | 1 page on the front side. | + /// | 2 | 1 | Yes | 1 page on the front side. | + /// | 2 | 4 | - | 2 pages on the first paper and 2 pages on the next paper. | + /// | 2 | 4 | Yes | 2 pages on the front side and 2 pages on back side. | + /// | 4 | 4 | Yes | 4 pages on the front side. | + /// | 4 | 8 | Yes | 4 pages on the front side and 4 pages on the back side. | + [propput] HRESULT PagesPerSide([in] INT32 value); + + /// Number of copies to print. Minimum value is `1` and the maximum copies count is `999`. + /// The default value is 1. + /// + /// This value is ignored in PrintToPdfStream method. + [propget] HRESULT Copies([out, retval] INT32* value); + + /// Set the `Copies` property. Returns `E_INVALIDARG` if an invalid value is provided + /// and the current value is not changed. + [propput] HRESULT Copies([in] INT32 value); + + /// Printer collation. See `COREWEBVIEW2_PRINT_COLLATION` for descriptions of + /// collation. The default value is `COREWEBVIEW2_PRINT_COLLATION_DEFAULT`. + /// + /// Printing uses default value of printer's collation if an invalid value is provided + /// for the specific printer. + /// + /// This value is ignored in PrintToPdfStream method. + [propget] HRESULT Collation([out, retval] COREWEBVIEW2_PRINT_COLLATION* value); + + /// Set the `Collation` property. + [propput] HRESULT Collation([in] COREWEBVIEW2_PRINT_COLLATION value); + + /// Printer color mode. See `COREWEBVIEW2_PRINT_COLOR_MODE` for descriptions + /// of color modes. The default value is `COREWEBVIEW2_PRINT_COLOR_MODE_DEFAULT`. + /// + /// Printing uses default value of printer supported color if an invalid value is provided + /// for the specific printer. + [propget] HRESULT ColorMode([out, retval] COREWEBVIEW2_PRINT_COLOR_MODE* value); + + /// Set the `ColorMode` property. + [propput] HRESULT ColorMode([in] COREWEBVIEW2_PRINT_COLOR_MODE value); + + /// Printer duplex settings. See `COREWEBVIEW2_PRINT_DUPLEX` for descriptions of duplex. + /// The default value is `COREWEBVIEW2_PRINT_DUPLEX_DEFAULT`. + /// + /// Printing uses default value of printer's duplex if an invalid value is provided + /// for the specific printer. + /// + /// This value is ignored in PrintToPdfStream method. + [propget] HRESULT Duplex([out, retval] COREWEBVIEW2_PRINT_DUPLEX* value); + + /// Set the `Duplex` property. + [propput] HRESULT Duplex([in] COREWEBVIEW2_PRINT_DUPLEX value); + + /// Printer media size. See `COREWEBVIEW2_PRINT_MEDIA_SIZE` for descriptions of media size. + /// The default value is `COREWEBVIEW2_PRINT_MEDIA_SIZE_DEFAULT`. + /// + /// If media size is `COREWEBVIEW2_PRINT_MEDIA_SIZE_CUSTOM`, you should set the `PageWidth` + /// and `PageHeight`. + /// + /// Printing uses default value of printer supported media size if an invalid value is provided + /// for the specific printer. + /// + /// This value is ignored in PrintToPdfStream method. + [propget] HRESULT MediaSize([out, retval] COREWEBVIEW2_PRINT_MEDIA_SIZE* value); + + /// Set the `MediaSize` property. + [propput] HRESULT MediaSize([in] COREWEBVIEW2_PRINT_MEDIA_SIZE value); + + /// The name of the printer to use. Defaults to empty string. + /// If the printer name is empty string or null, then it prints to the default + /// printer on the user OS. + /// + /// This value is ignored in PrintToPdfStream method. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings) + [propget] HRESULT PrinterName([out, retval] LPWSTR* value); + + /// Set the `PrinterName` property. If provided printer name doesn't match + /// with the name of any installed printers on the user OS, + /// `ICoreWebView2PrintCompletedHandler` handler will return `errorCode` as + /// `S_OK` and `printStatus` as COREWEBVIEW2_PRINT_STATUS_PRINTER_UNAVAILABLE. + /// + /// Use [Enum Printers](/windows/win32/printdocs/enumprinters) + /// to enumerate available printers. + [propput] HRESULT PrinterName([in] LPCWSTR value); +} + +/// This interface is an extension of `ICoreWebView2_17` that manages +/// navigation requests to URI schemes registered with the OS. +[uuid(7A626017-28BE-49B2-B865-3BA2B3522D90), object, pointer_default(unique)] +interface ICoreWebView2_18 : ICoreWebView2_17 { + /// Add an event handler for the `LaunchingExternalUriScheme` event. + /// The `LaunchingExternalUriScheme` event is raised when a navigation request is made to + /// a URI scheme that is registered with the OS. + /// The `LaunchingExternalUriScheme` event handler may suppress the default dialog + /// or replace the default dialog with a custom dialog. + /// + /// If a deferral is not taken on the event args, the external URI scheme launch is + /// blocked until the event handler returns. If a deferral is taken, the + /// external URI scheme launch is blocked until the deferral is completed. + /// The host also has the option to cancel the URI scheme launch. + /// + /// The `NavigationStarting` and `NavigationCompleted` events will be raised, + /// regardless of whether the `Cancel` property is set to `TRUE` or + /// `FALSE`. The `NavigationCompleted` event will be raised with the `IsSuccess` property + /// set to `FALSE` and the `WebErrorStatus` property set to `ConnectionAborted` regardless of + /// whether the host sets the `Cancel` property on the + /// `ICoreWebView2LaunchingExternalUriSchemeEventArgs`. The `SourceChanged`, `ContentLoading`, + /// and `HistoryChanged` events will not be raised for this navigation to the external URI + /// scheme regardless of the `Cancel` property. + /// The `LaunchingExternalUriScheme` event will be raised after the + /// `NavigationStarting` event and before the `NavigationCompleted` event. + /// The default `CoreWebView2Settings` will also be updated upon navigation to an external + /// URI scheme. If a setting on the `CoreWebView2Settings` interface has been changed, + /// navigating to an external URI scheme will trigger the `CoreWebView2Settings` to update. + /// + /// The WebView2 may not display the default dialog based on user settings, browser settings, + /// and whether the origin is determined as a + /// [trustworthy origin](https://w3c.github.io/webappsec-secure-contexts# + /// potentially-trustworthy-origin); however, the event will still be raised. + /// + /// If the request is initiated by a cross-origin frame without a user gesture, + /// the request will be blocked and the `LaunchingExternalUriScheme` event will not + /// be raised. + /// \snippet SettingsComponent.cpp ToggleLaunchingExternalUriScheme + HRESULT add_LaunchingExternalUriScheme( + [in] ICoreWebView2LaunchingExternalUriSchemeEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with + /// `add_LaunchingExternalUriScheme`. + HRESULT remove_LaunchingExternalUriScheme( + [in] EventRegistrationToken token); +} + +/// This interface is an extension of `ICoreWebView2_18` that manages memory usage +/// target level. +[uuid(6921F954-79B0-437F-A997-C85811897C68), object, pointer_default(unique)] +interface ICoreWebView2_19 : ICoreWebView2_18 { + + /// `MemoryUsageTargetLevel` indicates desired memory consumption level of + /// WebView. + [propget] HRESULT MemoryUsageTargetLevel( + [out, retval] COREWEBVIEW2_MEMORY_USAGE_TARGET_LEVEL* level); + + /// An app may set `MemoryUsageTargetLevel` to indicate desired memory + /// consumption level of WebView. Scripts will not be impacted and continue + /// to run. This is useful for inactive apps that still want to run scripts + /// and/or keep network connections alive and therefore could not call + /// `TrySuspend` and `Resume` to reduce memory consumption. These apps can + /// set memory usage target level to `COREWEBVIEW2_MEMORY_USAGE_TARGET_LEVEL_LOW` + /// when the app becomes inactive, and set back to + /// `COREWEBVIEW2_MEMORY_USAGE_TARGET_LEVEL_NORMAL` when the app becomes + /// active. It is not necessary to set CoreWebView2Controller's IsVisible + /// property to false when setting the property. + /// It is a best effort operation to change memory usage level, and the + /// API will return before the operation completes. + /// Setting the level to `COREWEBVIEW2_MEMORY_USAGE_TARGET_LEVEL_LOW` + /// could potentially cause memory for some WebView browser processes to be + /// swapped out to disk in some circumstances. + /// It is a best effort to reduce memory usage as much as possible. If a script + /// runs after its related memory has been swapped out, the memory will be swapped + /// back in to ensure the script can still run, but performance might be impacted. + /// Therefore, the app should set the level back to + /// `COREWEBVIEW2_MEMORY_USAGE_TARGET_LEVEL_NORMAL` when the app becomes + /// active again. Setting memory usage target level back to normal will not happen + /// automatically. + /// An app should choose to use either the combination of `TrySuspend` and `Resume` + /// or the combination of setting MemoryUsageTargetLevel to low and normal. It is + /// not advisable to mix them. + /// Trying to set `MemoryUsageTargetLevel` while suspended will be ignored. + /// The `TrySuspend` and `Resume` methods will change the `MemoryUsageTargetLevel`. + /// `TrySuspend` will automatically set `MemoryUsageTargetLevel` to low while + /// `Resume` on suspended WebView will automatically set `MemoryUsageTargetLevel` + /// to normal. Calling `Resume` when the WebView is not suspended would not change + /// `MemoryUsageTargetLevel`. + /// + /// \snippet ViewComponent.cpp MemoryUsageTargetLevel + [propput] HRESULT MemoryUsageTargetLevel( + [in] COREWEBVIEW2_MEMORY_USAGE_TARGET_LEVEL level); + +} + +/// Event handler for the `LaunchingExternalUriScheme` event. +[uuid(74F712E0-8165-43A9-A13F-0CCE597E75DF), object, pointer_default(unique)] +interface ICoreWebView2LaunchingExternalUriSchemeEventHandler: IUnknown { + /// Receives the event args for the corresponding event. + HRESULT Invoke( + [in] ICoreWebView2* sender, + [in] ICoreWebView2LaunchingExternalUriSchemeEventArgs* args); +} + +/// Event args for `LaunchingExternalUriScheme` event. +[uuid(07D1A6C3-7175-4BA1-9306-E593CA07E46C), object, pointer_default(unique)] +interface ICoreWebView2LaunchingExternalUriSchemeEventArgs: IUnknown { + /// The URI with the external URI scheme to be launched. + + [propget] HRESULT Uri([out, retval] LPWSTR* value); + + /// The origin initiating the external URI scheme launch. + /// The origin will be an empty string if the request is initiated by calling + /// `CoreWebView2.Navigate` on the external URI scheme. If a script initiates + /// the navigation, the `InitiatingOrigin` will be the top-level document's + /// `Source`, for example, if `window.location` is set to `"calculator://", the + /// `InitiatingOrigin` will be set to `calculator://`. If the request is initiated + /// from a child frame, the `InitiatingOrigin` will be the source of that child frame. + + [propget] HRESULT InitiatingOrigin([out, retval] LPWSTR* value); + + /// `TRUE` when the external URI scheme request was initiated through a user gesture. + /// + /// \> [!NOTE]\n\> Being initiated through a user gesture does not mean that user intended + /// to access the associated resource. + + [propget] HRESULT IsUserInitiated([out, retval] BOOL* value); + + /// The event handler may set this property to `TRUE` to cancel the external URI scheme + /// launch. If set to `TRUE`, the external URI scheme will not be launched, and the default + /// dialog is not displayed. This property can be used to replace the normal + /// handling of launching an external URI scheme. + /// The initial value of the `Cancel` property is `FALSE`. + + [propget] HRESULT Cancel([out, retval] BOOL* value); + + /// Sets the `Cancel` property. + + [propput] HRESULT Cancel([in] BOOL value); + + /// Returns an `ICoreWebView2Deferral` object. Use this operation to + /// complete the event at a later time. + + HRESULT GetDeferral([out, retval] ICoreWebView2Deferral** value); +} + +/// The caller implements this interface to handle the BasicAuthenticationRequested event. +[uuid(58b4d6c2-18d4-497e-b39b-9a96533fa278), object, pointer_default(unique)] +interface ICoreWebView2BasicAuthenticationRequestedEventHandler : IUnknown { + /// Called to provide the implementer with the event args for the + /// corresponding event. + HRESULT Invoke( + [in] ICoreWebView2* sender, + [in] ICoreWebView2BasicAuthenticationRequestedEventArgs* args); +} + +/// Implements the interface to receive `IsDefaultDownloadDialogOpenChanged` +/// events. +[uuid(3117da26-ae13-438d-bd46-edbeb2c4ce81), object, pointer_default(unique)] +interface ICoreWebView2IsDefaultDownloadDialogOpenChangedEventHandler : IUnknown { + /// Provides the event args for the corresponding event. No event args exist + /// and the `args` parameter is set to `null`. + HRESULT Invoke([in] ICoreWebView2* sender, + [in] IUnknown* args); +} + +/// Receives the result of the `PrintToPdf` method. If the print to PDF +/// operation succeeds, `isSuccessful` is true. Otherwise, if the operation +/// failed, `isSuccessful` is set to false. An invalid path returns +/// `E_INVALIDARG`. +[uuid(ccf1ef04-fd8e-4d5f-b2de-0983e41b8c36), object, pointer_default(unique)] +interface ICoreWebView2PrintToPdfCompletedHandler : IUnknown { + + /// Provides the result of the corresponding asynchronous method. + HRESULT Invoke([in] HRESULT errorCode, BOOL isSuccessful); +} + +/// Settings used by the `PrintToPdf` method. Other programmatic printing is not +/// currently supported. +[uuid(377f3721-c74e-48ca-8db1-df68e51d60e2), object, pointer_default(unique)] +interface ICoreWebView2PrintSettings : IUnknown { + + /// The orientation can be portrait or landscape. The default orientation is + /// portrait. See `COREWEBVIEW2_PRINT_ORIENTATION`. + [propget] HRESULT Orientation( + [out, retval] COREWEBVIEW2_PRINT_ORIENTATION* orientation); + + /// Sets the `Orientation` property. + [propput] HRESULT Orientation( + [in] COREWEBVIEW2_PRINT_ORIENTATION orientation); + + /// The scale factor is a value between 0.1 and 2.0. The default is 1.0. + [propget] HRESULT ScaleFactor([out, retval] double* scaleFactor); + + /// Sets the `ScaleFactor` property. Returns `E_INVALIDARG` if an invalid + /// value is provided, and the current value is not changed. + [propput] HRESULT ScaleFactor([in] double scaleFactor); + + /// The page width in inches. The default width is 8.5 inches. + [propget] HRESULT PageWidth([out, retval] double* pageWidth); + + /// Sets the `PageWidth` property. Returns `E_INVALIDARG` if the page width is + /// less than or equal to zero, and the current value is not changed. + [propput] HRESULT PageWidth([in] double pageWidth); + + /// The page height in inches. The default height is 11 inches. + [propget] HRESULT PageHeight([out, retval] double* pageHeight); + + /// Sets the `PageHeight` property. Returns `E_INVALIDARG` if the page height + /// is less than or equal to zero, and the current value is not changed. + [propput] HRESULT PageHeight([in] double pageHeight); + + /// The top margin in inches. The default is 1 cm, or ~0.4 inches. + [propget] HRESULT MarginTop([out, retval] double* marginTop); + + /// Sets the `MarginTop` property. A margin cannot be less than zero. + /// Returns `E_INVALIDARG` if an invalid value is provided, and the current + /// value is not changed. + [propput] HRESULT MarginTop([in] double marginTop); + + /// The bottom margin in inches. The default is 1 cm, or ~0.4 inches. + [propget] HRESULT MarginBottom([out, retval] double* marginBottom); + + /// Sets the `MarginBottom` property. A margin cannot be less than zero. + /// Returns `E_INVALIDARG` if an invalid value is provided, and the current + /// value is not changed. + [propput] HRESULT MarginBottom([in] double marginBottom); + + /// The left margin in inches. The default is 1 cm, or ~0.4 inches. + [propget] HRESULT MarginLeft([out, retval] double* marginLeft); + + /// Sets the `MarginLeft` property. A margin cannot be less than zero. + /// Returns `E_INVALIDARG` if an invalid value is provided, and the current + /// value is not changed. + [propput] HRESULT MarginLeft([in] double marginLeft); + + /// The right margin in inches. The default is 1 cm, or ~0.4 inches. + [propget] HRESULT MarginRight([out, retval] double* marginRight); + + /// Set the `MarginRight` property.A margin cannot be less than zero. + /// Returns `E_INVALIDARG` if an invalid value is provided, and the current + /// value is not changed. + [propput] HRESULT MarginRight([in] double marginRight); + + /// `TRUE` if background colors and images should be printed. The default value + /// is `FALSE`. + [propget] HRESULT ShouldPrintBackgrounds( + [out, retval] BOOL* shouldPrintBackgrounds); + + /// Set the `ShouldPrintBackgrounds` property. + [propput] HRESULT ShouldPrintBackgrounds([in] BOOL shouldPrintBackgrounds); + + /// `TRUE` if only the current end user's selection of HTML in the document + /// should be printed. The default value is `FALSE`. + [propget] HRESULT ShouldPrintSelectionOnly( + [out, retval] BOOL* shouldPrintSelectionOnly); + + /// Set the `ShouldPrintSelectionOnly` property. + [propput] HRESULT ShouldPrintSelectionOnly( + [in] BOOL shouldPrintSelectionOnly); + + /// `TRUE` if header and footer should be printed. The default value is `FALSE`. + /// The header consists of the date and time of printing, and the title of the + /// page. The footer consists of the URI and page number. The height of the + /// header and footer is 0.5 cm, or ~0.2 inches. + [propget] HRESULT ShouldPrintHeaderAndFooter( + [out, retval] BOOL* shouldPrintHeaderAndFooter); + + /// Set the `ShouldPrintHeaderAndFooter` property. + [propput] HRESULT ShouldPrintHeaderAndFooter( + [in] BOOL shouldPrintHeaderAndFooter); + + /// The title in the header if `ShouldPrintHeaderAndFooter` is `TRUE`. The + /// default value is the title of the current document. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT HeaderTitle([out, retval] LPWSTR* headerTitle); + + /// Set the `HeaderTitle` property. If an empty string or null value is + /// provided, no title is shown in the header. + [propput] HRESULT HeaderTitle([in] LPCWSTR headerTitle); + + /// The URI in the footer if `ShouldPrintHeaderAndFooter` is `TRUE`. The + /// default value is the current URI. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT FooterUri([out, retval] LPWSTR* footerUri); + + /// Set the `FooterUri` property. If an empty string or null value is + /// provided, no URI is shown in the footer. + [propput] HRESULT FooterUri([in] LPCWSTR footerUri); +} + +/// The caller implements this interface to receive the TrySuspend result. +[uuid(00F206A7-9D17-4605-91F6-4E8E4DE192E3), object, pointer_default(unique)] +interface ICoreWebView2TrySuspendCompletedHandler : IUnknown { + + /// Provides the result of the TrySuspend operation. + /// See [Sleeping Tabs FAQ](https://techcommunity.microsoft.com/t5/articles/sleeping-tabs-faq/m-p/1705434) + /// for conditions that might prevent WebView from being suspended. In those situations, + /// isSuccessful will be false and errorCode is S_OK. + HRESULT Invoke([in] HRESULT errorCode, [in] BOOL isSuccessful); + +} + +/// The owner of the `CoreWebView2` object that provides support for resizing, +/// showing and hiding, focusing, and other functionality related to +/// windowing and composition. The `CoreWebView2Controller` owns the +/// `CoreWebView2`, and if all references to the `CoreWebView2Controller` go +/// away, the WebView is closed. +[uuid(4d00c0d1-9434-4eb6-8078-8697a560334f), object, pointer_default(unique)] +interface ICoreWebView2Controller : IUnknown { + + /// The `IsVisible` property determines whether to show or hide the WebView2. + /// If `IsVisible` is set to `FALSE`, the WebView2 is transparent and is + /// not rendered. However, this does not affect the window containing the + /// WebView2 (the `HWND` parameter that was passed to + /// `CreateCoreWebView2Controller`). If you want that window to disappear + /// too, run `ShowWindow` on it directly in addition to modifying the + /// `IsVisible` property. WebView2 as a child window does not get window + /// messages when the top window is minimized or restored. For performance + /// reasons, developers should set the `IsVisible` property of the WebView to + /// `FALSE` when the app window is minimized and back to `TRUE` when the app + /// window is restored. The app window does this by handling + /// `SIZE_MINIMIZED and SIZE_RESTORED` command upon receiving `WM_SIZE` + /// message. + /// + /// There are CPU and memory benefits when the page is hidden. For instance, + /// Chromium has code that throttles activities on the page like animations + /// and some tasks are run less frequently. Similarly, WebView2 will + /// purge some caches to reduce memory usage. + /// + /// \snippet ViewComponent.cpp ToggleIsVisible + [propget] HRESULT IsVisible([out, retval] BOOL* isVisible); + + /// Sets the `IsVisible` property. + /// + /// \snippet ViewComponent.cpp ToggleIsVisibleOnMinimize + [propput] HRESULT IsVisible([in] BOOL isVisible); + + /// The WebView bounds. Bounds are relative to the parent `HWND`. The app + /// has two ways to position a WebView. + /// + /// * Create a child `HWND` that is the WebView parent `HWND`. Position + /// the window where the WebView should be. Use `(0, 0)` for the + /// top-left corner (the offset) of the `Bounds` of the WebView. + /// * Use the top-most window of the app as the WebView parent HWND. For + /// example, to position WebView correctly in the app, set the top-left + /// corner of the Bound of the WebView. + /// + /// The values of `Bounds` are limited by the coordinate space of the host. + + [propget] HRESULT Bounds([out, retval] RECT* bounds); + + /// Sets the `Bounds` property. + /// + /// \snippet ViewComponent.cpp ResizeWebView + + [propput] HRESULT Bounds([in] RECT bounds); + + /// The zoom factor for the WebView. + /// + /// \> [!NOTE]\n\> Changing zoom factor may cause `window.innerWidth`, + /// `window.innerHeight`, both, and page layout to change. A zoom factor + /// that is applied by the host by running `ZoomFactor` becomes the new + /// default zoom for the WebView. The zoom factor applies across navigations + /// and is the zoom factor WebView is returned to when the user chooses + /// Ctrl+0. When the zoom factor is changed by the user (resulting in + /// the app receiving `ZoomFactorChanged`), that zoom applies only for the + /// current page. Any user applied zoom is only for the current page and is + /// reset on a navigation. Specifying a `zoomFactor` less than or equal to + /// `0` is not allowed. WebView also has an internal supported zoom factor + /// range. When a specified zoom factor is out of that range, it is + /// normalized to be within the range, and a `ZoomFactorChanged` event is + /// triggered for the real applied zoom factor. When the range normalization + /// happens, the `ZoomFactor` property reports the zoom factor specified + /// during the previous modification of the `ZoomFactor` property until the + /// `ZoomFactorChanged` event is received after WebView applies the + /// normalized zoom factor. + + [propget] HRESULT ZoomFactor([out, retval] double* zoomFactor); + + /// Sets the `ZoomFactor` property. + + [propput] HRESULT ZoomFactor([in] double zoomFactor); + + /// Adds an event handler for the `ZoomFactorChanged` event. + /// `ZoomFactorChanged` runs when the `ZoomFactor` property of the WebView + /// changes. The event may run because the `ZoomFactor` property was + /// modified, or due to the user manually modifying the zoom. When it is + /// modified using the `ZoomFactor` property, the internal zoom factor is + /// updated immediately and no `ZoomFactorChanged` event is triggered. + /// WebView associates the last used zoom factor for each site. It is + /// possible for the zoom factor to change when navigating to a different + /// page. When the zoom factor changes due to a navigation change, the + /// `ZoomFactorChanged` event runs right after the `ContentLoading` event. + /// + /// \snippet ViewComponent.cpp ZoomFactorChanged + + HRESULT add_ZoomFactorChanged( + [in] ICoreWebView2ZoomFactorChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_ZoomFactorChanged`. + + HRESULT remove_ZoomFactorChanged( + [in] EventRegistrationToken token); + + /// Updates `Bounds` and `ZoomFactor` properties at the same time. This + /// operation is atomic from the perspective of the host. After returning + /// from this function, the `Bounds` and `ZoomFactor` properties are both + /// updated if the function is successful, or neither is updated if the + /// function fails. If `Bounds` and `ZoomFactor` are both updated by the + /// same scale (for example, `Bounds` and `ZoomFactor` are both doubled), + /// then the page does not display a change in `window.innerWidth` or + /// `window.innerHeight` and the WebView renders the content at the new size + /// and zoom without intermediate renderings. This function also updates + /// just one of `ZoomFactor` or `Bounds` by passing in the new value for one + /// and the current value for the other. + /// + /// \snippet ViewComponent.cpp SetBoundsAndZoomFactor + + HRESULT SetBoundsAndZoomFactor([in] RECT bounds, [in] double zoomFactor); + + /// Moves focus into WebView. WebView gets focus and focus is set to + /// correspondent element in the page hosted in the WebView. For + /// Programmatic reason, focus is set to previously focused element or the + /// default element if no previously focused element exists. For `Next` + /// reason, focus is set to the first element. For `Previous` reason, focus + /// is set to the last element. WebView changes focus through user + /// interaction including selecting into a WebView or Tab into it. For + /// tabbing, the app runs MoveFocus with Next or Previous to align with Tab + /// and Shift+Tab respectively when it decides the WebView is the next + /// element that may exist in a tab. Or, the app runs `IsDialogMessage` + /// as part of the associated message loop to allow the platform to auto + /// handle tabbing. The platform rotates through all windows with + /// `WS_TABSTOP`. When the WebView gets focus from `IsDialogMessage`, it is + /// internally put the focus on the first or last element for tab and + /// Shift+Tab respectively. + /// + /// \snippet App.cpp MoveFocus0 + /// + /// \snippet ControlComponent.cpp MoveFocus1 + /// + /// \snippet ControlComponent.cpp MoveFocus2 + + HRESULT MoveFocus([in] COREWEBVIEW2_MOVE_FOCUS_REASON reason); + + /// Adds an event handler for the `MoveFocusRequested` event. + /// `MoveFocusRequested` runs when user tries to tab out of the WebView. The + /// focus of the WebView has not changed when this event is run. + /// + /// \snippet ControlComponent.cpp MoveFocusRequested + + HRESULT add_MoveFocusRequested( + [in] ICoreWebView2MoveFocusRequestedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Removes an event handler previously added with `add_MoveFocusRequested`. + + HRESULT remove_MoveFocusRequested( + [in] EventRegistrationToken token); + + /// Adds an event handler for the `GotFocus` event. `GotFocus` runs when + /// WebView has focus. + + HRESULT add_GotFocus( + [in] ICoreWebView2FocusChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Removes an event handler previously added with `add_GotFocus`. + + HRESULT remove_GotFocus( + [in] EventRegistrationToken token); + + /// Adds an event handler for the `LostFocus` event. `LostFocus` runs when + /// WebView loses focus. In the case where `MoveFocusRequested` event is + /// run, the focus is still on WebView when `MoveFocusRequested` event runs. + /// `LostFocus` only runs afterwards when code of the app or default action + /// of `MoveFocusRequested` event set focus away from WebView. + + HRESULT add_LostFocus( + [in] ICoreWebView2FocusChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Removes an event handler previously added with `add_LostFocus`. + + HRESULT remove_LostFocus( + [in] EventRegistrationToken token); + + /// Adds an event handler for the `AcceleratorKeyPressed` event. + /// `AcceleratorKeyPressed` runs when an accelerator key or key combo is + /// pressed or released while the WebView is focused. A key is considered an + /// accelerator if either of the following conditions are true. + /// + /// * Ctrl or Alt is currently being held. + /// * The pressed key does not map to a character. + /// + /// A few specific keys are never considered accelerators, such as Shift. + /// The `Escape` key is always considered an accelerator. + /// + /// Auto-repeated key events caused by holding the key down also triggers + /// this event. Filter out the auto-repeated key events by verifying the + /// `KeyEventLParam` or `PhysicalKeyStatus` event args. + /// + /// In windowed mode, the event handler is run synchronously. Until you + /// run `Handled()` on the event args or the event handler returns, the + /// browser process is blocked and outgoing cross-process COM requests fail + /// with `RPC_E_CANTCALLOUT_ININPUTSYNCCALL`. All `CoreWebView2` API methods + /// work, however. + /// + /// In windowless mode, the event handler is run asynchronously. Further + /// input do not reach the browser until the event handler returns or + /// `Handled()` is run, but the browser process is not blocked, and outgoing + /// COM requests work normally. + /// + /// It is recommended to run `Handled(TRUE)` as early as are able to know + /// that you want to handle the accelerator key. + /// + /// \snippet ControlComponent.cpp AcceleratorKeyPressed + + HRESULT add_AcceleratorKeyPressed( + [in] ICoreWebView2AcceleratorKeyPressedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Removes an event handler previously added with + /// `add_AcceleratorKeyPressed`. + + HRESULT remove_AcceleratorKeyPressed( + [in] EventRegistrationToken token); + + /// The parent window provided by the app that this WebView is using to + /// render content. This API initially returns the window passed into + /// `CreateCoreWebView2Controller`. + + [propget] HRESULT ParentWindow([out, retval] HWND* parentWindow); + + /// Sets the parent window for the WebView. This causes the WebView to + /// re-parent the main WebView window to the newly provided window. + + [propput] HRESULT ParentWindow([in] HWND parentWindow); + + /// This is a notification separate from `Bounds` that tells WebView that the + /// main WebView parent (or any ancestor) `HWND` moved. This is needed + /// for accessibility and certain dialogs in WebView to work correctly. + /// + /// \snippet ViewComponent.cpp NotifyParentWindowPositionChanged + + HRESULT NotifyParentWindowPositionChanged(); + + /// Closes the WebView and cleans up the underlying browser instance. + /// Cleaning up the browser instance releases the resources powering the + /// WebView. The browser instance is shut down if no other WebViews are + /// using it. + /// + /// After running `Close`, most methods will fail and event handlers stop + /// running. Specifically, the WebView releases the associated references to + /// any associated event handlers when `Close` is run. + /// + /// `Close` is implicitly run when the `CoreWebView2Controller` loses the + /// final reference and is destructed. But it is best practice to + /// explicitly run `Close` to avoid any accidental cycle of references + /// between the WebView and the app code. Specifically, if you capture a + /// reference to the WebView in an event handler you create a reference cycle + /// between the WebView and the event handler. Run `Close` to break the + /// cycle by releasing all event handlers. But to avoid the situation, it is + /// best to both explicitly run `Close` on the WebView and to not capture a + /// reference to the WebView to ensure the WebView is cleaned up correctly. + /// `Close` is synchronous and won't trigger the `beforeunload` event. + /// + /// \snippet AppWindow.cpp Close + HRESULT Close(); + + /// Gets the `CoreWebView2` associated with this `CoreWebView2Controller`. + + [propget] HRESULT CoreWebView2([out, retval] ICoreWebView2** coreWebView2); +} + +/// A continuation of the ICoreWebView2Controller interface. +[uuid(c979903e-d4ca-4228-92eb-47ee3fa96eab), object, pointer_default(unique)] +interface ICoreWebView2Controller2 : ICoreWebView2Controller { + /// The `DefaultBackgroundColor` property is the color WebView renders + /// underneath all web content. This means WebView renders this color when + /// there is no web content loaded such as before the initial navigation or + /// between navigations. This also means web pages with undefined css + /// background properties or background properties containing transparent + /// pixels will render their contents over this color. Web pages with defined + /// and opaque background properties that span the page will obscure the + /// `DefaultBackgroundColor` and display normally. The default value for this + /// property is white to resemble the native browser experience. + /// + /// The Color is specified by the COREWEBVIEW2_COLOR that represents an RGBA + /// value. The `A` represents an Alpha value, meaning + /// `DefaultBackgroundColor` can be transparent. In the case of a transparent + /// `DefaultBackgroundColor` WebView will render hosting app content as the + /// background. This Alpha value is not supported on Windows 7. Any `A` value + /// other than 255 will result in E_INVALIDARG on Windows 7. + /// It is supported on all other WebView compatible platforms. + /// + /// Semi-transparent colors are not currently supported by this API and + /// setting `DefaultBackgroundColor` to a semi-transparent color will fail + /// with E_INVALIDARG. The only supported alpha values are 0 and 255, all + /// other values will result in E_INVALIDARG. + /// `DefaultBackgroundColor` can only be an opaque color or transparent. + /// + /// This value may also be set by using the + /// `WEBVIEW2_DEFAULT_BACKGROUND_COLOR` environment variable. There is a + /// known issue with background color where setting the color by API can + /// still leave the app with a white flicker before the + /// `DefaultBackgroundColor` takes effect. Setting the color via environment + /// variable solves this issue. The value must be a hex value that can + /// optionally prepend a 0x. The value must account for the alpha value + /// which is represented by the first 2 digits. So any hex value fewer than 8 + /// digits will assume a prepended 00 to the hex value and result in a + /// transparent color. + /// `get_DefaultBackgroundColor` will return the result of this environment + /// variable if used. This environment variable can only set the + /// `DefaultBackgroundColor` once. Subsequent updates to background color + /// must be done through API call. + /// + /// \snippet ViewComponent.cpp DefaultBackgroundColor + [propget] HRESULT DefaultBackgroundColor( + [out, retval] COREWEBVIEW2_COLOR* backgroundColor); + + /// Sets the `DefaultBackgroundColor` property. + [propput] HRESULT DefaultBackgroundColor( + [in] COREWEBVIEW2_COLOR backgroundColor); +} + +/// A continuation of the ICoreWebView2Controller2 interface. +[uuid(f9614724-5d2b-41dc-aef7-73d62b51543b), object, pointer_default(unique)] +interface ICoreWebView2Controller3 : ICoreWebView2Controller2 { + /// The rasterization scale for the WebView. The rasterization scale is the + /// combination of the monitor DPI scale and text scaling set by the user. + /// This value should be updated when the DPI scale of the app's top level + /// window changes (i.e. monitor DPI scale changes or window changes monitor) + /// or when the text scale factor of the system changes. + /// + /// \snippet AppWindow.cpp DPIChanged + /// + /// \snippet AppWindow.cpp TextScaleChanged1 + /// + /// \snippet AppWindow.cpp TextScaleChanged2 + /// + /// Rasterization scale applies to the WebView content, as well as + /// popups, context menus, scroll bars, and so on. Normal app scaling + /// scenarios should use the ZoomFactor property or SetBoundsAndZoomFactor + /// API which only scale the rendered HTML content and not popups, context + /// menus, scroll bars, and so on. + /// + /// \snippet ViewComponent.cpp RasterizationScale + [propget] HRESULT RasterizationScale([out, retval] double* scale); + /// Set the rasterization scale property. + [propput] HRESULT RasterizationScale([in] double scale); + + /// ShouldDetectMonitorScaleChanges property determines whether the WebView + /// attempts to track monitor DPI scale changes. When true, the WebView will + /// track monitor DPI scale changes, update the RasterizationScale property, + /// and raises RasterizationScaleChanged event. When false, the WebView will + /// not track monitor DPI scale changes, and the app must update the + /// RasterizationScale property itself. RasterizationScaleChanged event will + /// never raise when ShouldDetectMonitorScaleChanges is false. Apps that want + /// to set their own rasterization scale should set this property to false to + /// avoid the WebView2 updating the RasterizationScale property to match the + /// monitor DPI scale. + [propget] HRESULT ShouldDetectMonitorScaleChanges([out, retval] BOOL* value); + /// Set the ShouldDetectMonitorScaleChanges property. + [propput] HRESULT ShouldDetectMonitorScaleChanges([in] BOOL value); + + /// Add an event handler for the RasterizationScaleChanged event. + /// The event is raised when the WebView detects that the monitor DPI scale + /// has changed, ShouldDetectMonitorScaleChanges is true, and the WebView has + /// changed the RasterizationScale property. + /// + /// \snippet ViewComponent.cpp RasterizationScaleChanged + HRESULT add_RasterizationScaleChanged( + [in] ICoreWebView2RasterizationScaleChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + /// Remove an event handler previously added with + /// add_RasterizationScaleChanged. + HRESULT remove_RasterizationScaleChanged( + [in] EventRegistrationToken token); + + /// BoundsMode affects how setting the Bounds and RasterizationScale + /// properties work. Bounds mode can either be in COREWEBVIEW2_BOUNDS_MODE_USE_RAW_PIXELS + /// mode or COREWEBVIEW2_BOUNDS_MODE_USE_RASTERIZATION_SCALE mode. + /// + /// When the mode is in COREWEBVIEW2_BOUNDS_MODE_USE_RAW_PIXELS, setting the bounds + /// property will set the size of the WebView in raw screen pixels. Changing + /// the rasterization scale in this mode won't change the raw pixel size of + /// the WebView and will only change the rasterization scale. + /// + /// When the mode is in COREWEBVIEW2_BOUNDS_MODE_USE_RASTERIZATION_SCALE, setting the + /// bounds property will change the logical size of the WebView which can be + /// described by the following equation: + /// ```text + /// Logical size * rasterization scale = Raw Pixel size + /// ``` + /// In this case, changing the rasterization scale will keep the logical size + /// the same and change the raw pixel size. + /// + /// \snippet ViewComponent.cpp BoundsMode + [propget] HRESULT BoundsMode( + [out, retval] COREWEBVIEW2_BOUNDS_MODE* boundsMode); + /// Set the BoundsMode property. + [propput] HRESULT BoundsMode([in] COREWEBVIEW2_BOUNDS_MODE boundsMode); +} + +/// This is the ICoreWebView2Controller4 interface. +/// The ICoreWebView2Controller4 provides interface to enable/disable external drop. +[uuid(97d418d5-a426-4e49-a151-e1a10f327d9e), object, pointer_default(unique)] +interface ICoreWebView2Controller4 : ICoreWebView2Controller3 { + /// Gets the `AllowExternalDrop` property which is used to configure the + /// capability that dragging objects from outside the bounds of webview2 and + /// dropping into webview2 is allowed or disallowed. The default value is + /// TRUE. + /// + /// \snippet SettingsComponent.cpp ToggleAllowExternalDrop + [propget] HRESULT AllowExternalDrop([ out, retval ] BOOL * value); + /// Sets the `AllowExternalDrop` property which is used to configure the + /// capability that dragging objects from outside the bounds of webview2 and + /// dropping into webview2 is allowed or disallowed. + /// + /// \snippet SettingsComponent.cpp ToggleAllowExternalDrop + [propput] HRESULT AllowExternalDrop([in] BOOL value); +} + +/// This interface is an extension of the ICoreWebView2Controller interface to +/// support visual hosting. An object implementing the +/// ICoreWebView2CompositionController interface will also implement +/// ICoreWebView2Controller. Callers are expected to use +/// ICoreWebView2Controller for resizing, visibility, focus, and so on, and +/// then use ICoreWebView2CompositionController to connect to a composition +/// tree and provide input meant for the WebView. +[uuid(3df9b733-b9ae-4a15-86b4-eb9ee9826469), object, pointer_default(unique)] +interface ICoreWebView2CompositionController : IUnknown { + /// The RootVisualTarget is a visual in the hosting app's visual tree. This + /// visual is where the WebView will connect its visual tree. The app uses + /// this visual to position the WebView within the app. The app still needs + /// to use the Bounds property to size the WebView. The RootVisualTarget + /// property can be an IDCompositionVisual or a + /// Windows::UI::Composition::ContainerVisual. WebView will connect its visual + /// tree to the provided visual before returning from the property setter. The + /// app needs to commit on its device setting the RootVisualTarget property. + /// The RootVisualTarget property supports being set to nullptr to disconnect + /// the WebView from the app's visual tree. + /// \snippet ViewComponent.cpp SetRootVisualTarget + /// \snippet ViewComponent.cpp BuildDCompTree + [propget] HRESULT RootVisualTarget([out, retval] IUnknown** target); + /// Set the RootVisualTarget property. + [propput] HRESULT RootVisualTarget([in] IUnknown* target); + + /// If eventKind is COREWEBVIEW2_MOUSE_EVENT_KIND_HORIZONTAL_WHEEL or + /// COREWEBVIEW2_MOUSE_EVENT_KIND_WHEEL, then mouseData specifies the amount of + /// wheel movement. A positive value indicates that the wheel was rotated + /// forward, away from the user; a negative value indicates that the wheel was + /// rotated backward, toward the user. One wheel click is defined as + /// WHEEL_DELTA, which is 120. + /// If eventKind is COREWEBVIEW2_MOUSE_EVENT_KIND_X_BUTTON_DOUBLE_CLICK + /// COREWEBVIEW2_MOUSE_EVENT_KIND_X_BUTTON_DOWN, or + /// COREWEBVIEW2_MOUSE_EVENT_KIND_X_BUTTON_UP, then mouseData specifies which X + /// buttons were pressed or released. This value should be 1 if the first X + /// button is pressed/released and 2 if the second X button is + /// pressed/released. + /// If eventKind is COREWEBVIEW2_MOUSE_EVENT_KIND_LEAVE, then virtualKeys, + /// mouseData, and point should all be zero. + /// If eventKind is any other value, then mouseData should be zero. + /// Point is expected to be in the client coordinate space of the WebView. + /// To track mouse events that start in the WebView and can potentially move + /// outside of the WebView and host application, calling SetCapture and + /// ReleaseCapture is recommended. + /// To dismiss hover popups, it is also recommended to send + /// COREWEBVIEW2_MOUSE_EVENT_KIND_LEAVE messages. + /// \snippet ViewComponent.cpp SendMouseInput + HRESULT SendMouseInput( + [in] COREWEBVIEW2_MOUSE_EVENT_KIND eventKind, + [in] COREWEBVIEW2_MOUSE_EVENT_VIRTUAL_KEYS virtualKeys, + [in] UINT32 mouseData, + [in] POINT point); + + /// SendPointerInput accepts touch or pen pointer input of types defined in + /// COREWEBVIEW2_POINTER_EVENT_KIND. Any pointer input from the system must be + /// converted into an ICoreWebView2PointerInfo first. + HRESULT SendPointerInput( + [in] COREWEBVIEW2_POINTER_EVENT_KIND eventKind, + [in] ICoreWebView2PointerInfo* pointerInfo); + + /// The current cursor that WebView thinks it should be. The cursor should be + /// set in WM_SETCURSOR through \::SetCursor or set on the corresponding + /// parent/ancestor HWND of the WebView through \::SetClassLongPtr. The HCURSOR + /// can be freed so CopyCursor/DestroyCursor is recommended to keep your own + /// copy if you are doing more than immediately setting the cursor. + [propget] HRESULT Cursor([out, retval] HCURSOR* cursor); + + /// The current system cursor ID reported by the underlying rendering engine + /// for WebView. For example, most of the time, when the cursor is over text, + /// this will return the int value for IDC_IBEAM. The systemCursorId is only + /// valid if the rendering engine reports a default Windows cursor resource + /// value. Navigate to + /// [LoadCursorW](/windows/win32/api/winuser/nf-winuser-loadcursorw) for more + /// details. Otherwise, if custom CSS cursors are being used, this will return + /// 0. To actually use systemCursorId in LoadCursor or LoadImage, + /// MAKEINTRESOURCE must be called on it first. + /// + /// \snippet ViewComponent.cpp SystemCursorId + [propget] HRESULT SystemCursorId([out, retval] UINT32* systemCursorId); + + /// Add an event handler for the CursorChanged event. + /// The event is raised when WebView thinks the cursor should be changed. For + /// example, when the mouse cursor is currently the default cursor but is then + /// moved over text, it may try to change to the IBeam cursor. + /// + /// It is expected for the developer to send + /// COREWEBVIEW2_MOUSE_EVENT_KIND_LEAVE messages (in addition to + /// COREWEBVIEW2_MOUSE_EVENT_KIND_MOVE messages) through the SendMouseInput + /// API. This is to ensure that the mouse is actually within the WebView that + /// sends out CursorChanged events. + /// + /// \snippet ViewComponent.cpp CursorChanged + HRESULT add_CursorChanged( + [in] ICoreWebView2CursorChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + /// Remove an event handler previously added with add_CursorChanged. + HRESULT remove_CursorChanged( + [in] EventRegistrationToken token); +} + +/// A continuation of the ICoreWebView2CompositionController interface. +[uuid(0b6a3d24-49cb-4806-ba20-b5e0734a7b26), object, pointer_default(unique)] +interface ICoreWebView2CompositionController2 : ICoreWebView2CompositionController { + /// Returns the Automation Provider for the WebView. This object implements + /// IRawElementProviderSimple. + [propget] HRESULT AutomationProvider([out, retval] IUnknown** provider); +} + + +/// This interface is the continuation of the +/// ICoreWebView2CompositionController2 interface to manage drag and drop. +[uuid(9570570e-4d76-4361-9ee1-f04d0dbdfb1e), object, pointer_default(unique)] +interface ICoreWebView2CompositionController3 : ICoreWebView2CompositionController2 { + /// This function corresponds to [IDropTarget::DragEnter](/windows/win32/api/oleidl/nf-oleidl-idroptarget-dragenter). + /// + /// This function has a dependency on AllowExternalDrop property of + /// CoreWebView2Controller and return E_FAIL to callers to indicate this + /// operation is not allowed if AllowExternalDrop property is set to false. + /// + /// The hosting application must register as an IDropTarget and implement + /// and forward DragEnter calls to this function. + /// + /// point parameter must be modified to include the WebView's offset and be in + /// the WebView's client coordinates (Similar to how SendMouseInput works). + /// + /// \snippet DropTarget.cpp DragEnter + HRESULT DragEnter( + [in] IDataObject* dataObject, + [in] DWORD keyState, + [in] POINT point, + [out, retval] DWORD* effect); + + /// This function corresponds to [IDropTarget::DragLeave](/windows/win32/api/oleidl/nf-oleidl-idroptarget-dragleave). + /// + /// This function has a dependency on AllowExternalDrop property of + /// CoreWebView2Controller and return E_FAIL to callers to indicate this + /// operation is not allowed if AllowExternalDrop property is set to false. + /// + /// The hosting application must register as an IDropTarget and implement + /// and forward DragLeave calls to this function. + /// + /// \snippet DropTarget.cpp DragLeave + HRESULT DragLeave(); + + /// This function corresponds to [IDropTarget::DragOver](/windows/win32/api/oleidl/nf-oleidl-idroptarget-dragover). + /// + /// This function has a dependency on AllowExternalDrop property of + /// CoreWebView2Controller and return E_FAIL to callers to indicate this + /// operation is not allowed if AllowExternalDrop property is set to false. + /// + /// The hosting application must register as an IDropTarget and implement + /// and forward DragOver calls to this function. + /// + /// point parameter must be modified to include the WebView's offset and be in + /// the WebView's client coordinates (Similar to how SendMouseInput works). + /// + /// \snippet DropTarget.cpp DragOver + HRESULT DragOver( + [in] DWORD keyState, + [in] POINT point, + [out, retval] DWORD* effect); + + /// This function corresponds to [IDropTarget::Drop](/windows/win32/api/oleidl/nf-oleidl-idroptarget-drop). + /// + /// This function has a dependency on AllowExternalDrop property of + /// CoreWebView2Controller and return E_FAIL to callers to indicate this + /// operation is not allowed if AllowExternalDrop property is set to false. + /// + /// The hosting application must register as an IDropTarget and implement + /// and forward Drop calls to this function. + /// + /// point parameter must be modified to include the WebView's offset and be in + /// the WebView's client coordinates (Similar to how SendMouseInput works). + /// + /// \snippet DropTarget.cpp Drop + HRESULT Drop( + [in] IDataObject* dataObject, + [in] DWORD keyState, + [in] POINT point, + [out, retval] DWORD* effect); +} + +/// This interface is used to complete deferrals on event args that support +/// getting deferrals using the `GetDeferral` method. + +[uuid(c10e7f7b-b585-46f0-a623-8befbf3e4ee0), object, pointer_default(unique)] +interface ICoreWebView2Deferral : IUnknown { + + /// Completes the associated deferred event. Complete should only be run + /// once for each deferral taken. + + HRESULT Complete(); +} + +/// Defines properties that enable, disable, or modify WebView features. +/// Changes to `IsGeneralAutofillEnabled` and `IsPasswordAutosaveEnabled` +/// apply immediately, while other setting changes made after `NavigationStarting` +/// event do not apply until the next top-level navigation. + +[uuid(e562e4f0-d7fa-43ac-8d71-c05150499f00), object, pointer_default(unique)] +interface ICoreWebView2Settings : IUnknown { + + /// Controls if running JavaScript is enabled in all future navigations in + /// the WebView. This only affects scripts in the document. Scripts + /// injected with `ExecuteScript` runs even if script is disabled. + /// The default value is `TRUE`. + /// + /// \snippet SettingsComponent.cpp IsScriptEnabled + [propget] HRESULT IsScriptEnabled( + [out, retval] BOOL* isScriptEnabled); + + /// Sets the `IsScriptEnabled` property. + [propput] HRESULT IsScriptEnabled([in] BOOL isScriptEnabled); + + /// The `IsWebMessageEnabled` property is used when loading a new HTML + /// document. If set to `TRUE`, communication from the host to the top-level + /// HTML document of the WebView is allowed using `PostWebMessageAsJson`, + /// `PostWebMessageAsString`, and message event of `window.chrome.webview`. + /// For more information, navigate to PostWebMessageAsJson. Communication + /// from the top-level HTML document of the WebView to the host is allowed + /// using the postMessage function of `window.chrome.webview` and + /// `add_WebMessageReceived` method. For more information, navigate to + /// [add_WebMessageReceived](/microsoft-edge/webview2/reference/win32/icorewebview2#add_webmessagereceived). + /// If set to false, then communication is disallowed. `PostWebMessageAsJson` + /// and `PostWebMessageAsString` fails with `E_ACCESSDENIED` and + /// `window.chrome.webview.postMessage` fails by throwing an instance of an + /// `Error` object. The default value is `TRUE`. + /// + /// \snippet ScenarioWebMessage.cpp IsWebMessageEnabled + [propget] HRESULT IsWebMessageEnabled( + [out, retval] BOOL* isWebMessageEnabled); + + /// Sets the `IsWebMessageEnabled` property. + [propput] HRESULT IsWebMessageEnabled([in] BOOL isWebMessageEnabled); + + /// `AreDefaultScriptDialogsEnabled` is used when loading a new HTML + /// document. If set to `FALSE`, WebView2 does not render the default JavaScript + /// dialog box (Specifically those displayed by the JavaScript alert, + /// confirm, prompt functions and `beforeunload` event). Instead, if an + /// event handler is set using `add_ScriptDialogOpening`, WebView sends an + /// event that contains all of the information for the dialog and allow the + /// host app to show a custom UI. + /// The default value is `TRUE`. + [propget] HRESULT AreDefaultScriptDialogsEnabled( + [out, retval] BOOL* areDefaultScriptDialogsEnabled); + + /// Sets the `AreDefaultScriptDialogsEnabled` property. + [propput] HRESULT AreDefaultScriptDialogsEnabled( + [in] BOOL areDefaultScriptDialogsEnabled); + + /// `IsStatusBarEnabled` controls whether the status bar is displayed. The + /// status bar is usually displayed in the lower left of the WebView and + /// shows things such as the URI of a link when the user hovers over it and + /// other information. + /// The default value is `TRUE`. + /// The status bar UI can be altered by web content and should not be considered secure. + [propget] HRESULT IsStatusBarEnabled([out, retval] BOOL* isStatusBarEnabled); + + /// Sets the `IsStatusBarEnabled` property. + [propput] HRESULT IsStatusBarEnabled([in] BOOL isStatusBarEnabled); + + /// `AreDevToolsEnabled` controls whether the user is able to use the context + /// menu or keyboard shortcuts to open the DevTools window. + /// The default value is `TRUE`. + [propget] HRESULT AreDevToolsEnabled([out, retval] BOOL* areDevToolsEnabled); + + /// Sets the `AreDevToolsEnabled` property. + [propput] HRESULT AreDevToolsEnabled([in] BOOL areDevToolsEnabled); + + /// The `AreDefaultContextMenusEnabled` property is used to prevent default + /// context menus from being shown to user in WebView. + /// The default value is `TRUE`. + /// + /// \snippet SettingsComponent.cpp DisableContextMenu + [propget] HRESULT AreDefaultContextMenusEnabled([out, retval] BOOL* enabled); + + /// Sets the `AreDefaultContextMenusEnabled` property. + [propput] HRESULT AreDefaultContextMenusEnabled([in] BOOL enabled); + + /// The `AreHostObjectsAllowed` property is used to control whether host + /// objects are accessible from the page in WebView. + /// The default value is `TRUE`. + /// + /// \snippet SettingsComponent.cpp HostObjectsAccess + [propget] HRESULT AreHostObjectsAllowed([out, retval] BOOL* allowed); + + /// Sets the `AreHostObjectsAllowed` property. + + [propput] HRESULT AreHostObjectsAllowed([in] BOOL allowed); + + /// The `IsZoomControlEnabled` property is used to prevent the user from + /// impacting the zoom of the WebView. When disabled, the user is not able + /// to zoom using Ctrl++, Ctrl+-, or Ctrl+mouse wheel, but the zoom + /// is set using `ZoomFactor` API. The default value is `TRUE`. + /// + /// \snippet SettingsComponent.cpp DisableZoomControl + + [propget] HRESULT IsZoomControlEnabled([out, retval] BOOL* enabled); + + /// Sets the `IsZoomControlEnabled` property. + + [propput] HRESULT IsZoomControlEnabled([in] BOOL enabled); + + /// The `IsBuiltInErrorPageEnabled` property is used to disable built in + /// error page for navigation failure and render process failure. When + /// disabled, a blank page is displayed when the related error happens. + /// The default value is `TRUE`. + /// + /// \snippet SettingsComponent.cpp BuiltInErrorPageEnabled + [propget] HRESULT IsBuiltInErrorPageEnabled([out, retval] BOOL* enabled); + + /// Sets the `IsBuiltInErrorPageEnabled` property. + [propput] HRESULT IsBuiltInErrorPageEnabled([in] BOOL enabled); +} + +/// A continuation of the ICoreWebView2Settings interface that manages the user agent. + +[uuid(ee9a0f68-f46c-4e32-ac23-ef8cac224d2a), object, pointer_default(unique)] +interface ICoreWebView2Settings2 : ICoreWebView2Settings { + /// Returns the User Agent. The default value is the default User Agent of the + /// Microsoft Edge browser. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + /// + /// \snippet SettingsComponent.cpp UserAgent + [propget] HRESULT UserAgent([out, retval] LPWSTR* userAgent); + /// Sets the `UserAgent` property. This property may be overridden if + /// the User-Agent header is set in a request. If the parameter is empty + /// the User Agent will not be updated and the current User Agent will remain. + /// Returns `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)` if the owning WebView is + /// closed. + [propput] HRESULT UserAgent([in] LPCWSTR userAgent); +} + +/// A continuation of the ICoreWebView2Settings interface that manages whether +/// browser accelerator keys are enabled. +[uuid(fdb5ab74-af33-4854-84f0-0a631deb5eba), object, pointer_default(unique)] +interface ICoreWebView2Settings3 : ICoreWebView2Settings2 { + /// When this setting is set to FALSE, it disables all accelerator keys that + /// access features specific to a web browser, including but not limited to: + /// - Ctrl-F and F3 for Find on Page + /// - Ctrl-P for Print + /// - Ctrl-R and F5 for Reload + /// - Ctrl-Plus and Ctrl-Minus for zooming + /// - Ctrl-Shift-C and F12 for DevTools + /// - Special keys for browser functions, such as Back, Forward, and Search + /// + /// It does not disable accelerator keys related to movement and text editing, + /// such as: + /// - Home, End, Page Up, and Page Down + /// - Ctrl-X, Ctrl-C, Ctrl-V + /// - Ctrl-A for Select All + /// - Ctrl-Z for Undo + /// + /// Those accelerator keys will always be enabled unless they are handled in + /// the `AcceleratorKeyPressed` event. + /// + /// This setting has no effect on the `AcceleratorKeyPressed` event. The event + /// will be fired for all accelerator keys, whether they are enabled or not. + /// + /// The default value for `AreBrowserAcceleratorKeysEnabled` is TRUE. + /// + /// \snippet SettingsComponent.cpp AreBrowserAcceleratorKeysEnabled + [propget] HRESULT AreBrowserAcceleratorKeysEnabled( + [out, retval] BOOL* areBrowserAcceleratorKeysEnabled); + + /// Sets the `AreBrowserAcceleratorKeysEnabled` property. + [propput] HRESULT AreBrowserAcceleratorKeysEnabled( + [in] BOOL areBrowserAcceleratorKeysEnabled); +} + +/// A continuation of the ICoreWebView2Settings interface to manage autofill. +[uuid(cb56846c-4168-4d53-b04f-03b6d6796ff2), object, pointer_default(unique)] +interface ICoreWebView2Settings4 : ICoreWebView2Settings3 { + /// IsPasswordAutosaveEnabled controls whether autosave for password + /// information is enabled. The IsPasswordAutosaveEnabled property behaves + /// independently of the IsGeneralAutofillEnabled property. When IsPasswordAutosaveEnabled is + /// false, no new password data is saved and no Save/Update Password prompts are displayed. + /// However, if there was password data already saved before disabling this setting, + /// then that password information is auto-populated, suggestions are shown and clicking on + /// one will populate the fields. + /// When IsPasswordAutosaveEnabled is true, password information is auto-populated, + /// suggestions are shown and clicking on one will populate the fields, new data + /// is saved, and a Save/Update Password prompt is displayed. + /// It will take effect immediately after setting. + /// The default value is `FALSE`. + /// This property has the same value as + /// `CoreWebView2Profile.IsPasswordAutosaveEnabled`, and changing one will + /// change the other. All `CoreWebView2`s with the same `CoreWebView2Profile` + /// will share the same value for this property, so for the `CoreWebView2`s + /// with the same profile, their + /// `CoreWebView2Settings.IsPasswordAutosaveEnabled` and + /// `CoreWebView2Profile.IsPasswordAutosaveEnabled` will always have the same + /// value. + /// + /// \snippet SettingsComponent.cpp PasswordAutosaveEnabled + [propget] HRESULT IsPasswordAutosaveEnabled([out, retval] BOOL* value); + + /// Set the IsPasswordAutosaveEnabled property. + [propput] HRESULT IsPasswordAutosaveEnabled([in] BOOL value); + + /// IsGeneralAutofillEnabled controls whether autofill for information + /// like names, street and email addresses, phone numbers, and arbitrary input + /// is enabled. This excludes password and credit card information. When + /// IsGeneralAutofillEnabled is false, no suggestions appear, and no new information + /// is saved. When IsGeneralAutofillEnabled is true, information is saved, suggestions + /// appear and clicking on one will populate the form fields. + /// It will take effect immediately after setting. + /// The default value is `TRUE`. + /// This property has the same value as + /// `CoreWebView2Profile.IsGeneralAutofillEnabled`, and changing one will + /// change the other. All `CoreWebView2`s with the same `CoreWebView2Profile` + /// will share the same value for this property, so for the `CoreWebView2`s + /// with the same profile, their + /// `CoreWebView2Settings.IsGeneralAutofillEnabled` and + /// `CoreWebView2Profile.IsGeneralAutofillEnabled` will always have the same + /// value. + /// + /// \snippet SettingsComponent.cpp GeneralAutofillEnabled + [propget] HRESULT IsGeneralAutofillEnabled([out, retval] BOOL* value); + + /// Set the IsGeneralAutofillEnabled property. + [propput] HRESULT IsGeneralAutofillEnabled([in] BOOL value); +} + +/// A continuation of the ICoreWebView2Settings interface to manage pinch zoom. +[uuid(183e7052-1d03-43a0-ab99-98e043b66b39), object, pointer_default(unique)] +interface ICoreWebView2Settings5 : ICoreWebView2Settings4 { + /// Pinch-zoom, referred to as "Page Scale" zoom, is performed as a post-rendering step, + /// it changes the page scale factor property and scales the surface the web page is + /// rendered onto when user performs a pinch zooming action. It does not change the layout + /// but rather changes the viewport and clips the web content, the content outside of the + /// viewport isn't visible onscreen and users can't reach this content using mouse. + /// + /// The `IsPinchZoomEnabled` property enables or disables the ability of + /// the end user to use a pinching motion on touch input enabled devices + /// to scale the web content in the WebView2. It defaults to `TRUE`. + /// When set to `FALSE`, the end user cannot pinch zoom after the next navigation. + /// Disabling/Enabling `IsPinchZoomEnabled` only affects the end user's ability to use + /// pinch motions and does not change the page scale factor. + /// This API only affects the Page Scale zoom and has no effect on the + /// existing browser zoom properties (`IsZoomControlEnabled` and `ZoomFactor`) + /// or other end user mechanisms for zooming. + /// + /// \snippet SettingsComponent.cpp TogglePinchZoomEnabled + [propget] HRESULT IsPinchZoomEnabled([out, retval] BOOL* enabled); + /// Set the `IsPinchZoomEnabled` property + [propput] HRESULT IsPinchZoomEnabled([in] BOOL enabled); +} + +/// A continuation of the ICoreWebView2Settings interface to manage swipe navigation. +[uuid(11cb3acd-9bc8-43b8-83bf-f40753714f87), object, pointer_default(unique)] +interface ICoreWebView2Settings6 : ICoreWebView2Settings5 { + /// The `IsSwipeNavigationEnabled` property enables or disables the ability of the + /// end user to use swiping gesture on touch input enabled devices to + /// navigate in WebView2. It defaults to `TRUE`. + /// + /// When this property is `TRUE`, then all configured navigation gestures are enabled: + /// 1. Swiping left and right to navigate forward and backward is always configured. + /// 2. Swiping down to refresh is off by default and not exposed via our API currently, + /// it requires the "--pull-to-refresh" option to be included in the additional browser + /// arguments to be configured. (See put_AdditionalBrowserArguments.) + /// + /// When set to `FALSE`, the end user cannot swipe to navigate or pull to refresh. + /// This API only affects the overscrolling navigation functionality and has no + /// effect on the scrolling interaction used to explore the web content shown + /// in WebView2. + /// + /// Disabling/Enabling IsSwipeNavigationEnabled takes effect after the + /// next navigation. + /// + /// \snippet SettingsComponent.cpp ToggleSwipeNavigationEnabled + [propget] HRESULT IsSwipeNavigationEnabled([out, retval] BOOL* enabled); + /// Set the `IsSwipeNavigationEnabled` property + [propput] HRESULT IsSwipeNavigationEnabled([in] BOOL enabled); +} + +/// A continuation of the ICoreWebView2Settings interface to hide Pdf toolbar items. +[uuid(488dc902-35ef-42d2-bc7d-94b65c4bc49c), object, pointer_default(unique)] +interface ICoreWebView2Settings7 : ICoreWebView2Settings6 { + /// `HiddenPdfToolbarItems` is used to customize the PDF toolbar items. By default, it is COREWEBVIEW2_PDF_TOOLBAR_ITEMS_NONE and so it displays all of the items. + /// Changes to this property apply to all CoreWebView2s in the same environment and using the same profile. + /// Changes to this setting apply only after the next navigation. + /// \snippet SettingsComponent.cpp ToggleHidePdfToolbarItems + [propget] HRESULT HiddenPdfToolbarItems([out, retval] COREWEBVIEW2_PDF_TOOLBAR_ITEMS* hidden_pdf_toolbar_items); + + /// Set the `HiddenPdfToolbarItems` property. + [propput] HRESULT HiddenPdfToolbarItems([in] COREWEBVIEW2_PDF_TOOLBAR_ITEMS hidden_pdf_toolbar_items); +} + +/// A continuation of the ICoreWebView2Settings interface to manage smartscreen. +[uuid(9e6b0e8f-86ad-4e81-8147-a9b5edb68650), object, pointer_default(unique)] +interface ICoreWebView2Settings8 : ICoreWebView2Settings7 { + /// SmartScreen helps webviews identify reported phishing and malware websites + /// and also helps users make informed decisions about downloads. + /// `IsReputationCheckingRequired` is used to control whether SmartScreen + /// enabled or not. SmartScreen is enabled or disabled for all CoreWebView2s + /// using the same user data folder. If + /// CoreWebView2Setting.IsReputationCheckingRequired is true for any + /// CoreWebView2 using the same user data folder, then SmartScreen is enabled. + /// If CoreWebView2Setting.IsReputationCheckingRequired is false for all + /// CoreWebView2 using the same user data folder, then SmartScreen is + /// disabled. When it is changed, the change will be applied to all WebViews + /// using the same user data folder on the next navigation or download. The + /// default value for `IsReputationCheckingRequired` is true. If the newly + /// created CoreWebview2 does not set SmartScreen to false, when + /// navigating(Such as Navigate(), LoadDataUrl(), ExecuteScript(), etc.), the + /// default value will be applied to all CoreWebview2 using the same user data + /// folder. + /// \snippet SettingsComponent.cpp ToggleSmartScreen + [propget] HRESULT IsReputationCheckingRequired([out, retval] BOOL* value); + + /// Sets whether this webview2 instance needs SmartScreen protection for its content. + /// Set the `IsReputationCheckingRequired` property. + [propput] HRESULT IsReputationCheckingRequired([in] BOOL value); +} + +/// Event args for the `ProcessFailed` event. + +[uuid(8155a9a4-1474-4a86-8cae-151b0fa6b8ca), object, pointer_default(unique)] +interface ICoreWebView2ProcessFailedEventArgs : IUnknown { + + /// The kind of process failure that has occurred. `processFailedKind` is + /// `COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_EXITED` if the + /// failed process is the main frame's renderer, even if there were subframes + /// rendered by such process; all frames are gone when this happens. + [propget] HRESULT ProcessFailedKind( + [out, retval] COREWEBVIEW2_PROCESS_FAILED_KIND* processFailedKind); +} + +/// Receives `ProcessFailed` events. +[uuid(79e0aea4-990b-42d9-aa1d-0fcc2e5bc7f1), object, pointer_default(unique)] +interface ICoreWebView2ProcessFailedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. + + HRESULT Invoke( + [in] ICoreWebView2* sender, + [in] ICoreWebView2ProcessFailedEventArgs* args); +} + +/// Implements the interface to receive `ZoomFactorChanged` events. Use the +/// `ICoreWebView2Controller.ZoomFactor` property to get the modified zoom +/// factor. + +[uuid(b52d71d6-c4df-4543-a90c-64a3e60f38cb), object, pointer_default(unique)] +interface ICoreWebView2ZoomFactorChangedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. No event args exist + /// and the `args` parameter is set to `null`. + + HRESULT Invoke([in] ICoreWebView2Controller* sender, [in] IUnknown* args); +} + +/// Iterator for a collection of HTTP headers. For more information, navigate +/// to ICoreWebView2HttpRequestHeaders and ICoreWebView2HttpResponseHeaders. +/// +/// \snippet ScenarioWebViewEventMonitor.cpp HttpRequestHeaderIterator +[uuid(0702fc30-f43b-47bb-ab52-a42cb552ad9f), object, pointer_default(unique)] +interface ICoreWebView2HttpHeadersCollectionIterator : IUnknown { + + /// Get the name and value of the current HTTP header of the iterator. If + /// the previous `MoveNext` operation set the `hasNext` parameter to `FALSE`, + /// this method fails. + /// + /// The caller must free the returned strings with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + HRESULT GetCurrentHeader([out] LPWSTR* name, [out] LPWSTR* value); + + /// `TRUE` when the iterator has not run out of headers. If the collection + /// over which the iterator is iterating is empty or if the iterator has gone + /// past the end of the collection then this is `FALSE`. + + [propget] HRESULT HasCurrentHeader([out, retval] BOOL* hasCurrent); + + /// Move the iterator to the next HTTP header in the collection. + /// + /// \> [!NOTE]\n \> If no more HTTP headers exist, the `hasNext` parameter is set to + /// `FALSE`. After this occurs the `GetCurrentHeader` method fails. + + HRESULT MoveNext([out, retval] BOOL* hasNext); +} + +/// HTTP request headers. Used to inspect the HTTP request on +/// `WebResourceRequested` event and `NavigationStarting` event. +/// +/// \> [!NOTE]\n\> It is possible to modify the HTTP request from a `WebResourceRequested` +/// event, but not from a `NavigationStarting` event. +[uuid(e86cac0e-5523-465c-b536-8fb9fc8c8c60), object, pointer_default(unique)] +interface ICoreWebView2HttpRequestHeaders : IUnknown { + + /// Gets the header value matching the name. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + HRESULT GetHeader([in] LPCWSTR name, [out, retval] LPWSTR* value); + + /// Gets the header value matching the name using an iterator. + + HRESULT GetHeaders([in] LPCWSTR name, [out, retval] ICoreWebView2HttpHeadersCollectionIterator** iterator); + + /// Verifies that the headers contain an entry that matches the header name. + + HRESULT Contains([in] LPCWSTR name, [out, retval] BOOL* contains); + + /// Adds or updates header that matches the name. + + HRESULT SetHeader([in] LPCWSTR name, [in] LPCWSTR value); + + /// Removes header that matches the name. + + HRESULT RemoveHeader([in] LPCWSTR name); + + /// Gets an iterator over the collection of request headers. + + HRESULT GetIterator( + [out, retval] ICoreWebView2HttpHeadersCollectionIterator** iterator); +} + +/// HTTP response headers. Used to construct a `WebResourceResponse` for the +/// `WebResourceRequested` event. +[uuid(03c5ff5a-9b45-4a88-881c-89a9f328619c), object, pointer_default(unique)] +interface ICoreWebView2HttpResponseHeaders : IUnknown { + + /// Appends header line with name and value. + + HRESULT AppendHeader([in] LPCWSTR name, [in] LPCWSTR value); + + /// Verifies that the headers contain entries that match the header name. + + HRESULT Contains([in] LPCWSTR name, [out, retval] BOOL* contains); + + /// Gets the first header value in the collection matching the name. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + HRESULT GetHeader([in] LPCWSTR name, [out, retval] LPWSTR* value); + + /// Gets the header values matching the name. + + HRESULT GetHeaders([in] LPCWSTR name, [out, retval] ICoreWebView2HttpHeadersCollectionIterator** iterator); + + /// Gets an iterator over the collection of entire response headers. + + HRESULT GetIterator( + [out, retval] ICoreWebView2HttpHeadersCollectionIterator** iterator); +} + +/// An HTTP request used with the `WebResourceRequested` event. +[uuid(97055cd4-512c-4264-8b5f-e3f446cea6a5), object, pointer_default(unique)] +interface ICoreWebView2WebResourceRequest : IUnknown { + + /// The request URI. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + [propget] HRESULT Uri([out, retval] LPWSTR* uri); + + /// Sets the `Uri` property. + + [propput] HRESULT Uri([in] LPCWSTR uri); + + /// The HTTP request method. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + [propget] HRESULT Method([out, retval] LPWSTR* method); + + /// Sets the `Method` property. + + [propput] HRESULT Method([in] LPCWSTR method); + + /// The HTTP request message body as stream. POST data should be here. If a + /// stream is set, which overrides the message body, the stream must have + /// all the content data available by the time the `WebResourceRequested` + /// event deferral of this response is completed. Stream should be agile or + /// be created from a background STA to prevent performance impact to the UI + /// thread. `Null` means no content data. `IStream` semantics apply + /// (return `S_OK` to `Read` runs until all data is exhausted). + + [propget] HRESULT Content([out, retval] IStream** content); + + /// Sets the `Content` property. + + [propput] HRESULT Content([in] IStream* content); + + /// The mutable HTTP request headers + + [propget] HRESULT Headers([out, retval] ICoreWebView2HttpRequestHeaders** headers); +} + +/// An HTTP response used with the `WebResourceRequested` event. +[uuid(aafcc94f-fa27-48fd-97df-830ef75aaec9), object, pointer_default(unique)] +interface ICoreWebView2WebResourceResponse : IUnknown { + + /// HTTP response content as stream. Stream must have all the content data + /// available by the time the `WebResourceRequested` event deferral of this + /// response is completed. Stream should be agile or be created from a + /// background thread to prevent performance impact to the UI thread. `Null` + /// means no content data. `IStream` semantics apply (return `S_OK` to + /// `Read` runs until all data is exhausted). + + [propget] HRESULT Content([out, retval] IStream** content); + + /// Sets the `Content` property. + + [propput] HRESULT Content([in] IStream* content); + + /// Overridden HTTP response headers. + + [propget] HRESULT Headers([out, retval] ICoreWebView2HttpResponseHeaders** headers); + + /// The HTTP response status code. + + [propget] HRESULT StatusCode([out, retval] int* statusCode); + + /// Sets the `StatusCode` property. + + [propput] HRESULT StatusCode([in] int statusCode); + + /// The HTTP response reason phrase. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + [propget] HRESULT ReasonPhrase([out, retval] LPWSTR* reasonPhrase); + + /// Sets the `ReasonPhrase` property. + + [propput] HRESULT ReasonPhrase([in] LPCWSTR reasonPhrase); +} + +/// Event args for the `NavigationStarting` event. +[uuid(5b495469-e119-438a-9b18-7604f25f2e49), object, pointer_default(unique)] +interface ICoreWebView2NavigationStartingEventArgs : IUnknown { + + /// The uri of the requested navigation. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + [propget] HRESULT Uri([out, retval] LPWSTR* uri); + + /// `TRUE` when the navigation was initiated through a user gesture as + /// opposed to programmatic navigation by page script. Navigations initiated + /// via WebView2 APIs are considered as user initiated. + + [propget] HRESULT IsUserInitiated([out, retval] BOOL* isUserInitiated); + + /// `TRUE` when the navigation is redirected. + + [propget] HRESULT IsRedirected([out, retval] BOOL* isRedirected); + + /// The HTTP request headers for the navigation. + /// + /// \> [!NOTE]\n\> You are not able to modify the HTTP request headers in a + /// `NavigationStarting` event. + + [propget] HRESULT RequestHeaders([out, retval] ICoreWebView2HttpRequestHeaders** requestHeaders); + + /// The host may set this flag to cancel the navigation. If set, the + /// navigation is not longer present and the content of the current page is + /// intact. For performance reasons, `GET` HTTP requests may happen, while + /// the host is responding. You may set cookies and use part of a request + /// for the navigation. Cancellation for navigation to `about:blank` or + /// frame navigation to `srcdoc` is not supported. Such attempts are + /// ignored. A cancelled navigation will fire a `NavigationCompleted` event + /// with a `WebErrorStatus` of + /// `COREWEBVIEW2_WEB_ERROR_STATUS_OPERATION_CANCELED`. + + [propget] HRESULT Cancel([out, retval] BOOL* cancel); + + /// Sets the `Cancel` property. + + [propput] HRESULT Cancel([in] BOOL cancel); + + /// The ID of the navigation. + + [propget] HRESULT NavigationId([out, retval] UINT64* navigationId); +} + +/// The AdditionalAllowedFrameAncestors API that enable developers to provide additional allowed frame ancestors. +[uuid(9086BE93-91AA-472D-A7E0-579F2BA006AD), object, pointer_default(unique)] +interface ICoreWebView2NavigationStartingEventArgs2 : ICoreWebView2NavigationStartingEventArgs { + + /// Get additional allowed frame ancestors set by the host app. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT AdditionalAllowedFrameAncestors([out, retval] LPWSTR* value); + + /// The app may set this property to allow a frame to be embedded by additional ancestors besides what is allowed by + /// http header [X-Frame-Options](https://developer.mozilla.org/docs/Web/HTTP/Headers/X-Frame-Options) + /// and [Content-Security-Policy frame-ancestors directive](https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors). + /// If set, a frame ancestor is allowed if it is allowed by the additional allowed frame + /// ancestors or original http header from the site. + /// Whether an ancestor is allowed by the additional allowed frame ancestors is done the same way as if the site provided + /// it as the source list of the Content-Security-Policy frame-ancestors directive. + /// For example, if `https://example.com` and `https://www.example.com` are the origins of the top + /// page and intermediate iframes that embed a nested site-embedding iframe, and you fully trust + /// those origins, you should set this property to `https://example.com https://www.example.com`. + /// This property gives the app the ability to use iframe to embed sites that otherwise + /// could not be embedded in an iframe in trusted app pages. + /// This could potentially subject the embedded sites to [Clickjacking](https://en.wikipedia.org/wiki/Clickjacking) + /// attack from the code running in the embedding web page. Therefore, you should only + /// set this property with origins of fully trusted embedding page and any intermediate iframes. + /// Whenever possible, you should use the list of specific origins of the top and intermediate + /// frames instead of wildcard characters for this property. + /// This API is to provide limited support for app scenarios that used to be supported by + /// `` element in other solutions like JavaScript UWP apps and Electron. + /// You should limit the usage of this property to trusted pages, and specific navigation + /// target url, by checking the `Source` of the WebView2, and `Uri` of the event args. + /// + /// This property is ignored for top level document navigation. + /// + /// \snippet ScriptComponent.cpp AdditionalAllowedFrameAncestors_1 + /// + /// \snippet ScriptComponent.cpp AdditionalAllowedFrameAncestors_2 + [propput] HRESULT AdditionalAllowedFrameAncestors([in] LPCWSTR value); + +} + +/// Receives `NavigationStarting` events. +[uuid(9adbe429-f36d-432b-9ddc-f8881fbd76e3), object, pointer_default(unique)] +interface ICoreWebView2NavigationStartingEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. + + HRESULT Invoke( + [in] ICoreWebView2* sender, + [in] ICoreWebView2NavigationStartingEventArgs* args); +} + +/// Event args for the `ContentLoading` event. +[uuid(0c8a1275-9b6b-4901-87ad-70df25bafa6e), object, pointer_default(unique)] +interface ICoreWebView2ContentLoadingEventArgs : IUnknown { + + /// `TRUE` if the loaded content is an error page. + + [propget] HRESULT IsErrorPage([out, retval] BOOL* isErrorPage); + + /// The ID of the navigation. + + [propget] HRESULT NavigationId([out, retval] UINT64* navigationId); +} + +/// Receives `ContentLoading` events. +[uuid(364471e7-f2be-4910-bdba-d72077d51c4b), object, pointer_default(unique)] +interface ICoreWebView2ContentLoadingEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. + + HRESULT Invoke([in] ICoreWebView2* sender, [in] ICoreWebView2ContentLoadingEventArgs* args); +} + +/// Event args for the `SourceChanged` event. +[uuid(31e0e545-1dba-4266-8914-f63848a1f7d7), object, pointer_default(unique)] +interface ICoreWebView2SourceChangedEventArgs : IUnknown { + + /// `TRUE` if the page being navigated to is a new document. + + [propget] HRESULT IsNewDocument([out, retval] BOOL* isNewDocument); +} + +/// Receives `SourceChanged` events. +[uuid(3c067f9f-5388-4772-8b48-79f7ef1ab37c), object, pointer_default(unique)] +interface ICoreWebView2SourceChangedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. + + HRESULT Invoke([in] ICoreWebView2* sender, [in] ICoreWebView2SourceChangedEventArgs* args); +} + +/// Receives `HistoryChanged` events. +[uuid(c79a420c-efd9-4058-9295-3e8b4bcab645), object, pointer_default(unique)] +interface ICoreWebView2HistoryChangedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. No event args exist + /// and the `args` parameter is set to `null`. + + HRESULT Invoke([in] ICoreWebView2* sender, [in] IUnknown* args); +} + +/// Event args for the `ScriptDialogOpening` event. +[uuid(7390bb70-abe0-4843-9529-f143b31b03d6), object, pointer_default(unique)] +interface ICoreWebView2ScriptDialogOpeningEventArgs : IUnknown { + + /// The URI of the page that requested the dialog box. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + [propget] HRESULT Uri([out, retval] LPWSTR* uri); + + /// The kind of JavaScript dialog box. `alert`, `confirm`, `prompt`, or + /// `beforeunload`. + + [propget] HRESULT Kind([out, retval] COREWEBVIEW2_SCRIPT_DIALOG_KIND* kind); + + /// The message of the dialog box. From JavaScript this is the first + /// parameter passed to `alert`, `confirm`, and `prompt` and is empty for + /// `beforeunload`. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + [propget] HRESULT Message([out, retval] LPWSTR* message); + + /// The host may run this to respond with **OK** to `confirm`, `prompt`, and + /// `beforeunload` dialogs. Do not run this method to indicate cancel. + /// From JavaScript, this means that the `confirm` and `beforeunload` function + /// returns `TRUE` if `Accept` is run. And for the prompt function it returns + /// the value of `ResultText` if `Accept` is run and otherwise returns + /// `FALSE`. + + HRESULT Accept(); + + /// The second parameter passed to the JavaScript prompt dialog. + /// The result of the prompt JavaScript function uses this value as the + /// default value. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + [propget] HRESULT DefaultText([out, retval] LPWSTR* defaultText); + + /// The return value from the JavaScript prompt function if `Accept` is run. + /// This value is ignored for dialog kinds other than prompt. If `Accept` + /// is not run, this value is ignored and `FALSE` is returned from prompt. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + [propget] HRESULT ResultText([out, retval] LPWSTR* resultText); + + /// Sets the `ResultText` property. + + [propput] HRESULT ResultText([in] LPCWSTR resultText); + + /// Returns an `ICoreWebView2Deferral` object. Use this operation to + /// complete the event at a later time. + + HRESULT GetDeferral([out, retval] ICoreWebView2Deferral** deferral); +} + +/// Receives `ScriptDialogOpening` events. +[uuid(ef381bf9-afa8-4e37-91c4-8ac48524bdfb), object, pointer_default(unique)] +interface ICoreWebView2ScriptDialogOpeningEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. + + HRESULT Invoke( + [in] ICoreWebView2* sender, + [in] ICoreWebView2ScriptDialogOpeningEventArgs* args); +} + +/// Event args for the `NavigationCompleted` event. +[uuid(30d68b7d-20d9-4752-a9ca-ec8448fbb5c1), object, pointer_default(unique)] +interface ICoreWebView2NavigationCompletedEventArgs : IUnknown { + + /// `TRUE` when the navigation is successful. `FALSE` for a navigation that + /// ended up in an error page (failures due to no network, DNS lookup + /// failure, HTTP server responds with 4xx), but may also be `FALSE` for + /// additional scenarios such as `window.stop()` run on navigated page. + /// Note that WebView2 will report the navigation as 'unsuccessful' if the load + /// for the navigation did not reach the expected completion for any reason. Such + /// reasons include potentially catastrophic issues such network and certificate + /// issues, but can also be the result of intended actions such as the app canceling a navigation or + /// navigating away before the original navigation completed. Applications should not + /// just rely on this flag, but also consider the reported WebErrorStatus to + /// determine whether the failure is indeed catastrophic in their context. + /// WebErrorStatuses that may indicate a non-catastrophic failure include: + /// - COREWEBVIEW2_WEB_ERROR_STATUS_OPERATION_CANCELED + /// - COREWEBVIEW2_WEB_ERROR_STATUS_VALID_AUTHENTICATION_CREDENTIALS_REQUIRED + /// - COREWEBVIEW2_WEB_ERROR_STATUS_VALID_PROXY_AUTHENTICATION_REQUIRED + + [propget] HRESULT IsSuccess([out, retval] BOOL* isSuccess); + + /// The error code if the navigation failed. + + [propget] HRESULT WebErrorStatus([out, retval] COREWEBVIEW2_WEB_ERROR_STATUS* + webErrorStatus); + + /// The ID of the navigation. + + [propget] HRESULT NavigationId([out, retval] UINT64* navigationId); +} + +/// This is an interface for the StatusCode property of +/// ICoreWebView2NavigationCompletedEventArgs +[uuid(FDF8B738-EE1E-4DB2-A329-8D7D7B74D792), object, pointer_default(unique)] +interface ICoreWebView2NavigationCompletedEventArgs2 : ICoreWebView2NavigationCompletedEventArgs { + /// The HTTP status code of the navigation if it involved an HTTP request. + /// For instance, this will usually be 200 if the request was successful, 404 + /// if a page was not found, etc. See + /// https://developer.mozilla.org/docs/Web/HTTP/Status for a list of + /// common status codes. + /// + /// The `HttpStatusCode` property will be 0 in the following cases: + /// * The navigation did not involve an HTTP request. For instance, if it was + /// a navigation to a file:// URL, or if it was a same-document navigation. + /// * The navigation failed before a response was received. For instance, if + /// the hostname was not found, or if there was a network error. + /// + /// In those cases, you can get more information from the `IsSuccess` and + /// `WebErrorStatus` properties. + /// + /// If the navigation receives a successful HTTP response, but the navigated + /// page calls `window.stop()` before it finishes loading, then + /// `HttpStatusCode` may contain a success code like 200, but `IsSuccess` will + /// be FALSE and `WebErrorStatus` will be + /// `COREWEBVIEW2_WEB_ERROR_STATUS_CONNECTION_ABORTED`. + /// + /// Since WebView2 handles HTTP continuations and redirects automatically, it + /// is unlikely for `HttpStatusCode` to ever be in the 1xx or 3xx ranges. + [propget] HRESULT HttpStatusCode([out, retval] int* http_status_code); +} + +/// Receives `NavigationCompleted` events. +[uuid(d33a35bf-1c49-4f98-93ab-006e0533fe1c), object, pointer_default(unique)] +interface ICoreWebView2NavigationCompletedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. + + HRESULT Invoke( + [in] ICoreWebView2* sender, + [in] ICoreWebView2NavigationCompletedEventArgs* args); +} + +/// Event args for the `PermissionRequested` event. +[uuid(973ae2ef-ff18-4894-8fb2-3c758f046810), object, pointer_default(unique)] +interface ICoreWebView2PermissionRequestedEventArgs : IUnknown { + + /// The origin of the web content that requests the permission. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + [propget] HRESULT Uri([out, retval] LPWSTR* uri); + + /// The type of the permission that is requested. + + [propget] HRESULT PermissionKind([out, retval] COREWEBVIEW2_PERMISSION_KIND* permissionKind); + + /// `TRUE` when the permission request was initiated through a user gesture. + /// + /// \> [!NOTE]\n\> Being initiated through a user gesture does not mean that user intended + /// to access the associated resource. + + [propget] HRESULT IsUserInitiated([out, retval] BOOL* isUserInitiated); + + /// The status of a permission request, (for example is the request is granted). + /// The default value is `COREWEBVIEW2_PERMISSION_STATE_DEFAULT`. + + [propget] HRESULT State([out, retval] COREWEBVIEW2_PERMISSION_STATE* state); + + /// Sets the `State` property. + + [propput] HRESULT State([in] COREWEBVIEW2_PERMISSION_STATE state); + + /// Gets an `ICoreWebView2Deferral` object. Use the deferral object to make + /// the permission decision at a later time. The deferral only applies to the + /// current request, and does not prevent the `PermissionRequested` event from + /// getting raised for new requests. However, for some permission kinds the + /// WebView will avoid creating a new request if there is a pending request of + /// the same kind. + + HRESULT GetDeferral([out, retval] ICoreWebView2Deferral** deferral); +} + +/// Receives `PermissionRequested` events. +[uuid(15e1c6a3-c72a-4df3-91d7-d097fbec6bfd), object, pointer_default(unique)] +interface ICoreWebView2PermissionRequestedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. + + HRESULT Invoke( + [in] ICoreWebView2* sender, + [in] ICoreWebView2PermissionRequestedEventArgs* args); +} + +/// Receives the result of the `AddScriptToExecuteOnDocumentCreated` method. +[uuid(b99369f3-9b11-47b5-bc6f-8e7895fcea17), object, pointer_default(unique)] +interface ICoreWebView2AddScriptToExecuteOnDocumentCreatedCompletedHandler : IUnknown { + + /// Provide the completion status and result of the corresponding + /// asynchronous method. + + HRESULT Invoke([in] HRESULT errorCode, [in] LPCWSTR id); +} + +/// Receives the result of the `ExecuteScript` method. +[uuid(49511172-cc67-4bca-9923-137112f4c4cc), object, pointer_default(unique)] +interface ICoreWebView2ExecuteScriptCompletedHandler : IUnknown { + + /// Provide the implementer with the completion status and result of the + /// corresponding asynchronous method. + + HRESULT Invoke([in] HRESULT errorCode, [in] LPCWSTR resultObjectAsJson); +} + +/// Event args for the `WebResourceRequested` event. +[uuid(453e667f-12c7-49d4-be6d-ddbe7956f57a), object, pointer_default(unique)] +interface ICoreWebView2WebResourceRequestedEventArgs : IUnknown { + + /// The Web resource request. The request object may be missing some headers + /// that are added by network stack at a later time. + + [propget] HRESULT Request([out, retval] ICoreWebView2WebResourceRequest** request); + + /// A placeholder for the web resource response object. If this object is + /// set, the web resource request is completed with the specified response. + + [propget] HRESULT Response([out, retval] ICoreWebView2WebResourceResponse** response); + + /// Sets the `Response` property. Create an empty web resource response + /// object with `CreateWebResourceResponse` and then modify it to construct + /// the response. + + [propput] HRESULT Response([in] ICoreWebView2WebResourceResponse* response); + + /// Obtain an `ICoreWebView2Deferral` object and put the event into a + /// deferred state. Use the `ICoreWebView2Deferral` object to complete the + /// request at a later time. + + HRESULT GetDeferral([out, retval] ICoreWebView2Deferral** deferral); + + /// The web resource request context. + + [propget] HRESULT ResourceContext([out, retval] COREWEBVIEW2_WEB_RESOURCE_CONTEXT* context); +} + +/// Runs when a URL request (through network, file, and so on) is made in +/// the webview for a Web resource matching resource context filter and URL +/// specified in `AddWebResourceRequestedFilter`. The host views and modifies +/// the request or provide a response in a similar pattern to HTTP, in which +/// case the request immediately completed. This may not contain any request +/// headers that are added by the network stack, such as an `Authorization` +/// header. +[uuid(ab00b74c-15f1-4646-80e8-e76341d25d71), object, pointer_default(unique)] +interface ICoreWebView2WebResourceRequestedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. + + HRESULT Invoke( + [in] ICoreWebView2* sender, + [in] ICoreWebView2WebResourceRequestedEventArgs* args); +} + +/// Receives the result of the `CapturePreview` method. The result is written +/// to the stream provided in the `CapturePreview` method. + +[uuid(697e05e9-3d8f-45fa-96f4-8ffe1ededaf5), object, pointer_default(unique)] +interface ICoreWebView2CapturePreviewCompletedHandler : IUnknown { + + /// Provides the completion status of the corresponding asynchronous method. + + HRESULT Invoke([in] HRESULT errorCode); +} + +/// Receives `GotFocus` and `LostFocus` events. + +[uuid(05ea24bd-6452-4926-9014-4b82b498135d), object, pointer_default(unique)] +interface ICoreWebView2FocusChangedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. No event args exist + /// and the `args` parameter is set to `null`. + + HRESULT Invoke( + [in] ICoreWebView2Controller* sender, + [in] IUnknown* args); +} + +/// Event args for the `MoveFocusRequested` event. + +[uuid(2d6aa13b-3839-4a15-92fc-d88b3c0d9c9d), object, pointer_default(unique)] +interface ICoreWebView2MoveFocusRequestedEventArgs : IUnknown { + + /// The reason for WebView to run the `MoveFocusRequested` event. + + [propget] HRESULT Reason([out, retval] COREWEBVIEW2_MOVE_FOCUS_REASON* reason); + + /// Indicates whether the event has been handled by the app. If the app has + /// moved the focus to another desired location, it should set the `Handled` + /// property to `TRUE`. When the `Handled` property is `FALSE` after the + /// event handler returns, default action is taken. The default action is to + /// try to find the next tab stop child window in the app and try to move + /// focus to that window. If no other window exists to move focus, focus is + /// cycled within the web content of the WebView. + + [propget] HRESULT Handled([out, retval] BOOL* value); + + /// Sets the `Handled` property. + + [propput] HRESULT Handled([in] BOOL value); +} + +/// Receives `MoveFocusRequested` events. + +[uuid(69035451-6dc7-4cb8-9bce-b2bd70ad289f), object, pointer_default(unique)] +interface ICoreWebView2MoveFocusRequestedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. + + HRESULT Invoke( + [in] ICoreWebView2Controller* sender, + [in] ICoreWebView2MoveFocusRequestedEventArgs* args); +} + +/// Event args for the `WebMessageReceived` event. +[uuid(0f99a40c-e962-4207-9e92-e3d542eff849), object, pointer_default(unique)] +interface ICoreWebView2WebMessageReceivedEventArgs : IUnknown { + + /// The URI of the document that sent this web message. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + [propget] HRESULT Source([out, retval] LPWSTR* source); + + /// The message posted from the WebView content to the host converted to a + /// JSON string. Run this operation to communicate using JavaScript objects. + /// + /// For example, the following `postMessage` runs result in the following + /// `WebMessageAsJson` values. + /// + /// ```json + /// postMessage({'a': 'b'}) L"{\"a\": \"b\"}" + /// postMessage(1.2) L"1.2" + /// postMessage('example') L"\"example\"" + /// ``` + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + [propget] HRESULT WebMessageAsJson([out, retval] LPWSTR* webMessageAsJson); + + /// If the message posted from the WebView content to the host is a string + /// type, this method returns the value of that string. If the message + /// posted is some other kind of JavaScript type this method fails with the + /// following error. + /// + /// ```text + /// E_INVALIDARG + /// ``` + /// + /// Run this operation to communicate using simple strings. + /// + /// For example, the following `postMessage` runs result in the following + /// `WebMessageAsString` values. + /// + /// ```json + /// postMessage({'a': 'b'}) E_INVALIDARG + /// postMessage(1.2) E_INVALIDARG + /// postMessage('example') L"example" + /// ``` + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + HRESULT TryGetWebMessageAsString([out, retval] LPWSTR* webMessageAsString); +} + +/// Receives `WebMessageReceived` events. +[uuid(57213f19-00e6-49fa-8e07-898ea01ecbd2), object, pointer_default(unique)] +interface ICoreWebView2WebMessageReceivedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. + + HRESULT Invoke( + [in] ICoreWebView2* sender, + [in] ICoreWebView2WebMessageReceivedEventArgs* args); +} + +/// Event args for the `DevToolsProtocolEventReceived` event. +[uuid(653c2959-bb3a-4377-8632-b58ada4e66c4), object, pointer_default(unique)] +interface ICoreWebView2DevToolsProtocolEventReceivedEventArgs : IUnknown { + + /// The parameter object of the corresponding `DevToolsProtocol` event + /// represented as a JSON string. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + [propget] HRESULT ParameterObjectAsJson([out, retval] LPWSTR* + parameterObjectAsJson); +} + +/// This is a continuation of the `ICoreWebView2DevToolsProtocolEventReceivedEventArgs` +/// interface that provides the session ID of the target where the event originates from. +[uuid(2DC4959D-1494-4393-95BA-BEA4CB9EBD1B), object, pointer_default(unique)] +interface ICoreWebView2DevToolsProtocolEventReceivedEventArgs2 : ICoreWebView2DevToolsProtocolEventReceivedEventArgs { + + /// The sessionId of the target where the event originates from. + /// Empty string is returned as sessionId if the event comes from the default + /// session for the top page. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + /// + /// \snippet ScriptComponent.cpp DevToolsProtocolEventReceivedSessionId + [propget] HRESULT SessionId([out, retval] LPWSTR* sessionId); +} + +/// Receives `DevToolsProtocolEventReceived` events from the WebView. +[uuid(e2fda4be-5456-406c-a261-3d452138362c), object, pointer_default(unique)] +interface ICoreWebView2DevToolsProtocolEventReceivedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. + + HRESULT Invoke( + [in] ICoreWebView2* sender, + [in] ICoreWebView2DevToolsProtocolEventReceivedEventArgs* args); +} + +/// Receives `CallDevToolsProtocolMethod` completion results. +[uuid(5c4889f0-5ef6-4c5a-952c-d8f1b92d0574), object, pointer_default(unique)] +interface ICoreWebView2CallDevToolsProtocolMethodCompletedHandler : IUnknown { + + /// Provides the completion status and result of the corresponding + /// asynchronous method. + + HRESULT Invoke([in] HRESULT errorCode, [in] LPCWSTR returnObjectAsJson); +} + +/// Receives the `CoreWebView2Controller` created using `CreateCoreWebView2Controller`. + +[uuid(6c4819f3-c9b7-4260-8127-c9f5bde7f68c), object, pointer_default(unique)] +interface ICoreWebView2CreateCoreWebView2ControllerCompletedHandler : IUnknown { + + /// Provides the completion status and result of the corresponding + /// asynchronous method. + + HRESULT Invoke(HRESULT errorCode, ICoreWebView2Controller* createdController); +} + +/// The caller implements this interface to receive the CoreWebView2Controller +/// created via CreateCoreWebView2CompositionController. +[uuid(02fab84b-1428-4fb7-ad45-1b2e64736184), object, pointer_default(unique)] +interface ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler : IUnknown { + /// Called to provide the implementer with the completion status and result + /// of the corresponding asynchronous method call. + HRESULT Invoke( + HRESULT errorCode, + ICoreWebView2CompositionController* webView); +} + +/// Event args for the `NewWindowRequested` event. The event is run when +/// content inside webview requested to a open a new window (through +/// `window.open()` and so on). +[uuid(34acb11c-fc37-4418-9132-f9c21d1eafb9), object, pointer_default(unique)] +interface ICoreWebView2NewWindowRequestedEventArgs : IUnknown { + + /// The target uri of the new window requested. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + [propget] HRESULT Uri([out, retval] LPWSTR* uri); + + /// Sets a CoreWebView2 as a result of the NewWindowRequested event. Provides + /// a WebView as the target for a `window.open()` from inside the + /// requesting WebView. If this is set, the top-level window of this WebView + /// is returned as the opened + /// [WindowProxy](https://developer.mozilla.org/en-US/docs/glossary/windowproxy) + /// to the opener script. If this is not set, then `Handled` is checked to + /// determine behavior for NewWindowRequested event. + /// CoreWebView2 provided in the `NewWindow` property must be on the same + /// Environment as the opener WebView and should not have been navigated + /// previously. Don't use methods that cause navigation or interact with the + /// DOM on this CoreWebView2 until the target content has loaded. Setting event + /// handlers, changing Settings properties, or other methods are fine to call. + /// Changes to settings should be made before `put_NewWindow` is called to + /// ensure that those settings take effect for the newly setup WebView. Once the + /// NewWindow is set the underlying web contents of this CoreWebView2 will be + /// replaced and navigated as appropriate for the new window. After setting + /// new window it cannot be changed and error will be return otherwise. + /// + /// The methods which should affect the new web contents like + /// AddScriptToExecuteOnDocumentCreated has to be called and completed before setting NewWindow. + /// Other methods which should affect the new web contents like add_WebResourceRequested have to be called after setting NewWindow. + /// It is best not to use RemoveScriptToExecuteOnDocumentCreated before setting NewWindow, otherwise it may not work for later added scripts. + /// + /// The new WebView must have the same profile as the opener WebView. + + [propput] HRESULT NewWindow([in] ICoreWebView2* newWindow); + + /// Gets the new window. + + [propget] HRESULT NewWindow([out, retval] ICoreWebView2** newWindow); + + /// Sets whether the `NewWindowRequested` event is handled by host. If this + /// is `FALSE` and no `NewWindow` is set, the WebView opens a popup window + /// and it returns as opened `WindowProxy`. If set to `TRUE` and no + /// `NewWindow` is set for `window.open`, the opened `WindowProxy` is for an + /// testing window object and no window loads. + /// The default value is `FALSE`. + + [propput] HRESULT Handled([in] BOOL handled); + + /// Gets whether the `NewWindowRequested` event is handled by host. + + [propget] HRESULT Handled([out, retval] BOOL* handled); + + /// `TRUE` when the new window request was initiated through a user gesture. + /// Examples of user initiated requests are: + /// + /// - Selecting an anchor tag with target + /// - Programmatic window open from a script that directly run as a result of + /// user interaction such as via onclick handlers. + /// + /// Non-user initiated requests are programmatic window opens from a script + /// that are not directly triggered by user interaction, such as those that + /// run while loading a new page or via timers. + /// The Microsoft Edge popup blocker is disabled for WebView so the app is + /// able to use this flag to block non-user initiated popups. + + [propget] HRESULT IsUserInitiated([out, retval] BOOL* isUserInitiated); + + /// Obtain an `ICoreWebView2Deferral` object and put the event into a + /// deferred state. Use the `ICoreWebView2Deferral` object to complete the + /// window open request at a later time. While this event is deferred the + /// opener window returns a `WindowProxy` to an un-navigated window, which + /// navigates when the deferral is complete. + + HRESULT GetDeferral([out, retval] ICoreWebView2Deferral** deferral); + + /// Window features specified by the `window.open`. The features should be + /// considered for positioning and sizing of new webview windows. + + [propget] HRESULT WindowFeatures([out, retval] ICoreWebView2WindowFeatures** value); +} + +/// This is a continuation of the `ICoreWebView2NewWindowRequestedEventArgs` interface. +[uuid(bbc7baed-74c6-4c92-b63a-7f5aeae03de3), object, pointer_default(unique)] +interface ICoreWebView2NewWindowRequestedEventArgs2 : ICoreWebView2NewWindowRequestedEventArgs { + /// Gets the name of the new window. This window can be created via `window.open(url, windowName)`, + /// where the windowName parameter corresponds to `Name` property. + /// If no windowName is passed to `window.open`, then the `Name` property + /// will be set to an empty string. Additionally, if window is opened through other means, + /// such as `...` or ``, + /// then the `Name` property will be set accordingly. In the case of target=_blank, + /// the `Name` property will be an empty string. + /// Opening a window via ctrl+clicking a link would result in the `Name` property + /// being set to an empty string. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT Name([out, retval] LPWSTR* value); +} + +/// The window features for a WebView popup window. The fields match the +/// `windowFeatures` passed to `window.open` as specified in +/// [Window features](https://developer.mozilla.org/docs/Web/API/Window/open#Window_features) +/// on MDN. +/// +/// There is no requirement for you to respect the values. If your app does +/// not have corresponding UI features (for example, no toolbar) or if all +/// instance of WebView are opened in tabs and do not have distinct size or +/// positions, then your app does not respect the values. You may want to +/// respect values, but perhaps only some apply to the UI of you app. +/// Accordingly, you may respect all, some, or none of the properties as +/// appropriate for your app. For all numeric properties, if the value that is +/// passed to `window.open` is outside the range of an unsigned 32bit int, the +/// resulting value is the absolute value of the maximum for unsigned 32bit +/// integer. If you are not able to parse the value an integer, it is +/// considered `0`. If the value is a floating point value, it is rounded down +/// to an integer. +/// +/// In runtime versions 98 or later, the values of `ShouldDisplayMenuBar`, +/// `ShouldDisplayStatus`, `ShouldDisplayToolbar`, and `ShouldDisplayScrollBars` +/// will not directly depend on the equivalent fields in the `windowFeatures` +/// string. Instead, they will all be false if the window is expected to be a +/// popup, and true if it is not. +[uuid(5eaf559f-b46e-4397-8860-e422f287ff1e), object, pointer_default(unique)] +interface ICoreWebView2WindowFeatures : IUnknown { + + /// Specifies left and top values. + + [propget] HRESULT HasPosition([out, retval] BOOL* value); + + /// Specifies height and width values. + + [propget] HRESULT HasSize([out, retval] BOOL* value); + + /// Specifies the left position of the window. If `HasPosition` is set to + /// `FALSE`, this field is ignored. + + [propget] HRESULT Left([out, retval] UINT32* value); + + /// Specifies the top position of the window. If `HasPosition` is set to + /// `FALSE`, this field is ignored. + + [propget] HRESULT Top([out, retval] UINT32* value); + + /// Specifies the height of the window. Minimum value is `100`. If + /// `HasSize` is set to `FALSE`, this field is ignored. + + [propget] HRESULT Height([out, retval] UINT32* value); + + /// Specifies the width of the window. Minimum value is `100`. If `HasSize` + /// is set to `FALSE`, this field is ignored. + + [propget] HRESULT Width([out, retval] UINT32* value); + + /// Indicates that the menu bar is displayed. + + [propget] HRESULT ShouldDisplayMenuBar([out, retval] BOOL* value); + + /// Indicates that the status bar is displayed. + + [propget] HRESULT ShouldDisplayStatus([out, retval] BOOL* value); + + /// Indicates that the browser toolbar is displayed. + + [propget] HRESULT ShouldDisplayToolbar([out, retval] BOOL* value); + + /// Indicates that the scroll bars are displayed. + + [propget] HRESULT ShouldDisplayScrollBars([out, retval] BOOL* value); +} + +/// Receives `NewWindowRequested` events. +[uuid(d4c185fe-c81c-4989-97af-2d3fa7ab5651), object, pointer_default(unique)] +interface ICoreWebView2NewWindowRequestedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. + + HRESULT Invoke( + [in] ICoreWebView2* sender, + [in] ICoreWebView2NewWindowRequestedEventArgs* args); +} + +/// Receives `DocumentTitleChanged` events. Use the `DocumentTitle` property +/// to get the modified title. + +[uuid(f5f2b923-953e-4042-9f95-f3a118e1afd4), object, pointer_default(unique)] +interface ICoreWebView2DocumentTitleChangedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. No event args exist + /// and the `args` parameter is set to `null`. + + HRESULT Invoke([in] ICoreWebView2* sender, [in] IUnknown* args); +} + +/// Event args for the `AcceleratorKeyPressed` event. + +[uuid(9f760f8a-fb79-42be-9990-7b56900fa9c7), object, pointer_default(unique)] +interface ICoreWebView2AcceleratorKeyPressedEventArgs : IUnknown { + + /// The key event type that caused the event to run. + + [propget] HRESULT KeyEventKind([out, retval] COREWEBVIEW2_KEY_EVENT_KIND* keyEventKind); + + /// The Win32 virtual key code of the key that was pressed or released. It + /// is one of the Win32 virtual key constants such as `VK_RETURN` or an + /// (uppercase) ASCII value such as `A`. Verify whether Ctrl or Alt + /// are pressed by running `GetKeyState(VK_CONTROL)` or + /// `GetKeyState(VK_MENU)`. + + [propget] HRESULT VirtualKey([out, retval] UINT* virtualKey); + + /// The `LPARAM` value that accompanied the window message. For more + /// information, navigate to [WM_KEYDOWN](/windows/win32/inputdev/wm-keydown) + /// and [WM_KEYUP](/windows/win32/inputdev/wm-keyup). + + [propget] HRESULT KeyEventLParam([out, retval] INT* lParam); + + /// A structure representing the information passed in the `LPARAM` of the + /// window message. + + [propget] HRESULT PhysicalKeyStatus( + [out, retval] COREWEBVIEW2_PHYSICAL_KEY_STATUS* physicalKeyStatus); + + /// During `AcceleratorKeyPressedEvent` handler invocation the WebView is + /// blocked waiting for the decision of if the accelerator is handled by the + /// host (or not). If the `Handled` property is set to `TRUE` then this + /// prevents the WebView from performing the default action for this + /// accelerator key. Otherwise the WebView performs the default action for + /// the accelerator key. + + [propget] HRESULT Handled([out, retval] BOOL* handled); + + /// Sets the `Handled` property. + + [propput] HRESULT Handled([in] BOOL handled); +} + +/// Receives `AcceleratorKeyPressed` events. + +[uuid(b29c7e28-fa79-41a8-8e44-65811c76dcb2), object, pointer_default(unique)] +interface ICoreWebView2AcceleratorKeyPressedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. + + HRESULT Invoke( + [in] ICoreWebView2Controller* sender, + [in] ICoreWebView2AcceleratorKeyPressedEventArgs* args); +} + +/// Receives `NewBrowserVersionAvailable` events. +[uuid(f9a2976e-d34e-44fc-adee-81b6b57ca914), object, pointer_default(unique)] +interface ICoreWebView2NewBrowserVersionAvailableEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. + + HRESULT Invoke([in] ICoreWebView2Environment* sender, + [in] IUnknown* args); +} + +/// Receives `BrowserProcessExited` events. +[uuid(fa504257-a216-4911-a860-fe8825712861), object, pointer_default(unique)] +interface ICoreWebView2BrowserProcessExitedEventHandler : IUnknown { + /// Provides the event args for the corresponding event. + HRESULT Invoke( + [in] ICoreWebView2Environment* sender, + [in] ICoreWebView2BrowserProcessExitedEventArgs* args); +} + +/// Receives `ContainsFullScreenElementChanged` events. + +[uuid(e45d98b1-afef-45be-8baf-6c7728867f73), object, pointer_default(unique)] +interface ICoreWebView2ContainsFullScreenElementChangedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. No event args exist + /// and the `args` parameter is set to `null`. + + HRESULT Invoke([in] ICoreWebView2* sender, [in] IUnknown* args); +} + +/// Receives `WindowCloseRequested` events. +[uuid(5c19e9e0-092f-486b-affa-ca8231913039), object, pointer_default(unique)] +interface ICoreWebView2WindowCloseRequestedEventHandler : IUnknown { + + /// Provides the event args for the corresponding event. No event args exist + /// and the `args` parameter is set to `null`. + + HRESULT Invoke([in] ICoreWebView2* sender, [in] IUnknown* args); +} + +/// Receives `WebResourceResponseReceived` events. +[uuid(7DE9898A-24F5-40C3-A2DE-D4F458E69828), object, pointer_default(unique)] +interface ICoreWebView2WebResourceResponseReceivedEventHandler : IUnknown { + /// Provides the event args for the corresponding event. + HRESULT Invoke( + [in] ICoreWebView2* sender, + [in] ICoreWebView2WebResourceResponseReceivedEventArgs* args); +} + +/// Event args for the `BrowserProcessExited` event. +[uuid(1f00663f-af8c-4782-9cdd-dd01c52e34cb), object, pointer_default(unique)] +interface ICoreWebView2BrowserProcessExitedEventArgs : IUnknown { + /// The kind of browser process exit that has occurred. + [propget] HRESULT BrowserProcessExitKind( + [out, retval] COREWEBVIEW2_BROWSER_PROCESS_EXIT_KIND* browserProcessExitKind); + + /// The process ID of the browser process that has exited. + [propget] HRESULT BrowserProcessId([out, retval] UINT32* value); +} + +/// Event args for the WebResourceResponseReceived event. +[uuid(D1DB483D-6796-4B8B-80FC-13712BB716F4), object, pointer_default(unique)] +interface ICoreWebView2WebResourceResponseReceivedEventArgs : IUnknown { + /// The request object for the web resource, as committed. This includes + /// headers added by the network stack that were not be included during the + /// associated WebResourceRequested event, such as Authentication headers. + /// Modifications to this object have no effect on how the request is + /// processed as it has already been sent. + [propget] HRESULT Request([out, retval] ICoreWebView2WebResourceRequest** request); + /// View of the response object received for the web resource. + [propget] HRESULT Response([out, retval] ICoreWebView2WebResourceResponseView** response); +} + +/// View of the HTTP representation for a web resource response. The properties +/// of this object are not mutable. This response view is used with the +/// WebResourceResponseReceived event. +[uuid(79701053-7759-4162-8F7D-F1B3F084928D), object, pointer_default(unique)] +interface ICoreWebView2WebResourceResponseView : IUnknown { + /// The HTTP response headers as received. + [propget] HRESULT Headers( + [out, retval] ICoreWebView2HttpResponseHeaders** headers); + /// The HTTP response status code. + [propget] HRESULT StatusCode([out, retval] int* statusCode); + /// The HTTP response reason phrase. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT ReasonPhrase([out, retval] LPWSTR* reasonPhrase); + + /// Get the response content asynchronously. The handler will receive the + /// response content stream. + /// + /// This method returns null if content size is more than 123MB or for navigations that become downloads + /// or if response is downloadable content type (e.g., application/octet-stream). + /// See `add_DownloadStarting` event to handle the response. + /// + /// If this method is being called again before a first call has completed, + /// the handler will be invoked at the same time the handlers from prior calls + /// are invoked. + /// If this method is being called after a first call has completed, the + /// handler will be invoked immediately. + /// \snippet ScenarioWebViewEventMonitor.cpp GetContent + HRESULT GetContent( + [in] ICoreWebView2WebResourceResponseViewGetContentCompletedHandler* handler); +} + +/// Receives the result of the +/// `ICoreWebView2WebResourceResponseView::GetContent` method. +[uuid(875738E1-9FA2-40E3-8B74-2E8972DD6FE7), object, pointer_default(unique)] +interface ICoreWebView2WebResourceResponseViewGetContentCompletedHandler : IUnknown { + /// Provides the completion status and result of the corresponding + /// asynchronous method call. A failure `errorCode` will be passed if the + /// content failed to load. `E_ABORT` means the response loading was blocked + /// (e.g., by CORS policy); `ERROR_CANCELLED` means the response loading was + /// cancelled. `ERROR_NO_DATA` means the response has no content data, + /// `content` is `null` in this case. Note content (if any) is ignored for + /// redirects, 204 No Content, 205 Reset Content, and HEAD-request responses. + HRESULT Invoke([in] HRESULT errorCode, [in] IStream* content); +} + +/// Event args for the DOMContentLoaded event. +[uuid(16B1E21A-C503-44F2-84C9-70ABA5031283), object, pointer_default(unique)] +interface ICoreWebView2DOMContentLoadedEventArgs : IUnknown { + /// The ID of the navigation which corresponds to other navigation ID properties on other navigation events. + [propget] HRESULT NavigationId([out, retval] UINT64* navigationId); +} + +/// Receives `DOMContentLoaded` events. +[uuid(4BAC7E9C-199E-49ED-87ED-249303ACF019), object, pointer_default(unique)] +interface ICoreWebView2DOMContentLoadedEventHandler : IUnknown { + /// Provides the event args for the corresponding event. + HRESULT Invoke( + [in] ICoreWebView2* sender, + [in] ICoreWebView2DOMContentLoadedEventArgs* args); +} + +/// Provides a set of properties that are used to manage an +/// ICoreWebView2Cookie. +/// +/// \snippet ScenarioCookieManagement.cpp CookieObject +[uuid(AD26D6BE-1486-43E6-BF87-A2034006CA21), object, pointer_default(unique)] +interface ICoreWebView2Cookie : IUnknown { + /// Cookie name. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT Name([out, retval] LPWSTR* name); + + /// Cookie value. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT Value([out, retval] LPWSTR* value); + /// Set the cookie value property. + [propput] HRESULT Value([in] LPCWSTR value); + + /// The domain for which the cookie is valid. + /// The default is the host that this cookie has been received from. + /// Note that, for instance, ".bing.com", "bing.com", and "www.bing.com" are + /// considered different domains. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT Domain([out, retval] LPWSTR* domain); + + /// The path for which the cookie is valid. The default is "/", which means + /// this cookie will be sent to all pages on the Domain. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT Path([out, retval] LPWSTR* path); + + /// The expiration date and time for the cookie as the number of seconds since the UNIX epoch. + /// The default is -1.0, which means cookies are session cookies by default. + [propget] HRESULT Expires([out, retval] double* expires); + /// Set the Expires property. Cookies are session cookies and will not be + /// persistent if Expires is set to -1.0. NaN, infinity, and any negative + /// value set other than -1.0 is disallowed. + [propput] HRESULT Expires([in] double expires); + + /// Whether this cookie is http-only. + /// True if a page script or other active content cannot access this + /// cookie. The default is false. + [propget] HRESULT IsHttpOnly([out, retval] BOOL* isHttpOnly); + /// Set the IsHttpOnly property. + [propput] HRESULT IsHttpOnly([in] BOOL isHttpOnly); + + /// SameSite status of the cookie which represents the enforcement mode of the cookie. + /// The default is COREWEBVIEW2_COOKIE_SAME_SITE_KIND_LAX. + [propget] HRESULT SameSite([out, retval] COREWEBVIEW2_COOKIE_SAME_SITE_KIND* sameSite); + /// Set the SameSite property. + [propput] HRESULT SameSite([in] COREWEBVIEW2_COOKIE_SAME_SITE_KIND sameSite); + + /// The security level of this cookie. True if the client is only to return + /// the cookie in subsequent requests if those requests use HTTPS. + /// The default is false. + /// Note that cookie that requests COREWEBVIEW2_COOKIE_SAME_SITE_KIND_NONE but + /// is not marked Secure will be rejected. + [propget] HRESULT IsSecure([out, retval] BOOL* isSecure); + /// Set the IsSecure property. + [propput] HRESULT IsSecure([in] BOOL isSecure); + + /// Whether this is a session cookie. The default is false. + [propget] HRESULT IsSession([out, retval] BOOL* isSession); +} + +/// Creates, adds or updates, gets, or or view the cookies. The changes would +/// apply to the context of the user profile. That is, other WebViews under the +/// same user profile could be affected. +[uuid(177CD9E7-B6F5-451A-94A0-5D7A3A4C4141), object, pointer_default(unique)] +interface ICoreWebView2CookieManager : IUnknown { + /// Create a cookie object with a specified name, value, domain, and path. + /// One can set other optional properties after cookie creation. + /// This only creates a cookie object and it is not added to the cookie + /// manager until you call AddOrUpdateCookie. + /// Leading or trailing whitespace(s), empty string, and special characters + /// are not allowed for name. + /// See ICoreWebView2Cookie for more details. + HRESULT CreateCookie( + [in] LPCWSTR name, + [in] LPCWSTR value, + [in] LPCWSTR domain, + [in] LPCWSTR path, + [out, retval] ICoreWebView2Cookie** cookie); + + /// Creates a cookie whose params matches those of the specified cookie. + HRESULT CopyCookie( + [in] ICoreWebView2Cookie* cookieParam, + [out, retval] ICoreWebView2Cookie** cookie); + + /// Gets a list of cookies matching the specific URI. + /// If uri is empty string or null, all cookies under the same profile are + /// returned. + /// You can modify the cookie objects by calling + /// ICoreWebView2CookieManager::AddOrUpdateCookie, and the changes + /// will be applied to the webview. + /// \snippet ScenarioCookieManagement.cpp GetCookies + HRESULT GetCookies( + [in] LPCWSTR uri, + [in] ICoreWebView2GetCookiesCompletedHandler* handler); + + /// Adds or updates a cookie with the given cookie data; may overwrite + /// cookies with matching name, domain, and path if they exist. + /// This method will fail if the domain of the given cookie is not specified. + /// \snippet ScenarioCookieManagement.cpp AddOrUpdateCookie + HRESULT AddOrUpdateCookie([in] ICoreWebView2Cookie* cookie); + + /// Deletes a cookie whose name and domain/path pair + /// match those of the specified cookie. + HRESULT DeleteCookie([in] ICoreWebView2Cookie* cookie); + + /// Deletes cookies with matching name and uri. + /// Cookie name is required. + /// All cookies with the given name where domain + /// and path match provided URI are deleted. + HRESULT DeleteCookies([in] LPCWSTR name, [in] LPCWSTR uri); + + /// Deletes cookies with matching name and domain/path pair. + /// Cookie name is required. + /// If domain is specified, deletes only cookies with the exact domain. + /// If path is specified, deletes only cookies with the exact path. + HRESULT DeleteCookiesWithDomainAndPath([in] LPCWSTR name, [in] LPCWSTR domain, [in] LPCWSTR path); + + /// Deletes all cookies under the same profile. + /// This could affect other WebViews under the same user profile. + HRESULT DeleteAllCookies(); +} + +/// A list of cookie objects. See `ICoreWebView2Cookie`. +/// \snippet ScenarioCookieManagement.cpp GetCookies +[uuid(F7F6F714-5D2A-43C6-9503-346ECE02D186), object, pointer_default(unique)] +interface ICoreWebView2CookieList : IUnknown { + /// The number of cookies contained in the ICoreWebView2CookieList. + [propget] HRESULT Count([out, retval] UINT* count); + + /// Gets the cookie object at the given index. + HRESULT GetValueAtIndex([in] UINT index, [out, retval] ICoreWebView2Cookie** cookie); +} + +/// Receives the result of the `GetCookies` method. The result is written to +/// the cookie list provided in the `GetCookies` method call. +[uuid(5A4F5069-5C15-47C3-8646-F4DE1C116670), object, pointer_default(unique)] +interface ICoreWebView2GetCookiesCompletedHandler : IUnknown { + /// Provides the completion status of the corresponding asynchronous method + /// call. + HRESULT Invoke(HRESULT result, ICoreWebView2CookieList* cookieList); +} + +/// Provides access to the client certificate metadata. +[uuid(e7188076-bcc3-11eb-8529-0242ac130003), object, pointer_default(unique)] +interface ICoreWebView2ClientCertificate : IUnknown { + /// Subject of the certificate. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT Subject([out, retval] LPWSTR* value); + /// Name of the certificate authority that issued the certificate. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT Issuer([out, retval] LPWSTR* value); + /// The valid start date and time for the certificate as the number of seconds since + /// the UNIX epoch. + [propget] HRESULT ValidFrom([out, retval] double* value); + /// The valid expiration date and time for the certificate as the number of seconds since + /// the UNIX epoch. + [propget] HRESULT ValidTo([out, retval] double* value); + /// Base64 encoding of DER encoded serial number of the certificate. + /// Read more about DER at [RFC 7468 DER] + /// (https://tools.ietf.org/html/rfc7468#appendix-B). + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT DerEncodedSerialNumber([out, retval] LPWSTR* value); + /// Display name for a certificate. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT DisplayName([out, retval] LPWSTR* value); + /// PEM encoded data for the certificate. + /// Returns Base64 encoding of DER encoded certificate. + /// Read more about PEM at [RFC 1421 Privacy Enhanced Mail] + /// (https://tools.ietf.org/html/rfc1421). + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + HRESULT ToPemEncoding([out, retval] LPWSTR* pemEncodedData); + /// Collection of PEM encoded client certificate issuer chain. + /// In this collection first element is the current certificate followed by + /// intermediate1, intermediate2...intermediateN-1. Root certificate is the + /// last element in collection. + [propget] HRESULT PemEncodedIssuerCertificateChain([out, retval] + ICoreWebView2StringCollection** value); + /// Kind of a certificate (eg., smart card, pin, other). + [propget] HRESULT Kind([out, retval] + COREWEBVIEW2_CLIENT_CERTIFICATE_KIND* value); +} + +/// A collection of client certificate object. +[uuid(ef5674d2-bcc3-11eb-8529-0242ac130003), object, pointer_default(unique)] +interface ICoreWebView2ClientCertificateCollection : IUnknown { + /// The number of client certificates contained in the + /// ICoreWebView2ClientCertificateCollection. + [propget] HRESULT Count([out, retval] UINT* value); + /// Gets the certificate object at the given index. + HRESULT GetValueAtIndex([in] UINT index, + [out, retval] ICoreWebView2ClientCertificate** certificate); +} + +/// A collection of strings. +[uuid(f41f3f8a-bcc3-11eb-8529-0242ac130003), object, pointer_default(unique)] +interface ICoreWebView2StringCollection : IUnknown { + /// The number of strings contained in ICoreWebView2StringCollection. + [propget] HRESULT Count([out, retval] UINT* value); + + /// Gets the value at a given index. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + HRESULT GetValueAtIndex([in] UINT index, [out, retval] LPWSTR* value); +} + +/// An event handler for the `ClientCertificateRequested` event. +[uuid(d7175ba2-bcc3-11eb-8529-0242ac130003), object, pointer_default(unique)] +interface ICoreWebView2ClientCertificateRequestedEventHandler : IUnknown { + /// Provides the event args for the corresponding event. + HRESULT Invoke([in] ICoreWebView2* sender, + [in] ICoreWebView2ClientCertificateRequestedEventArgs* args); +} + +/// Event args for the `ClientCertificateRequested` event. +[uuid(bc59db28-bcc3-11eb-8529-0242ac130003), object, pointer_default(unique)] +interface ICoreWebView2ClientCertificateRequestedEventArgs : IUnknown { + /// Host name of the server that requested client certificate authentication. + /// Normalization rules applied to the hostname are: + /// * Convert to lowercase characters for ascii characters. + /// * Punycode is used for representing non ascii characters. + /// * Strip square brackets for IPV6 address. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT Host([out, retval] LPWSTR* value); + + /// Port of the server that requested client certificate authentication. + [propget] HRESULT Port([out, retval] int* value); + + /// Returns true if the server that issued this request is an http proxy. + /// Returns false if the server is the origin server. + [propget] HRESULT IsProxy([out, retval] BOOL* value); + + /// Returns the `ICoreWebView2StringCollection`. + /// The collection contains Base64 encoding of DER encoded distinguished names of + /// certificate authorities allowed by the server. + [propget] HRESULT AllowedCertificateAuthorities([out, retval] + ICoreWebView2StringCollection** value); + + /// Returns the `ICoreWebView2ClientCertificateCollection` when client + /// certificate authentication is requested. The collection contains mutually + /// trusted CA certificates. + [propget] HRESULT MutuallyTrustedCertificates([out, retval] + ICoreWebView2ClientCertificateCollection** value); + + /// Returns the selected certificate. + [propget] HRESULT SelectedCertificate([out, retval] + ICoreWebView2ClientCertificate** value); + + /// Sets the certificate to respond to the server. + [propput] HRESULT SelectedCertificate( + [in] ICoreWebView2ClientCertificate* value); + + /// You may set this flag to cancel the certificate selection. If canceled, + /// the request is aborted regardless of the `Handled` property. By default the + /// value is `FALSE`. + [propget] HRESULT Cancel([out, retval] BOOL* value); + + /// Sets the `Cancel` property. + [propput] HRESULT Cancel([in] BOOL value); + + /// You may set this flag to `TRUE` to respond to the server with or + /// without a certificate. If this flag is `TRUE` with a `SelectedCertificate` + /// it responds to the server with the selected certificate otherwise respond to the + /// server without a certificate. By default the value of `Handled` and `Cancel` are `FALSE` + /// and display default client certificate selection dialog prompt to allow the user to + /// choose a certificate. The `SelectedCertificate` is ignored unless `Handled` is set `TRUE`. + [propget] HRESULT Handled([out, retval] BOOL* value); + + /// Sets the `Handled` property. + [propput] HRESULT Handled([in] BOOL value); + + /// Returns an `ICoreWebView2Deferral` object. Use this operation to + /// complete the event at a later time. + HRESULT GetDeferral([out, retval] ICoreWebView2Deferral** deferral); +} + +/// This mostly represents a combined win32 +/// POINTER_INFO/POINTER_TOUCH_INFO/POINTER_PEN_INFO object. It takes fields +/// from all three and excludes some win32 specific data types like HWND and +/// HANDLE. Note, sourceDevice is taken out but we expect the PointerDeviceRect +/// and DisplayRect to cover the existing use cases of sourceDevice. +/// Another big difference is that any of the point or rect locations are +/// expected to be in WebView physical coordinates. That is, coordinates +/// relative to the WebView and no DPI scaling applied. +// +// The PointerId, PointerFlags, ButtonChangeKind, PenFlags, PenMask, TouchFlags, +// and TouchMask are all #defined flags or enums in the +// POINTER_INFO/POINTER_TOUCH_INFO/POINTER_PEN_INFO structure. We define those +// properties here as UINT32 or INT32 and expect the developer to know how to +// populate those values based on the Windows definitions. +[uuid(e6995887-d10d-4f5d-9359-4ce46e4f96b9), object, pointer_default(unique)] +interface ICoreWebView2PointerInfo : IUnknown { + /// Get the PointerKind of the pointer event. This corresponds to the + /// pointerKind property of the POINTER_INFO struct. The values are defined by + /// the POINTER_INPUT_KIND enum in the Windows SDK (winuser.h). Supports + /// PT_PEN and PT_TOUCH. + [propget] HRESULT PointerKind([out, retval] DWORD* pointerKind); + /// Set the PointerKind of the pointer event. This corresponds to the + /// pointerKind property of the POINTER_INFO struct. The values are defined by + /// the POINTER_INPUT_KIND enum in the Windows SDK (winuser.h). Supports + /// PT_PEN and PT_TOUCH. + [propput] HRESULT PointerKind([in] DWORD pointerKind); + + /// Get the PointerId of the pointer event. This corresponds to the pointerId + /// property of the POINTER_INFO struct as defined in the Windows SDK + /// (winuser.h). + [propget] HRESULT PointerId([out, retval] UINT32* pointerId); + /// Set the PointerId of the pointer event. This corresponds to the pointerId + /// property of the POINTER_INFO struct as defined in the Windows SDK + /// (winuser.h). + [propput] HRESULT PointerId([in] UINT32 pointerId); + + /// Get the FrameID of the pointer event. This corresponds to the frameId + /// property of the POINTER_INFO struct as defined in the Windows SDK + /// (winuser.h). + [propget] HRESULT FrameId([out, retval] UINT32* frameId); + /// Set the FrameID of the pointer event. This corresponds to the frameId + /// property of the POINTER_INFO struct as defined in the Windows SDK + /// (winuser.h). + [propput] HRESULT FrameId([in] UINT32 frameId); + + /// Get the PointerFlags of the pointer event. This corresponds to the + /// pointerFlags property of the POINTER_INFO struct. The values are defined + /// by the POINTER_FLAGS constants in the Windows SDK (winuser.h). + [propget] HRESULT PointerFlags([out, retval] UINT32* pointerFlags); + /// Set the PointerFlags of the pointer event. This corresponds to the + /// pointerFlags property of the POINTER_INFO struct. The values are defined + /// by the POINTER_FLAGS constants in the Windows SDK (winuser.h). + [propput] HRESULT PointerFlags([in] UINT32 pointerFlags); + + /// Get the PointerDeviceRect of the sourceDevice property of the + /// POINTER_INFO struct as defined in the Windows SDK (winuser.h). + [propget] HRESULT PointerDeviceRect([out, retval] RECT* pointerDeviceRect); + /// Set the PointerDeviceRect of the sourceDevice property of the + /// POINTER_INFO struct as defined in the Windows SDK (winuser.h). + [propput] HRESULT PointerDeviceRect([in] RECT pointerDeviceRect); + + /// Get the DisplayRect of the sourceDevice property of the POINTER_INFO + /// struct as defined in the Windows SDK (winuser.h). + [propget] HRESULT DisplayRect([out, retval] RECT* displayRect); + /// Set the DisplayRect of the sourceDevice property of the POINTER_INFO + /// struct as defined in the Windows SDK (winuser.h). + [propput] HRESULT DisplayRect([in] RECT displayRect); + + /// Get the PixelLocation of the pointer event. This corresponds to the + /// ptPixelLocation property of the POINTER_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propget] HRESULT PixelLocation([out, retval] POINT* pixelLocation); + /// Set the PixelLocation of the pointer event. This corresponds to the + /// ptPixelLocation property of the POINTER_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propput] HRESULT PixelLocation([in] POINT pixelLocation); + + /// Get the HimetricLocation of the pointer event. This corresponds to the + /// ptHimetricLocation property of the POINTER_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propget] HRESULT HimetricLocation([out, retval] POINT* himetricLocation); + /// Set the HimetricLocation of the pointer event. This corresponds to the + /// ptHimetricLocation property of the POINTER_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propput] HRESULT HimetricLocation([in] POINT himetricLocation); + + /// Get the PixelLocationRaw of the pointer event. This corresponds to the + /// ptPixelLocationRaw property of the POINTER_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propget] HRESULT PixelLocationRaw([out, retval] POINT* pixelLocationRaw); + /// Set the PixelLocationRaw of the pointer event. This corresponds to the + /// ptPixelLocationRaw property of the POINTER_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propput] HRESULT PixelLocationRaw([in] POINT pixelLocationRaw); + + /// Get the HimetricLocationRaw of the pointer event. This corresponds to the + /// ptHimetricLocationRaw property of the POINTER_INFO struct as defined in + /// the Windows SDK (winuser.h). + [propget] HRESULT HimetricLocationRaw([out, retval] POINT* himetricLocationRaw); + /// Set the HimetricLocationRaw of the pointer event. This corresponds to the + /// ptHimetricLocationRaw property of the POINTER_INFO struct as defined in + /// the Windows SDK (winuser.h). + [propput] HRESULT HimetricLocationRaw([in] POINT himetricLocationRaw); + + /// Get the Time of the pointer event. This corresponds to the dwTime property + /// of the POINTER_INFO struct as defined in the Windows SDK (winuser.h). + [propget] HRESULT Time([out, retval] DWORD* time); + /// Set the Time of the pointer event. This corresponds to the dwTime property + /// of the POINTER_INFO struct as defined in the Windows SDK (winuser.h). + [propput] HRESULT Time([in] DWORD time); + + /// Get the HistoryCount of the pointer event. This corresponds to the + /// historyCount property of the POINTER_INFO struct as defined in the Windows + /// SDK (winuser.h). + [propget] HRESULT HistoryCount([out, retval] UINT32* historyCount); + /// Set the HistoryCount of the pointer event. This corresponds to the + /// historyCount property of the POINTER_INFO struct as defined in the Windows + /// SDK (winuser.h). + [propput] HRESULT HistoryCount([in] UINT32 historyCount); + + /// Get the InputData of the pointer event. This corresponds to the InputData + /// property of the POINTER_INFO struct as defined in the Windows SDK + /// (winuser.h). + [propget] HRESULT InputData([out, retval] INT32* inputData); + /// Set the InputData of the pointer event. This corresponds to the InputData + /// property of the POINTER_INFO struct as defined in the Windows SDK + /// (winuser.h). + [propput] HRESULT InputData([in] INT32 inputData); + + /// Get the KeyStates of the pointer event. This corresponds to the + /// dwKeyStates property of the POINTER_INFO struct as defined in the Windows + /// SDK (winuser.h). + [propget] HRESULT KeyStates([out, retval] DWORD* keyStates); + /// Set the KeyStates of the pointer event. This corresponds to the + /// dwKeyStates property of the POINTER_INFO struct as defined in the Windows + /// SDK (winuser.h). + [propput] HRESULT KeyStates([in] DWORD keyStates); + + /// Get the PerformanceCount of the pointer event. This corresponds to the + /// PerformanceCount property of the POINTER_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propget] HRESULT PerformanceCount([out, retval] UINT64* performanceCount); + /// Set the PerformanceCount of the pointer event. This corresponds to the + /// PerformanceCount property of the POINTER_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propput] HRESULT PerformanceCount([in] UINT64 performanceCount); + + /// Get the ButtonChangeKind of the pointer event. This corresponds to the + /// ButtonChangeKind property of the POINTER_INFO struct. The values are + /// defined by the POINTER_BUTTON_CHANGE_KIND enum in the Windows SDK + /// (winuser.h). + [propget] HRESULT ButtonChangeKind([out, retval] INT32* buttonChangeKind); + /// Set the ButtonChangeKind of the pointer event. This corresponds to the + /// ButtonChangeKind property of the POINTER_INFO struct. The values are + /// defined by the POINTER_BUTTON_CHANGE_KIND enum in the Windows SDK + /// (winuser.h). + [propput] HRESULT ButtonChangeKind([in] INT32 buttonChangeKind); + + // Pen specific attributes + + /// Get the PenFlags of the pointer event. This corresponds to the penFlags + /// property of the POINTER_PEN_INFO struct. The values are defined by the + /// PEN_FLAGS constants in the Windows SDK (winuser.h). + [propget] HRESULT PenFlags([out, retval] UINT32* penFLags); + /// Set the PenFlags of the pointer event. This corresponds to the penFlags + /// property of the POINTER_PEN_INFO struct. The values are defined by the + /// PEN_FLAGS constants in the Windows SDK (winuser.h). + [propput] HRESULT PenFlags([in] UINT32 penFLags); + + /// Get the PenMask of the pointer event. This corresponds to the penMask + /// property of the POINTER_PEN_INFO struct. The values are defined by the + /// PEN_MASK constants in the Windows SDK (winuser.h). + [propget] HRESULT PenMask([out, retval] UINT32* penMask); + /// Set the PenMask of the pointer event. This corresponds to the penMask + /// property of the POINTER_PEN_INFO struct. The values are defined by the + /// PEN_MASK constants in the Windows SDK (winuser.h). + [propput] HRESULT PenMask([in] UINT32 penMask); + + /// Get the PenPressure of the pointer event. This corresponds to the pressure + /// property of the POINTER_PEN_INFO struct as defined in the Windows SDK + /// (winuser.h). + [propget] HRESULT PenPressure([out, retval] UINT32* penPressure); + /// Set the PenPressure of the pointer event. This corresponds to the pressure + /// property of the POINTER_PEN_INFO struct as defined in the Windows SDK + /// (winuser.h). + [propput] HRESULT PenPressure([in] UINT32 penPressure); + + /// Get the PenRotation of the pointer event. This corresponds to the rotation + /// property of the POINTER_PEN_INFO struct as defined in the Windows SDK + /// (winuser.h). + [propget] HRESULT PenRotation([out, retval] UINT32* penRotation); + /// Set the PenRotation of the pointer event. This corresponds to the rotation + /// property of the POINTER_PEN_INFO struct as defined in the Windows SDK + /// (winuser.h). + [propput] HRESULT PenRotation([in] UINT32 penRotation); + + /// Get the PenTiltX of the pointer event. This corresponds to the tiltX + /// property of the POINTER_PEN_INFO struct as defined in the Windows SDK + /// (winuser.h). + [propget] HRESULT PenTiltX([out, retval] INT32* penTiltX); + /// Set the PenTiltX of the pointer event. This corresponds to the tiltX + /// property of the POINTER_PEN_INFO struct as defined in the Windows SDK + /// (winuser.h). + [propput] HRESULT PenTiltX([in] INT32 penTiltX); + + /// Get the PenTiltY of the pointer event. This corresponds to the tiltY + /// property of the POINTER_PEN_INFO struct as defined in the Windows SDK + /// (winuser.h). + [propget] HRESULT PenTiltY([out, retval] INT32* penTiltY); + /// Set the PenTiltY of the pointer event. This corresponds to the tiltY + /// property of the POINTER_PEN_INFO struct as defined in the Windows SDK + /// (winuser.h). + [propput] HRESULT PenTiltY([in] INT32 penTiltY); + + // Touch specific attributes + + /// Get the TouchFlags of the pointer event. This corresponds to the + /// touchFlags property of the POINTER_TOUCH_INFO struct. The values are + /// defined by the TOUCH_FLAGS constants in the Windows SDK (winuser.h). + [propget] HRESULT TouchFlags([out, retval] UINT32* touchFlags); + /// Set the TouchFlags of the pointer event. This corresponds to the + /// touchFlags property of the POINTER_TOUCH_INFO struct. The values are + /// defined by the TOUCH_FLAGS constants in the Windows SDK (winuser.h). + [propput] HRESULT TouchFlags([in] UINT32 touchFlags); + + /// Get the TouchMask of the pointer event. This corresponds to the + /// touchMask property of the POINTER_TOUCH_INFO struct. The values are + /// defined by the TOUCH_MASK constants in the Windows SDK (winuser.h). + [propget] HRESULT TouchMask([out, retval] UINT32* touchMask); + /// Set the TouchMask of the pointer event. This corresponds to the + /// touchMask property of the POINTER_TOUCH_INFO struct. The values are + /// defined by the TOUCH_MASK constants in the Windows SDK (winuser.h). + [propput] HRESULT TouchMask([in] UINT32 touchMask); + + /// Get the TouchContact of the pointer event. This corresponds to the + /// rcContact property of the POINTER_TOUCH_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propget] HRESULT TouchContact([out, retval] RECT* touchContact); + /// Set the TouchContact of the pointer event. This corresponds to the + /// rcContact property of the POINTER_TOUCH_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propput] HRESULT TouchContact([in] RECT touchContact); + + /// Get the TouchContactRaw of the pointer event. This corresponds to the + /// rcContactRaw property of the POINTER_TOUCH_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propget] HRESULT TouchContactRaw([out, retval] RECT* touchContactRaw); + /// Set the TouchContactRaw of the pointer event. This corresponds to the + /// rcContactRaw property of the POINTER_TOUCH_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propput] HRESULT TouchContactRaw([in] RECT touchContactRaw); + + /// Get the TouchOrientation of the pointer event. This corresponds to the + /// orientation property of the POINTER_TOUCH_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propget] HRESULT TouchOrientation([out, retval] UINT32* touchOrientation); + /// Set the TouchOrientation of the pointer event. This corresponds to the + /// orientation property of the POINTER_TOUCH_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propput] HRESULT TouchOrientation([in] UINT32 touchOrientation); + + /// Get the TouchPressure of the pointer event. This corresponds to the + /// pressure property of the POINTER_TOUCH_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propget] HRESULT TouchPressure([out, retval] UINT32* touchPressure); + /// Set the TouchPressure of the pointer event. This corresponds to the + /// pressure property of the POINTER_TOUCH_INFO struct as defined in the + /// Windows SDK (winuser.h). + [propput] HRESULT TouchPressure([in] UINT32 touchPressure); +} + +/// The caller implements this interface to receive CursorChanged events. Use +/// the Cursor property to get the new cursor. +[uuid(9da43ccc-26e1-4dad-b56c-d8961c94c571), object, pointer_default(unique)] +interface ICoreWebView2CursorChangedEventHandler : IUnknown { + /// Called to provide the implementer with the event args for the + /// corresponding event. There are no event args and the args + /// parameter will be null. + HRESULT Invoke([in] ICoreWebView2CompositionController* sender, [in] IUnknown* args); +} + +/// Receives `RasterizationScaleChanged` events. Use the `RasterizationScale` +/// property to get the modified scale. + +[uuid(9c98c8b1-ac53-427e-a345-3049b5524bbe), object, pointer_default(unique)] +interface ICoreWebView2RasterizationScaleChangedEventHandler : IUnknown { + /// Called to provide the implementer with the event args for the + /// corresponding event. There are no event args and the args + /// parameter will be null. + HRESULT Invoke( + [in] ICoreWebView2Controller* sender, + [in] IUnknown* args); +} + +/// Represents the WebView2 Environment. 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. Using it in different environments are not guaranteed to be +/// compatible and may fail. + +[uuid(b96d755e-0319-4e92-a296-23436f46a1fc), object, pointer_default(unique)] +interface ICoreWebView2Environment : IUnknown { + + /// Asynchronously create a new WebView. + /// + /// `parentWindow` is the `HWND` in which the WebView should be displayed and + /// from which receive input. The WebView adds a child window to the + /// provided window before this function returns. Z-order and other things + /// impacted by sibling window order are affected accordingly. If you want to + /// move the WebView to a different parent after it has been created, you must + /// call put_ParentWindow to update tooltip positions, accessibility trees, + /// and such. + /// + /// HWND_MESSAGE is a valid parameter for `parentWindow` for an invisible + /// WebView for Windows 8 and above. In this case the window will never + /// become visible. You are not able to reparent the window after you have + /// created the WebView. This is not supported in Windows 7 or below. + /// Passing this parameter in Windows 7 or below will return + /// ERROR_INVALID_WINDOW_HANDLE in the controller callback. + /// + /// It is recommended that the app set Application User Model ID for the + /// process or the app window. If none is set, during WebView creation a + /// generated Application User Model ID is set to root window of + /// `parentWindow`. + /// + /// \snippet AppWindow.cpp CreateCoreWebView2Controller + /// + /// It is recommended that the app handles restart manager messages, to + /// gracefully restart it in the case when the app is using the WebView2 + /// Runtime from a certain installation and that installation is being + /// uninstalled. For example, if a user installs a version of the WebView2 + /// Runtime and opts to use another version of the WebView2 Runtime for + /// testing the app, and then uninstalls the 1st version of the WebView2 + /// Runtime without closing the app, the app restarts to allow + /// un-installation to succeed. + /// + /// \snippet AppWindow.cpp RestartManager + /// + /// The app should retry `CreateCoreWebView2Controller` upon failure, unless the + /// error code is `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)`. + /// When the app retries `CreateCoreWebView2Controller` upon failure, it is + /// recommended that the app restarts from creating a new WebView2 + /// Environment. If a WebView2 Runtime update happens, the version + /// associated with a WebView2 Environment may have been removed and causing + /// the object to no longer work. Creating a new WebView2 Environment works + /// since it uses the latest version. + /// + /// WebView creation fails with `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)` if a + /// running instance using the same user data folder exists, and the Environment + /// objects have different `EnvironmentOptions`. For example, if a WebView was + /// created with one language, an attempt to create a WebView with a different + /// language using the same user data folder will fail. + /// + /// The creation will fail with `E_ABORT` if `parentWindow` is destroyed + /// before the creation is finished. If this is caused by a call to + /// `DestroyWindow`, the creation completed handler will be invoked before + /// `DestroyWindow` returns, so you can use this to cancel creation and clean + /// up resources synchronously when quitting a thread. + + HRESULT CreateCoreWebView2Controller( + HWND parentWindow, + ICoreWebView2CreateCoreWebView2ControllerCompletedHandler* handler); + + /// Create a new web resource response object. The `headers` parameter is + /// the raw response header string delimited by newline. It is also possible + /// to create this object with null headers string and then use the + /// `ICoreWebView2HttpResponseHeaders` to construct the headers line by line. + /// For more information about other parameters, navigate to + /// [ICoreWebView2WebResourceResponse](/microsoft-edge/webview2/reference/win32/icorewebview2webresourceresponse). + /// + /// \snippet SettingsComponent.cpp WebResourceRequested0 + /// \snippet SettingsComponent.cpp WebResourceRequested1 + HRESULT CreateWebResourceResponse( + [in] IStream* content, + [in] int statusCode, + [in] LPCWSTR reasonPhrase, + [in] LPCWSTR headers, + [out, retval] ICoreWebView2WebResourceResponse** response); + + /// The browser version info of the current `ICoreWebView2Environment`, + /// including channel name if it is not the WebView2 Runtime. It matches the + /// format of the `GetAvailableCoreWebView2BrowserVersionString` API. + /// Channel names are `beta`, `dev`, and `canary`. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + /// + /// \snippet AppWindow.cpp GetBrowserVersionString + [propget] HRESULT BrowserVersionString([out, retval] LPWSTR* versionInfo); + + /// Add an event handler for the `NewBrowserVersionAvailable` event. + /// `NewBrowserVersionAvailable` runs when a newer version of the WebView2 + /// Runtime is installed and available using WebView2. To use the newer + /// version of the browser you must create a new environment and WebView. + /// The event only runs for new version from the same WebView2 Runtime from + /// which the code is running. When not running with installed WebView2 + /// Runtime, no event is run. + /// + /// Because a user data folder is only able to be used by one browser + /// process at a time, if you want to use the same user data folder in the + /// WebView using the new version of the browser, you must close the + /// environment and instance of WebView that are using the older version of + /// the browser first. Or simply prompt the user to restart the app. + /// + /// \snippet AppWindow.cpp NewBrowserVersionAvailable + HRESULT add_NewBrowserVersionAvailable( + [in] ICoreWebView2NewBrowserVersionAvailableEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_NewBrowserVersionAvailable`. + HRESULT remove_NewBrowserVersionAvailable( + [in] EventRegistrationToken token); +} + +/// A continuation of the ICoreWebView2Environment interface. +[uuid(41F3632B-5EF4-404F-AD82-2D606C5A9A21), object, pointer_default(unique)] +interface ICoreWebView2Environment2 : ICoreWebView2Environment { + /// Create a new web resource request object. + /// URI parameter must be absolute URI. + /// The headers string is the raw request header string delimited by CRLF + /// (optional in last header). + /// It's also possible to create this object with null headers string + /// and then use the ICoreWebView2HttpRequestHeaders to construct the headers + /// line by line. + /// For information on other parameters see ICoreWebView2WebResourceRequest. + /// + /// \snippet ScenarioNavigateWithWebResourceRequest.cpp NavigateWithWebResourceRequest + HRESULT CreateWebResourceRequest([in] LPCWSTR uri, + [in] LPCWSTR method, + [in] IStream* postData, + [in] LPCWSTR headers, + [out, retval] ICoreWebView2WebResourceRequest** request); +} + +/// A continuation of the ICoreWebView2Environment2 interface. +[uuid(80a22ae3-be7c-4ce2-afe1-5a50056cdeeb), object, pointer_default(unique)] +interface ICoreWebView2Environment3 : ICoreWebView2Environment2 { + /// Asynchronously create a new WebView for use with visual hosting. + /// + /// parentWindow is the HWND in which the app will connect the visual tree of + /// the WebView. This will be the HWND that the app will receive pointer/ + /// mouse input meant for the WebView (and will need to use SendMouseInput/ + /// SendPointerInput to forward). If the app moves the WebView visual tree to + /// underneath a different window, then it needs to call put_ParentWindow to + /// update the new parent HWND of the visual tree. + /// + /// HWND_MESSAGE is not a valid parameter for `parentWindow` for visual hosting. + /// The underlying implementation of supporting HWND_MESSAGE would break + /// accessibility for visual hosting. This is supported in windowed + /// WebViews - see CreateCoreWebView2Controller. + /// + /// Use put_RootVisualTarget on the created CoreWebView2CompositionController to + /// provide a visual to host the browser's visual tree. + /// + /// It is recommended that the application set Application User Model ID for + /// the process or the application window. If none is set, during WebView + /// creation a generated Application User Model ID is set to root window of + /// parentWindow. + /// \snippet AppWindow.cpp CreateCoreWebView2Controller + /// + /// It is recommended that the application handles restart manager messages + /// so that it can be restarted gracefully in the case when the app is using + /// Edge for WebView from a certain installation and that installation is + /// being uninstalled. For example, if a user installs Edge from Dev channel + /// and opts to use Edge from that channel for testing the app, and then + /// uninstalls Edge from that channel without closing the app, the app will + /// be restarted to allow uninstallation of the dev channel to succeed. + /// \snippet AppWindow.cpp RestartManager + /// + /// The app should retry `CreateCoreWebView2CompositionController` upon failure, + /// unless the error code is `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)`. + /// When the app retries `CreateCoreWebView2CompositionController` + /// upon failure, it is recommended that the app restarts from creating a new + /// WebView2 Environment. If a WebView2 Runtime update happens, the version + /// associated with a WebView2 Environment may have been removed and causing + /// the object to no longer work. Creating a new WebView2 Environment works + /// since it uses the latest version. + /// + /// WebView creation fails with `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)` if a + /// running instance using the same user data folder exists, and the Environment + /// objects have different `EnvironmentOptions`. For example, if a WebView was + /// created with one language, an attempt to create a WebView with a different + /// language using the same user data folder will fail. + /// + /// The creation will fail with `E_ABORT` if `parentWindow` is destroyed + /// before the creation is finished. If this is caused by a call to + /// `DestroyWindow`, the creation completed handler will be invoked before + /// `DestroyWindow` returns, so you can use this to cancel creation and clean + /// up resources synchronously when quitting a thread. + /// + /// CreateCoreWebView2CompositionController is supported in the following versions of Windows: + /// + /// - Windows 11 + /// - Windows 10 + /// - Windows Server 2019 + /// - Windows Server 2016 + /// + HRESULT CreateCoreWebView2CompositionController( + HWND parentWindow, + ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler* handler); + + /// Create an empty ICoreWebView2PointerInfo. The returned + /// ICoreWebView2PointerInfo needs to be populated with all of the relevant + /// info before calling SendPointerInput. + HRESULT CreateCoreWebView2PointerInfo( + [out, retval] ICoreWebView2PointerInfo** pointerInfo); +} + +/// A continuation of the ICoreWebView2Environment3 interface. +[uuid(20944379-6dcf-41d6-a0a0-abc0fc50de0d), object, pointer_default(unique)] +interface ICoreWebView2Environment4 : ICoreWebView2Environment3 { + /// Returns the Automation Provider for the WebView that matches the provided + /// window. Host apps are expected to implement + /// IRawElementProviderHwndOverride. When GetOverrideProviderForHwnd is + /// called, the app can pass the HWND to GetAutomationProviderForWindow to + /// find the matching WebView Automation Provider. + HRESULT GetAutomationProviderForWindow([in] HWND hwnd, + [out, retval] IUnknown** provider); +} + +/// A continuation of the `ICoreWebView2Environment4` interface that supports +/// the `BrowserProcessExited` event. +[uuid(319e423d-e0d7-4b8d-9254-ae9475de9b17), object, pointer_default(unique)] +interface ICoreWebView2Environment5 : ICoreWebView2Environment4 { + /// Add an event handler for the `BrowserProcessExited` event. + /// The `BrowserProcessExited` event is raised when the collection of WebView2 + /// Runtime processes for the browser process of this environment terminate + /// due to browser process failure or normal shutdown (for example, when all + /// associated WebViews are closed), after all resources have been released + /// (including the user data folder). To learn about what these processes are, + /// go to [Process model](/microsoft-edge/webview2/concepts/process-model). + /// + /// A handler added with this method is called until removed with + /// `remove_BrowserProcessExited`, even if a new browser process is bound to + /// this environment after earlier `BrowserProcessExited` events are raised. + /// + /// Multiple app processes can share a browser process by creating their webviews + /// from a `ICoreWebView2Environment` with the same user data folder. When the entire + /// collection of WebView2Runtime processes for the browser process exit, all + /// associated `ICoreWebView2Environment` objects receive the `BrowserProcessExited` + /// event. Multiple processes sharing the same browser process need to coordinate + /// their use of the shared user data folder to avoid race conditions and + /// unnecessary waits. For example, one process should not clear the user data + /// folder at the same time that another process recovers from a crash by recreating + /// its WebView controls; one process should not block waiting for the event if + /// other app processes are using the same browser process (the browser process will + /// not exit until those other processes have closed their webviews too). + /// + /// Note this is an event from the `ICoreWebView2Environment3` interface, not + /// the `ICoreWebView2` one. The difference between `BrowserProcessExited` and + /// `ICoreWebView2`'s `ProcessFailed` is that `BrowserProcessExited` is + /// raised for any **browser process** exit (expected or unexpected, after all + /// associated processes have exited too), while `ProcessFailed` is raised for + /// **unexpected** process exits of any kind (browser, render, GPU, and all + /// other types), or for main frame **render process** unresponsiveness. To + /// learn more about the WebView2 Process Model, go to + /// [Process model](/microsoft-edge/webview2/concepts/process-model). + /// + /// In the case the browser process crashes, both `BrowserProcessExited` and + /// `ProcessFailed` events are raised, but the order is not guaranteed. These + /// events are intended for different scenarios. It is up to the app to + /// coordinate the handlers so they do not try to perform reliability recovery + /// while also trying to move to a new WebView2 Runtime version or remove the + /// user data folder. + /// + /// \snippet AppWindow.cpp Close + HRESULT add_BrowserProcessExited( + [in] ICoreWebView2BrowserProcessExitedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_BrowserProcessExited`. + HRESULT remove_BrowserProcessExited([in] EventRegistrationToken token); +} + +/// This interface is an extension of the ICoreWebView2Environment that supports +/// creating print settings for printing to PDF. +[uuid(e59ee362-acbd-4857-9a8e-d3644d9459a9), object, pointer_default(unique)] +interface ICoreWebView2Environment6 : ICoreWebView2Environment5 { + /// Creates the `ICoreWebView2PrintSettings` used by the `PrintToPdf` + /// method. + HRESULT CreatePrintSettings( + [out, retval] ICoreWebView2PrintSettings** printSettings); +} + +/// This interface is an extension of the ICoreWebView2Environment. An object +/// implementing the ICoreWebView2Environment7 interface will also +/// implement ICoreWebView2Environment. +[uuid(43C22296-3BBD-43A4-9C00-5C0DF6DD29A2), object, pointer_default(unique)] +interface ICoreWebView2Environment7 : ICoreWebView2Environment6 { + /// Returns the user data folder that all CoreWebView2's created from this + /// environment are using. + /// This could be either the value passed in by the developer when creating + /// the environment object or the calculated one for default handling. It + /// will always be an absolute path. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + /// + /// \snippet AppWindow.cpp GetUserDataFolder + [propget] HRESULT UserDataFolder([ out, retval ] LPWSTR * value); +} + +/// A continuation of the `ICoreWebView2Environment7` interface that supports +/// the `ProcessInfosChanged` event. +[uuid(D6EB91DD-C3D2-45E5-BD29-6DC2BC4DE9CF), object, pointer_default(unique)] +interface ICoreWebView2Environment8 : ICoreWebView2Environment7 { + /// Adds an event handler for the `ProcessInfosChanged` event. + /// + /// \snippet ProcessComponent.cpp ProcessInfosChanged + /// \snippet ProcessComponent.cpp ProcessInfosChanged1 + HRESULT add_ProcessInfosChanged( + [in] ICoreWebView2ProcessInfosChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_ProcessInfosChanged`. + HRESULT remove_ProcessInfosChanged( + [in] EventRegistrationToken token); + + /// Returns the `ICoreWebView2ProcessInfoCollection` + /// Provide a list of all process using same user data folder except for crashpad process. + HRESULT GetProcessInfos([out, retval]ICoreWebView2ProcessInfoCollection** value); +} + +/// Provides a set of properties for a process in the `ICoreWebView2Environment`. +[uuid(84FA7612-3F3D-4FBF-889D-FAD000492D72), object, pointer_default(unique)] +interface ICoreWebView2ProcessInfo : IUnknown { + + /// The process id of the process. + [propget] HRESULT ProcessId([out, retval] INT32* value); + + /// The kind of the process. + [propget] HRESULT Kind([out, retval] COREWEBVIEW2_PROCESS_KIND* kind); +} + +/// A continuation of the ICoreWebView2Environment interface for +/// creating CoreWebView2 ContextMenuItem objects. +[uuid(f06f41bf-4b5a-49d8-b9f6-fa16cd29f274), object, pointer_default(unique)] +interface ICoreWebView2Environment9 : ICoreWebView2Environment8 { + /// Create a custom `ContextMenuItem` object to insert into the WebView context menu. + /// CoreWebView2 will rewind the icon stream before decoding. + /// There is a limit of 1000 active custom context menu items at a given time. + /// Attempting to create more before deleting existing ones will fail with + /// ERROR_NOT_ENOUGH_QUOTA. + /// It is recommended to reuse ContextMenuItems across ContextMenuRequested events + /// for performance. + /// The returned ContextMenuItem object's `IsEnabled` property will default to `TRUE` + /// and `IsChecked` property will default to `FALSE`. A `CommandId` will be assigned + /// to the ContextMenuItem object that's unique across active custom context menu items, + /// but command ID values of deleted ContextMenuItems can be reassigned. + HRESULT CreateContextMenuItem( + [in] LPCWSTR label, + [in] IStream* iconStream, + [in] COREWEBVIEW2_CONTEXT_MENU_ITEM_KIND kind, + [out, retval] ICoreWebView2ContextMenuItem** item); +} + +/// This interface is used to create `ICoreWebView2ControllerOptions` object, which +/// can be passed as a parameter in `CreateCoreWebView2ControllerWithOptions` and +/// `CreateCoreWebView2CompositionControllerWithOptions` function for multiple profiles support. +/// The profile will be created on disk or opened when calling `CreateCoreWebView2ControllerWithOptions` or +/// `CreateCoreWebView2CompositionControllerWithOptions` no matter InPrivate mode is enabled or not, and +/// it will be released in memory when the corresponding controller is closed but still remain on disk. +/// If you create a WebView2Controller with {ProfileName="name", InPrivate=false} and then later create another +/// one with {ProfileName="name", InPrivate=true}, these two controllers using the same profile would be allowed to +/// run at the same time. +/// As WebView2 is built on top of Edge browser, it follows Edge's behavior pattern. To create an InPrivate WebView, +/// we gets an off-the-record profile (an InPrivate profile) from a regular profile, then create the WebView with the +/// off-the-record profile. +/// +/// \snippet AppWindow.cpp CreateControllerWithOptions +[uuid(ee0eb9df-6f12-46ce-b53f-3f47b9c928e0), object, pointer_default(unique)] +interface ICoreWebView2Environment10 : ICoreWebView2Environment9 { + /// Create a new ICoreWebView2ControllerOptions to be passed as a parameter of + /// CreateCoreWebView2ControllerWithOptions and CreateCoreWebView2CompositionControllerWithOptions. + /// The 'options' is settable and in it the default value for profile name is the empty string, + /// and the default value for IsInPrivateModeEnabled is false. + /// Also the profile name can be reused. + HRESULT CreateCoreWebView2ControllerOptions( + [out, retval] ICoreWebView2ControllerOptions** options); + + /// Create a new WebView with options. + HRESULT CreateCoreWebView2ControllerWithOptions( + [in] HWND parentWindow, + [in] ICoreWebView2ControllerOptions* options, + [in] ICoreWebView2CreateCoreWebView2ControllerCompletedHandler* handler); + + /// Create a new WebView in visual hosting mode with options. + HRESULT CreateCoreWebView2CompositionControllerWithOptions( + [in] HWND parentWindow, + [in] ICoreWebView2ControllerOptions* options, + [in] ICoreWebView2CreateCoreWebView2CompositionControllerCompletedHandler* handler); +} + +/// A list containing process id and corresponding process type. +[uuid(402B99CD-A0CC-4FA5-B7A5-51D86A1D2339), object, pointer_default(unique)] +interface ICoreWebView2ProcessInfoCollection : IUnknown { + /// The number of process contained in the ICoreWebView2ProcessInfoCollection. + [propget] HRESULT Count([out, retval] UINT* count); + + /// Gets the `ICoreWebView2ProcessInfo` located in the `ICoreWebView2ProcessInfoCollection` + /// at the given index. + HRESULT GetValueAtIndex([in] UINT32 index, + [out, retval] ICoreWebView2ProcessInfo** processInfo); +} + +/// An event handler for the `ProcessInfosChanged` event. +[uuid(F4AF0C39-44B9-40E9-8B11-0484CFB9E0A1), object, pointer_default(unique)] +interface ICoreWebView2ProcessInfosChangedEventHandler : IUnknown { + /// Provides the event args for the corresponding event. No event args exist + /// and the `args` parameter is set to `null`. + HRESULT Invoke([in] ICoreWebView2Environment* sender, [in] IUnknown* args); +} + +/// Options used to create WebView2 Environment. A default implementation is +/// provided in `WebView2EnvironmentOptions.h`. +/// +/// \snippet AppWindow.cpp CreateCoreWebView2EnvironmentWithOptions + +[uuid(2fde08a8-1e9a-4766-8c05-95a9ceb9d1c5), object, pointer_default(unique)] +interface ICoreWebView2EnvironmentOptions : IUnknown { + + /// Changes the behavior of the WebView. The arguments are passed to the + /// browser process as part of the command. For more information about + /// using command-line switches with Chromium browser processes, navigate to + /// [Run Chromium with Flags](https://www.chromium.org/developers/how-tos/run-chromium-with-flags). + /// The value appended to a switch is appended to the browser process, for + /// example, in `--edge-webview-switches=xxx` the value is `xxx`. If you + /// specify a switch that is important to WebView functionality, it is + /// ignored, for example, `--user-data-dir`. Specific features are disabled + /// internally and blocked from being enabled. If a switch is specified + /// multiple times, only the last instance is used. + /// + /// \> [!NOTE]\n\> A merge of the different values of the same switch is not attempted, + /// except for disabled and enabled features. The features specified by + /// `--enable-features` and `--disable-features` are merged with simple + /// logic.\n\> * The features is the union of the specified features + /// and built-in features. If a feature is disabled, it is removed from the + /// enabled features list. + /// + /// If you specify command-line switches and use the + /// `additionalBrowserArguments` parameter, the `--edge-webview-switches` + /// value takes precedence and is processed last. If a switch fails to + /// parse, the switch is ignored. The default state for the operation is + /// to run the browser process with no extra flags. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT AdditionalBrowserArguments([out, retval] LPWSTR* value); + + /// Sets the `AdditionalBrowserArguments` property. + /// + /// Please note that calling this API twice will replace the previous value + /// rather than appending to it. If there are multiple switches, there + /// should be a space in between them. The one exception is if multiple + /// features are being enabled/disabled for a single switch, in which + /// case the features should be comma-seperated. + /// Ex. "--disable-features=feature1,feature2 --some-other-switch --do-something" + [propput] HRESULT AdditionalBrowserArguments([in] LPCWSTR value); + + /// The default display language for WebView. It applies to browser UI such as + /// context menu and dialogs. It also applies to the `accept-languages` HTTP + /// header that WebView sends to websites. It is in the format of + /// `language[-country]` where `language` is the 2-letter code from [ISO + /// 639](https://www.iso.org/iso-639-language-codes.html) and `country` is the + /// 2-letter code from [ISO 3166](https://www.iso.org/standard/72482.html). + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT Language([out, retval] LPWSTR* value); + + /// Sets the `Language` property. + [propput] HRESULT Language([in] LPCWSTR value); + + /// Specifies the version of the WebView2 Runtime binaries required to be + /// compatible with your app. This defaults to the WebView2 Runtime version + /// that corresponds with the version of the SDK the app is using. The + /// format of this value is the same as the format of the + /// `BrowserVersionString` property and other `BrowserVersion` values. Only + /// the version part of the `BrowserVersion` value is respected. The channel + /// suffix, if it exists, is ignored. The version of the WebView2 Runtime + /// binaries actually used may be different from the specified + /// `TargetCompatibleBrowserVersion`. The binaries are only guaranteed to be + /// compatible. Verify the actual version on the `BrowserVersionString` + /// property on the `ICoreWebView2Environment`. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT TargetCompatibleBrowserVersion([out, retval] LPWSTR* value); + + /// Sets the `TargetCompatibleBrowserVersion` property. + [propput] HRESULT TargetCompatibleBrowserVersion([in] LPCWSTR value); + + /// The `AllowSingleSignOnUsingOSPrimaryAccount` property is used to enable + /// single sign on with Azure Active Directory (AAD) and personal Microsoft + /// Account (MSA) resources inside WebView. All AAD accounts, connected to + /// Windows and shared for all apps, are supported. For MSA, SSO is only enabled + /// for the account associated for Windows account login, if any. + /// Default is disabled. Universal Windows Platform apps must also declare + /// `enterpriseCloudSSO` + /// [Restricted capabilities](/windows/uwp/packaging/app-capability-declarations\#restricted-capabilities) + /// for the single sign on (SSO) to work. + [propget] HRESULT AllowSingleSignOnUsingOSPrimaryAccount([out, retval] BOOL* allow); + + /// Sets the `AllowSingleSignOnUsingOSPrimaryAccount` property. + [propput] HRESULT AllowSingleSignOnUsingOSPrimaryAccount([in] BOOL allow); +} + +/// Additional options used to create WebView2 Environment. A default implementation is +/// provided in `WebView2EnvironmentOptions.h`. +/// +/// \snippet AppWindow.cpp CreateCoreWebView2EnvironmentWithOptions + +// Note: ICoreWebView2EnvironmentOptions* interfaces derive from IUnknown to make moving +// the API from experimental to public smoothier. These interfaces are mostly internal to +// WebView's own code. Normal apps just use the objects we provided and never interact +// with the interfaces. Advanced apps might implement their own options object. In that +// case, it is also easier for them to implement the interface if it is derived from IUnknown. +[uuid(FF85C98A-1BA7-4A6B-90C8-2B752C89E9E2), object, pointer_default(unique)] +interface ICoreWebView2EnvironmentOptions2 : IUnknown { + + /// Whether other processes can create WebView2 from WebView2Environment created with the + /// same user data folder and therefore sharing the same WebView browser process instance. + /// Default is FALSE. + [propget] HRESULT ExclusiveUserDataFolderAccess([out, retval] BOOL* value); + + /// Sets the `ExclusiveUserDataFolderAccess` property. + /// The `ExclusiveUserDataFolderAccess` property specifies that the WebView environment + /// obtains exclusive access to the user data folder. + /// If the user data folder is already being used by another WebView environment with a + /// different value for `ExclusiveUserDataFolderAccess` property, the creation of a WebView2Controller + /// using the environment object will fail with `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)`. + /// When set as TRUE, no other WebView can be created from other processes using WebView2Environment + /// objects with the same UserDataFolder. This prevents other processes from creating WebViews + /// which share the same browser process instance, since sharing is performed among + /// WebViews that have the same UserDataFolder. When another process tries to create a + /// WebView2Controller from an WebView2Environment object created with the same user data folder, + /// it will fail with `HRESULT_FROM_WIN32(ERROR_INVALID_STATE)`. + [propput] HRESULT ExclusiveUserDataFolderAccess([in] BOOL value); +} + +/// Additional options used to create WebView2 Environment to manage crash +/// reporting. +[uuid(4A5C436E-A9E3-4A2E-89C3-910D3513F5CC), object, pointer_default(unique)] +interface ICoreWebView2EnvironmentOptions3 : IUnknown { + /// When `IsCustomCrashReportingEnabled` is set to `TRUE`, Windows won't send crash data to Microsoft endpoint. + /// `IsCustomCrashReportingEnabled` is default to be `FALSE`, in this case, WebView will respect OS consent. + [propget] HRESULT IsCustomCrashReportingEnabled([out, retval] BOOL* value); + + /// Sets the `IsCustomCrashReportingEnabled` property. + [propput] HRESULT IsCustomCrashReportingEnabled([in] BOOL value); +} + +/// Additional options used to create WebView2 Environment that manages custom scheme registration. +[uuid(ac52d13f-0d38-475a-9dca-876580d6793e), object, pointer_default(unique)] +interface ICoreWebView2EnvironmentOptions4 : IUnknown { + /// Array of custom scheme registrations. The returned + /// ICoreWebView2CustomSchemeRegistration pointers must be released, and the + /// array itself must be deallocated with CoTaskMemFree. + HRESULT GetCustomSchemeRegistrations( + [out] UINT32* count, + [out] ICoreWebView2CustomSchemeRegistration*** schemeRegistrations); + /// Set the array of custom scheme registrations to be used. + /// \snippet AppWindow.cpp CoreWebView2CustomSchemeRegistration + HRESULT SetCustomSchemeRegistrations( + [in] UINT32 count, + [in] ICoreWebView2CustomSchemeRegistration** schemeRegistrations); +} + +/// Additional options used to create WebView2 Environment to manage tracking +/// prevention. +[uuid(0AE35D64-C47F-4464-814E-259C345D1501), object, pointer_default(unique)] +interface ICoreWebView2EnvironmentOptions5 : IUnknown { + /// The `EnableTrackingPrevention` property is used to enable/disable tracking prevention + /// feature in WebView2. This property enable/disable tracking prevention for all the + /// WebView2's created in the same environment. By default this feature is enabled to block + /// potentially harmful trackers and trackers from sites that aren't visited before and set to + /// `COREWEBVIEW2_TRACKING_PREVENTION_LEVEL_BALANCED` or whatever value was last changed/persisted + /// on the profile. + /// + /// You can set this property to false to disable the tracking prevention feature if the app only + /// renders content in the WebView2 that is known to be safe. Disabling this feature when creating + /// environment also improves runtime performance by skipping related code. + /// + /// You shouldn't disable this property if WebView2 is being used as a "full browser" with arbitrary + /// navigation and should protect end user privacy. + /// + /// There is `ICoreWebView2Profile3::PreferredTrackingPreventionLevel` property to control levels of + /// tracking prevention of the WebView2's associated with a same profile. However, you can also disable + /// tracking prevention later using `ICoreWebView2Profile3::PreferredTrackingPreventionLevel` property and + /// `COREWEBVIEW2_TRACKING_PREVENTION_LEVEL_NONE` value but that doesn't improves runtime performance. + /// + /// See `ICoreWebView2Profile3::PreferredTrackingPreventionLevel` for more details. + /// + /// Tracking prevention protects users from online tracking by restricting the ability of trackers to + /// access browser-based storage as well as the network. See [Tracking prevention](/microsoft-edge/web-platform/tracking-prevention). + [propget] HRESULT EnableTrackingPrevention([out, retval] BOOL* value); + /// Sets the `EnableTrackingPrevention` property. + [propput] HRESULT EnableTrackingPrevention([in] BOOL value); +} + +/// A continuation of the ICoreWebView2Environment interface for +/// getting the crash dump folder path. +[uuid(F0913DC6-A0EC-42EF-9805-91DFF3A2966A), object, pointer_default(unique)] +interface ICoreWebView2Environment11 : ICoreWebView2Environment10 { + /// `FailureReportFolderPath` returns the path of the folder where minidump files are written. + /// Whenever a WebView2 process crashes, a crash dump file will be created in the crash dump folder. + /// The crash dump format is minidump files. Please see + /// [Minidump Files documentation](/windows/win32/debug/minidump-files) for detailed information. + /// Normally when a single child process fails, a minidump will be generated and written to disk, + /// then the `ProcessFailed` event is raised. But for unexpected crashes, a minidump file might not be generated + /// at all, despite whether `ProcessFailed` event is raised. If there are multiple + /// process failures at once, multiple minidump files could be generated. Thus `FailureReportFolderPath` + /// could contain old minidump files that are not associated with a specific `ProcessFailed` event. + /// \snippet AppWindow.cpp GetFailureReportFolder + [propget] HRESULT FailureReportFolderPath([out, retval] LPWSTR* value); +} + +/// A continuation of the ICoreWebView2Environment interface for creating shared buffer object. +[uuid(F503DB9B-739F-48DD-B151-FDFCF253F54E), object, pointer_default(unique)] +interface ICoreWebView2Environment12 : ICoreWebView2Environment11 { + /// Create a shared memory based buffer with the specified size in bytes. + /// The buffer can be shared with web contents in WebView by calling + /// `PostSharedBufferToScript` on `CoreWebView2` or `CoreWebView2Frame` object. + /// Once shared, the same content of the buffer will be accessible from both + /// the app process and script in WebView. Modification to the content will be visible + /// to all parties that have access to the buffer. + /// The shared buffer is presented to the script as ArrayBuffer. All JavaScript APIs + /// that work for ArrayBuffer including Atomics APIs can be used on it. + /// There is currently a limitation that only size less than 2GB is supported. + HRESULT CreateSharedBuffer( + [in] UINT64 size, + [out, retval] ICoreWebView2SharedBuffer** shared_buffer); +} + +/// Receives the `WebView2Environment` created using +/// `CreateCoreWebView2Environment`. +[uuid(4e8a3389-c9d8-4bd2-b6b5-124fee6cc14d), object, pointer_default(unique)] +interface ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler : IUnknown { + + /// Provides the completion status and result of the corresponding + /// asynchronous method. + + HRESULT Invoke(HRESULT errorCode, ICoreWebView2Environment* createdEnvironment); +} + +/// A Receiver is created for a particular DevTools Protocol event and allows +/// you to subscribe and unsubscribe from that event. Obtained from the +/// WebView object using `GetDevToolsProtocolEventReceiver`. +[uuid(b32ca51a-8371-45e9-9317-af021d080367), object, pointer_default(unique)] +interface ICoreWebView2DevToolsProtocolEventReceiver : IUnknown { + + /// Subscribe to a `DevToolsProtocol` event. The `Invoke` method of the + /// `handler` runs whenever the corresponding `DevToolsProtocol` event runs. + /// `Invoke` runs with an event args object containing the parameter object + /// of the DevTools Protocol event as a JSON string. + /// + /// \snippet ScriptComponent.cpp DevToolsProtocolEventReceived + + HRESULT add_DevToolsProtocolEventReceived( + [in] ICoreWebView2DevToolsProtocolEventReceivedEventHandler* handler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with + /// `add_DevToolsProtocolEventReceived`. + + HRESULT remove_DevToolsProtocolEventReceived( + [in] EventRegistrationToken token); + +} + +/// ICoreWebView2Frame provides direct access to the iframes information. +/// You can get an ICoreWebView2Frame by handling the ICoreWebView2_4::add_FrameCreated event. +[uuid(f1131a5e-9ba9-11eb-a8b3-0242ac130003), object, pointer_default(unique)] +interface ICoreWebView2Frame : IUnknown { + /// The name of the iframe from the iframe html tag declaring it. + /// You can access this property even if the iframe is destroyed. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT Name([ out, retval ] LPWSTR * name); + /// Raised when the iframe changes its window.name property. + HRESULT add_NameChanged( + [in] ICoreWebView2FrameNameChangedEventHandler * eventHandler, + [out] EventRegistrationToken * token); + /// Remove an event handler previously added with add_NameChanged. + HRESULT remove_NameChanged([in] EventRegistrationToken token); + + /// Add the provided host object to script running in the iframe with the + /// specified name for the list of the specified origins. The host object + /// will be accessible for this iframe only if the iframe's origin during + /// access matches one of the origins which are passed. The provided origins + /// will be normalized before comparing to the origin of the document. + /// So the scheme name is made lower case, the host will be punycode decoded + /// as appropriate, default port values will be removed, and so on. + /// This means the origin's host may be punycode encoded or not and will match + /// regardless. If list contains malformed origin the call will fail. + /// The method can be called multiple times in a row without calling + /// RemoveHostObjectFromScript for the same object name. It will replace + /// the previous object with the new object and new list of origins. + /// List of origins will be treated as following: + /// 1. empty list - call will succeed and object will be added for the iframe + /// but it will not be exposed to any origin; + /// 2. list with origins - during access to host object from iframe the + /// origin will be checked that it belongs to this list; + /// 3. list with "*" element - host object will be available for iframe for + /// all origins. We suggest not to use this feature without understanding + /// security implications of giving access to host object from from iframes + /// with unknown origins. + /// 4. list with "file://" element - host object will be available for iframes + /// loaded via file protocol. + /// Calling this method fails if it is called after the iframe is destroyed. + /// \snippet ScenarioAddHostObject.cpp AddHostObjectToScriptWithOrigins + /// For more information about host objects navigate to + /// ICoreWebView2::AddHostObjectToScript. + HRESULT AddHostObjectToScriptWithOrigins( + [in] LPCWSTR name, + [in] VARIANT * object, + [in] UINT32 originsCount, + [ in, size_is(originsCount) ] LPCWSTR * origins); + /// Remove the host object specified by the name so that it is no longer + /// accessible from JavaScript code in the iframe. While new access + /// attempts are denied, if the object is already obtained by JavaScript code + /// in the iframe, the JavaScript code continues to have access to that + /// object. Calling this method for a name that is already removed or was + /// never added fails. If the iframe is destroyed this method will return fail + /// also. + HRESULT RemoveHostObjectFromScript([in] LPCWSTR name); + + /// The Destroyed event is raised when the iframe corresponding + /// to this CoreWebView2Frame object is removed or the document + /// containing that iframe is destroyed. + HRESULT add_Destroyed( + [in] ICoreWebView2FrameDestroyedEventHandler * eventHandler, + [out] EventRegistrationToken * token); + /// Remove an event handler previously added with add_Destroyed. + HRESULT remove_Destroyed([in] EventRegistrationToken token); + /// Check whether a frame is destroyed. Returns true during + /// the Destroyed event. + HRESULT IsDestroyed([ out, retval ] BOOL * destroyed); +} + +/// A continuation of the ICoreWebView2Frame interface with navigation events, +/// executing script and posting web messages. +[uuid(7a6a5834-d185-4dbf-b63f-4a9bc43107d4), object, pointer_default(unique)] +interface ICoreWebView2Frame2 : ICoreWebView2Frame { + /// Add an event handler for the `NavigationStarting` event. + /// A frame navigation will raise a `NavigationStarting` event and + /// a `CoreWebView2.FrameNavigationStarting` event. All of the + /// `FrameNavigationStarting` event handlers for the current frame will be + /// run before the `NavigationStarting` event handlers. All of the event handlers + /// share a common `NavigationStartingEventArgs` object. Whichever event handler is + /// last to change the `NavigationStartingEventArgs.Cancel` property will + /// decide if the frame navigation will be cancelled. Redirects raise this + /// event as well, and the navigation id is the same as the original one. + /// + /// Navigations will be blocked until all `NavigationStarting` and + /// `CoreWebView2.FrameNavigationStarting` event handlers return. + HRESULT add_NavigationStarting( + [in] ICoreWebView2FrameNavigationStartingEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_NavigationStarting`. + HRESULT remove_NavigationStarting( + [in] EventRegistrationToken token); + + /// Add an event handler for the `ContentLoading` event. `ContentLoading` + /// triggers before any content is loaded, including scripts added with + /// `AddScriptToExecuteOnDocumentCreated`. `ContentLoading` does not trigger + /// if a same page navigation occurs (such as through `fragment` + /// navigations or `history.pushState` navigations). This operation + /// follows the `NavigationStarting` and precedes `NavigationCompleted` events. + HRESULT add_ContentLoading( + [in] ICoreWebView2FrameContentLoadingEventHandler * eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_ContentLoading`. + HRESULT remove_ContentLoading( + [in] EventRegistrationToken token); + + /// Add an event handler for the `NavigationCompleted` event. + /// `NavigationCompleted` runs when the CoreWebView2Frame has completely + /// loaded (concurrently when `body.onload` runs) or loading stopped with error. + HRESULT add_NavigationCompleted( + [in] ICoreWebView2FrameNavigationCompletedEventHandler * + eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_NavigationCompleted`. + HRESULT remove_NavigationCompleted( + [in] EventRegistrationToken token); + + /// Add an event handler for the DOMContentLoaded event. + /// DOMContentLoaded is raised when the iframe html document has been parsed. + /// This aligns with the document's DOMContentLoaded event in html. + HRESULT add_DOMContentLoaded( + [in] ICoreWebView2FrameDOMContentLoadedEventHandler * eventHandler, + [out] EventRegistrationToken* token); + /// Remove an event handler previously added with add_DOMContentLoaded. + HRESULT remove_DOMContentLoaded( + [in] EventRegistrationToken token); + + /// Run JavaScript code from the javascript parameter in the current frame. + /// The result of evaluating the provided JavaScript is passed to the completion handler. + /// The result value is a JSON encoded string. If the result is undefined, + /// contains a reference cycle, or otherwise is not able to be encoded into + /// JSON, then the result is considered to be null, which is encoded + /// in JSON as the string "null". + /// + /// \> [!NOTE]\n\> A function that has no explicit return value returns undefined. If the + /// script that was run throws an unhandled exception, then the result is + /// also "null". This method is applied asynchronously. If the method is + /// run before `ContentLoading`, the script will not be executed + /// and the string "null" will be returned. + /// This operation executes the script even if `ICoreWebView2Settings::IsScriptEnabled` is + /// set to `FALSE`. + /// + /// \snippet ScenarioDOMContentLoaded.cpp ExecuteScriptFrame + HRESULT ExecuteScript( + [in] LPCWSTR javaScript, + [in] ICoreWebView2ExecuteScriptCompletedHandler* handler); + + /// Posts the specified webMessage to the frame. + /// The frame receives the message by subscribing to the `message` event of + /// the `window.chrome.webview` of the frame document. + /// + /// ```cpp + /// window.chrome.webview.addEventListener('message', handler) + /// window.chrome.webview.removeEventListener('message', handler) + /// ``` + /// + /// The event args is an instances of `MessageEvent`. The + /// `ICoreWebView2Settings::IsWebMessageEnabled` setting must be `TRUE` or + /// the message will not be sent. The `data` property of the event + /// args is the `webMessage` string parameter parsed as a JSON string into a + /// JavaScript object. The `source` property of the event args is a reference + /// to the `window.chrome.webview` object. For information about sending + /// messages from the HTML document in the WebView to the host, navigate to + /// [add_WebMessageReceived](/microsoft-edge/webview2/reference/win32/icorewebview2#add_webmessagereceived). + /// The message is delivered asynchronously. If a navigation occurs before the + /// message is posted to the page, the message is discarded. + HRESULT PostWebMessageAsJson([in] LPCWSTR webMessageAsJson); + + /// Posts a message that is a simple string rather than a JSON string + /// representation of a JavaScript object. This behaves in exactly the same + /// manner as `PostWebMessageAsJson`, but the `data` property of the event + /// args of the `window.chrome.webview` message is a string with the same + /// value as `webMessageAsString`. Use this instead of + /// `PostWebMessageAsJson` if you want to communicate using simple strings + /// rather than JSON objects. + HRESULT PostWebMessageAsString([in] LPCWSTR webMessageAsString); + + /// Add an event handler for the `WebMessageReceived` event. + /// `WebMessageReceived` runs when the + /// `ICoreWebView2Settings::IsWebMessageEnabled` setting is set and the + /// frame document runs `window.chrome.webview.postMessage`. + /// The `postMessage` function is `void postMessage(object)` + /// where object is any object supported by JSON conversion. + /// + /// \snippet assets\ScenarioWebMessage.html chromeWebView + /// + /// When the frame calls `postMessage`, the object parameter is converted to a + /// JSON string and is posted asynchronously to the host process. This will + /// result in the handlers `Invoke` method being called with the JSON string + /// as its parameter. + /// + /// \snippet ScenarioWebMessage.cpp WebMessageReceivedIFrame + HRESULT add_WebMessageReceived( + [in] ICoreWebView2FrameWebMessageReceivedEventHandler * + handler, + [out] EventRegistrationToken * token); + + /// Remove an event handler previously added with `add_WebMessageReceived`. + HRESULT remove_WebMessageReceived([in] EventRegistrationToken token); +} + +/// Receives `FrameCreated` event. +[uuid(38059770-9baa-11eb-a8b3-0242ac130003), object, pointer_default(unique)] +interface ICoreWebView2FrameCreatedEventHandler : IUnknown { + /// Provides the result for the iframe created event. + HRESULT Invoke([in] ICoreWebView2 * sender, + [in] ICoreWebView2FrameCreatedEventArgs * args); +} + +/// Receives `FrameNameChanged` event. +[uuid(435c7dc8-9baa-11eb-a8b3-0242ac130003), object, pointer_default(unique)] +interface ICoreWebView2FrameNameChangedEventHandler : IUnknown { + /// Provides the result for the iframe name changed event. + /// No event args exist and the `args` parameter is set to `null`. + HRESULT Invoke([in] ICoreWebView2Frame * sender, [in] IUnknown * args); +} + +/// Receives `NavigationStarting` events for iframe. +[uuid(e79908bf-2d5d-4968-83db-263fea2c1da3), object, pointer_default(unique)] +interface ICoreWebView2FrameNavigationStartingEventHandler : IUnknown { + /// Provides the event args for the corresponding event. + HRESULT Invoke( + [in] ICoreWebView2Frame* sender, + [in] ICoreWebView2NavigationStartingEventArgs* args); +} + +/// Receives `ContentLoading` events for iframe. +[uuid(0d6156f2-d332-49a7-9e03-7d8f2feeee54), object, pointer_default(unique)] +interface ICoreWebView2FrameContentLoadingEventHandler : IUnknown { + /// Provides the event args for the corresponding event. + HRESULT Invoke( + [in] ICoreWebView2Frame* sender, + [in] ICoreWebView2ContentLoadingEventArgs* args); +} + +/// Receives `NavigationCompleted` events for iframe. +[uuid(609302ad-0e36-4f9a-a210-6a45272842a9), object, pointer_default(unique)] +interface ICoreWebView2FrameNavigationCompletedEventHandler : IUnknown { + /// Provides the event args for the corresponding event. + HRESULT Invoke( + [in] ICoreWebView2Frame* sender, + [in] ICoreWebView2NavigationCompletedEventArgs* args); +} + +/// Receives `DOMContentLoaded` events for iframe. +[uuid(38d9520d-340f-4d1e-a775-43fce9753683), object, pointer_default(unique)] +interface ICoreWebView2FrameDOMContentLoadedEventHandler : IUnknown { + /// Provides the event args for the corresponding event. + HRESULT Invoke( + [in] ICoreWebView2Frame* sender, + [in] ICoreWebView2DOMContentLoadedEventArgs* args); +} + +/// Receives `WebMessageReceived` events for iframe. +[uuid(e371e005-6d1d-4517-934b-a8f1629c62a5), object, pointer_default(unique)] +interface ICoreWebView2FrameWebMessageReceivedEventHandler : IUnknown { + /// Provides the event args for the corresponding event. + HRESULT Invoke( + [in] ICoreWebView2Frame* sender, + [in] ICoreWebView2WebMessageReceivedEventArgs* args); +} + +/// Event args for the `FrameCreated` events. +[uuid(4d6e7b5e-9baa-11eb-a8b3-0242ac130003), object, pointer_default(unique)] +interface ICoreWebView2FrameCreatedEventArgs : IUnknown { + /// The frame which was created. + [propget] HRESULT Frame([ out, retval ] ICoreWebView2Frame **frame); +} + +/// Receives `FrameDestroyed` event. +[uuid(59dd7b4c-9baa-11eb-a8b3-0242ac130003), object, pointer_default(unique)] +interface ICoreWebView2FrameDestroyedEventHandler : IUnknown { + /// Provides the result for the iframe destroyed event. + /// No event args exist and the `args` parameter is set to `null`. + HRESULT Invoke([in] ICoreWebView2Frame * sender, [in] IUnknown * args); +} + +/// Add an event handler for the `DownloadStarting` event. +[uuid(efedc989-c396-41ca-83f7-07f845a55724), object, pointer_default(unique)] +interface ICoreWebView2DownloadStartingEventHandler : IUnknown { + /// Provides the event args for the corresponding event. + HRESULT Invoke( + [in] ICoreWebView2* sender, + [in] ICoreWebView2DownloadStartingEventArgs* args); +} + +/// Event args for the `DownloadStarting` event. +[uuid(e99bbe21-43e9-4544-a732-282764eafa60), object, pointer_default(unique)] +interface ICoreWebView2DownloadStartingEventArgs : IUnknown { + /// Returns the `ICoreWebView2DownloadOperation` for the download that + /// has started. + [propget] HRESULT DownloadOperation( + [out, retval] ICoreWebView2DownloadOperation** downloadOperation); + + /// The host may set this flag to cancel the download. If canceled, the + /// download save dialog is not displayed regardless of the + /// `Handled` property. + [propget] HRESULT Cancel([out, retval] BOOL* cancel); + + /// Sets the `Cancel` property. + [propput] HRESULT Cancel([in] BOOL cancel); + + /// The path to the file. If setting the path, the host should ensure that it + /// is an absolute path, including the file name, and that the path does not + /// point to an existing file. If the path points to an existing file, the + /// file will be overwritten. If the directory does not exist, it is created. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT ResultFilePath([out, retval] LPWSTR* resultFilePath); + + /// Sets the `ResultFilePath` property. + [propput] HRESULT ResultFilePath([in] LPCWSTR resultFilePath); + + /// The host may set this flag to `TRUE` to hide the default download dialog + /// for this download. The download will progress as normal if it is not + /// canceled, there will just be no default UI shown. By default the value is + /// `FALSE` and the default download dialog is shown. + [propget] HRESULT Handled([out, retval] BOOL* handled); + + /// Sets the `Handled` property. + [propput] HRESULT Handled([in] BOOL handled); + + /// Returns an `ICoreWebView2Deferral` object. Use this operation to + /// complete the event at a later time. + HRESULT GetDeferral([out, retval] ICoreWebView2Deferral** deferral); +} + +/// Implements the interface to receive `BytesReceivedChanged` event. Use the +/// `ICoreWebView2DownloadOperation.BytesReceived` property to get the received +/// bytes count. +[uuid(828e8ab6-d94c-4264-9cef-5217170d6251), object, pointer_default(unique)] +interface ICoreWebView2BytesReceivedChangedEventHandler : IUnknown { + /// Provides the event args for the corresponding event. No event args exist + /// and the `args` parameter is set to `null`. + HRESULT Invoke( + [in] ICoreWebView2DownloadOperation* sender, [in] IUnknown* args); +} + +/// Implements the interface to receive `EstimatedEndTimeChanged` event. Use the +/// `ICoreWebView2DownloadOperation.EstimatedEndTime` property to get the new +/// estimated end time. +[uuid(28f0d425-93fe-4e63-9f8d-2aeec6d3ba1e), object, pointer_default(unique)] +interface ICoreWebView2EstimatedEndTimeChangedEventHandler : IUnknown { + /// Provides the event args for the corresponding event. No event args exist + /// and the `args` parameter is set to `null`. + HRESULT Invoke( + [in] ICoreWebView2DownloadOperation* sender, [in] IUnknown* args); +} + +/// Implements the interface to receive `StateChanged` event. Use the +/// `ICoreWebView2DownloadOperation.State` property to get the current state, +/// which can be in progress, interrupted, or completed. Use the +/// `ICoreWebView2DownloadOperation.InterruptReason` property to get the +/// interrupt reason if the download is interrupted. +[uuid(81336594-7ede-4ba9-bf71-acf0a95b58dd), object, pointer_default(unique)] +interface ICoreWebView2StateChangedEventHandler : IUnknown { + /// Provides the event args for the corresponding event. No event args exist + /// and the `args` parameter is set to `null`. + HRESULT Invoke( + [in] ICoreWebView2DownloadOperation* sender, [in] IUnknown* args); +} + +/// Represents a download operation. Gives access to the download's metadata +/// and supports a user canceling, pausing, or resuming the download. +[uuid(3d6b6cf2-afe1-44c7-a995-c65117714336), object, pointer_default(unique)] +interface ICoreWebView2DownloadOperation : IUnknown { + /// Add an event handler for the `BytesReceivedChanged` event. + /// + /// \snippet ScenarioCustomDownloadExperience.cpp BytesReceivedChanged + HRESULT add_BytesReceivedChanged( + [in] ICoreWebView2BytesReceivedChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_BytesReceivedChanged`. + HRESULT remove_BytesReceivedChanged( + [in] EventRegistrationToken token); + + /// Add an event handler for the `EstimatedEndTimeChanged` event. + HRESULT add_EstimatedEndTimeChanged( + [in] ICoreWebView2EstimatedEndTimeChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_EstimatedEndTimeChanged`. + HRESULT remove_EstimatedEndTimeChanged( + [in] EventRegistrationToken token); + + /// Add an event handler for the `StateChanged` event. + /// + /// \snippet ScenarioCustomDownloadExperience.cpp StateChanged + HRESULT add_StateChanged( + [in] ICoreWebView2StateChangedEventHandler* eventHandler, + [out] EventRegistrationToken* token); + + /// Remove an event handler previously added with `add_StateChanged`. + HRESULT remove_StateChanged( + [in] EventRegistrationToken token); + + /// The URI of the download. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT Uri([out, retval] LPWSTR* uri); + + /// The Content-Disposition header value from the download's HTTP response. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT ContentDisposition([out, retval] LPWSTR* contentDisposition); + + /// MIME type of the downloaded content. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT MimeType([out, retval] LPWSTR* mimeType); + + /// The expected size of the download in total number of bytes based on the + /// HTTP Content-Length header. Returns -1 if the size is unknown. + [propget] HRESULT TotalBytesToReceive([out, retval] INT64* totalBytesToReceive); + + /// The number of bytes that have been written to the download file. + [propget] HRESULT BytesReceived([out, retval] INT64* bytesReceived); + + /// The estimated end time in [ISO 8601 Date and Time Format](https://www.iso.org/iso-8601-date-and-time-format.html). + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT EstimatedEndTime([out, retval] LPWSTR* estimatedEndTime); + + /// The absolute path to the download file, including file name. Host can change + /// this from `ICoreWebView2DownloadStartingEventArgs`. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + [propget] HRESULT ResultFilePath([out, retval] LPWSTR* resultFilePath); + + /// The state of the download. A download can be in progress, interrupted, or + /// completed. See `COREWEBVIEW2_DOWNLOAD_STATE` for descriptions of states. + [propget] HRESULT State([out, retval] COREWEBVIEW2_DOWNLOAD_STATE* downloadState); + + /// The reason why connection with file host was broken. + [propget] HRESULT InterruptReason( + [out, retval] COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON* interruptReason); + + /// Cancels the download. If canceled, the default download dialog shows + /// that the download was canceled. Host should set the `Cancel` property from + /// `ICoreWebView2SDownloadStartingEventArgs` if the download should be + /// canceled without displaying the default download dialog. + HRESULT Cancel(); + + /// Pauses the download. If paused, the default download dialog shows that the + /// download is paused. No effect if download is already paused. Pausing a + /// download changes the state to `COREWEBVIEW2_DOWNLOAD_STATE_INTERRUPTED` + /// with `InterruptReason` set to `COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_USER_PAUSED`. + HRESULT Pause(); + + /// Resumes a paused download. May also resume a download that was interrupted + /// for another reason, if `CanResume` returns true. Resuming a download changes + /// the state from `COREWEBVIEW2_DOWNLOAD_STATE_INTERRUPTED` to + /// `COREWEBVIEW2_DOWNLOAD_STATE_IN_PROGRESS`. + HRESULT Resume(); + + /// Returns true if an interrupted download can be resumed. Downloads with + /// the following interrupt reasons may automatically resume without you + /// calling any methods: + /// `COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_SERVER_NO_RANGE`, + /// `COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_FILE_HASH_MISMATCH`, + /// `COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON_FILE_TOO_SHORT`. + /// In these cases download progress may be restarted with `BytesReceived` + /// reset to 0. + [propget] HRESULT CanResume([out, retval] BOOL* canResume); +} + +/// A continuation of the ICoreWebView2ProcessFailedEventArgs interface. +[uuid(4dab9422-46fa-4c3e-a5d2-41d2071d3680), object, pointer_default(unique)] +interface ICoreWebView2ProcessFailedEventArgs2 : ICoreWebView2ProcessFailedEventArgs { + + /// The reason for the process failure. The reason is always + /// `COREWEBVIEW2_PROCESS_FAILED_REASON_UNEXPECTED` when `ProcessFailedKind` + /// is `COREWEBVIEW2_PROCESS_FAILED_KIND_BROWSER_PROCESS_EXITED`, and + /// `COREWEBVIEW2_PROCESS_FAILED_REASON_UNRESPONSIVE` when `ProcessFailedKind` + /// is `COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_UNRESPONSIVE`. + /// For other process failure kinds, the reason may be any of the reason + /// values. + + [propget] HRESULT Reason( + [out, retval] COREWEBVIEW2_PROCESS_FAILED_REASON* reason); + + /// The exit code of the failing process, for telemetry purposes. The exit + /// code is always `STILL_ACTIVE` (`259`) when `ProcessFailedKind` is + /// `COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_UNRESPONSIVE`. + + [propget] HRESULT ExitCode( + [out, retval] int* exitCode); + + /// Description of the process assigned by the WebView2 Runtime. This is a + /// technical English term appropriate for logging or development purposes, + /// and not localized for the end user. It applies to utility processes (for + /// example, "Audio Service", "Video Capture") and plugin processes (for + /// example, "Flash"). The returned `processDescription` is empty if the + /// WebView2 Runtime did not assign a description to the process. + /// + /// The caller must free the returned string with `CoTaskMemFree`. See + /// [API Conventions](/microsoft-edge/webview2/concepts/win32-api-conventions#strings). + + [propget] HRESULT ProcessDescription( + [out, retval] LPWSTR* processDescription); + + /// The collection of `FrameInfo`s for frames in the `ICoreWebView2` that were + /// being rendered by the failed process. The content in these frames is + /// replaced with an error page. + /// This is only available when `ProcessFailedKind` is + /// `COREWEBVIEW2_PROCESS_FAILED_KIND_FRAME_RENDER_PROCESS_EXITED`; + /// `frames` is `null` for all other process failure kinds, including the case + /// in which the failed process was the renderer for the main frame and + /// subframes within it, for which the failure kind is + /// `COREWEBVIEW2_PROCESS_FAILED_KIND_RENDER_PROCESS_EXITED`. + + [propget] HRESULT FrameInfosForFailedProcess( + [out, retval] ICoreWebView2FrameInfoCollection** frames); +} + +/// Collection of `FrameInfo`s (name and source). Used to list the affected +/// frames' info when a frame-only render process failure occurs in the +/// `ICoreWebView2`. +[uuid(8f834154-d38e-4d90-affb-6800a7272839), object, pointer_default(unique)] +interface ICoreWebView2FrameInfoCollection : IUnknown { + + /// Gets an iterator over the collection of `FrameInfo`s. + + HRESULT GetIterator( + [out, retval] ICoreWebView2FrameInfoCollectionIterator** iterator); +} + +/// Iterator for a collection of `FrameInfo`s. For more info, see +/// `ICoreWebView2ProcessFailedEventArgs2` and +/// `ICoreWebView2FrameInfoCollection`. +[uuid(1bf89e2d-1b2b-4629-b28f-05099b41bb03), object, pointer_default(unique)] +interface ICoreWebView2FrameInfoCollectionIterator : IUnknown { + + /// `TRUE` when the iterator has not run out of `FrameInfo`s. If the + /// collection over which the iterator is iterating is empty or if the + /// iterator has gone past the end of the collection, then this is `FALSE`. + + [propget] HRESULT HasCurrent([out, retval] BOOL* hasCurrent); + + /// Get the current `ICoreWebView2FrameInfo` of the iterator. + /// Returns `HRESULT_FROM_WIN32(ERROR_INVALID_INDEX)` if HasCurrent is + /// `FALSE`. + + HRESULT GetCurrent([out, retval] ICoreWebView2FrameInfo** frameInfo); + + /// Move the iterator to the next `FrameInfo` in the collection. + + HRESULT MoveNext([out, retval] BOOL* hasNext); +} + +/// Provides a set of properties for a frame in the `ICoreWebView2`. +[uuid(da86b8a1-bdf3-4f11-9955-528cefa59727), object, pointer_default(unique)] +interface ICoreWebView2FrameInfo : IUnknown { + + /// The name attribute of the frame, as in `