webkit.net

Webkitdotnet unable to load https site

别来无恙 提交于 2020-01-13 05:12:31
问题 I am using this webkitdotnet in my C# project. It all went well until I had to use access site with https. I've searched their forum and found few posts about this but none of it solves my problem, so please shed some light on this one. Thx! edit: Also as mentioned in their threads (also without an answer) I get a "Peer certificate cannot be authenticated with known CA certificates" error when trying to access my server, but https://www.google.com works fine. They also mention the "apple"

Webkitdotnet unable to load https site

时光总嘲笑我的痴心妄想 提交于 2020-01-13 05:12:12
问题 I am using this webkitdotnet in my C# project. It all went well until I had to use access site with https. I've searched their forum and found few posts about this but none of it solves my problem, so please shed some light on this one. Thx! edit: Also as mentioned in their threads (also without an answer) I get a "Peer certificate cannot be authenticated with known CA certificates" error when trying to access my server, but https://www.google.com works fine. They also mention the "apple"

Get HTTP headers on WebKit.NET

余生颓废 提交于 2019-12-24 03:32:11
问题 I've been trying to figure out how to handle 401 responses on WebKit.NET and show an authentication box so that user can enter his credentials and then send them back to the server. This guy figured a way to add the proper headers to a new request and send them to the server, but seems like the code is sending them to every page that the browser navigates to which is not what I want. I dug a bit into the code and there is this interface called IWebResourceLoadDelegate which among other

WebKit.Net and OpenWebKitSharp Error: Failed to initialize activation context

ⅰ亾dé卋堺 提交于 2019-12-22 01:57:40
问题 I am using both/either WebKit.Net and OpenWebKitSharp. However, as soon as I try to instantiate the WebKitBrowser, I get an error: Failed to initialize activation context Does anybody know what this is? 回答1: This error would ocur occur only in case OpenWebKitSharp.manifest and other WebKit files are missing from your exe's folder. Try copying every file from the "Core" folder to your debug/release directory. 回答2: Just Copy All files inside (WebKit.NET-0.5-bin-cairo\bin) 来源: https:/

Webkit.net opening new tabs and windows

为君一笑 提交于 2019-12-12 21:02:36
问题 I can easily do this by using webkit.net's context menu: private void browser1_NewWindowRequest(object sender, WebKit.NewWindowRequestEventArgs e) { ((Form1)MdiParent).AddTab(e.Url.ToString()); } However newWindowrequesteventargs e returns null for javascript events that prompt new tabs/windows, I can sort of fix it just by right clicking then clicking "open link" which does actually opens it in a new tab or window (as does clicking the regular "open in new window"). The following still does

Is there a way to run c# forms application without showing a gui window (like a console application)

£可爱£侵袭症+ 提交于 2019-12-08 05:00:51
问题 Is there a way to run c# forms application without showing a gui window (like a console application). I'm trying to take screen shorts of webpages loaded into a webkit.net control. Everything works fine and I can get screenshots but if there is a way to run the application without showing the window, it will be much cleaner to include it in scripts to automate webpage capture. I have tried: form.hide() method but some how it doesn't hide anything at all. 回答1: Inside your application, when you

WebKit.Net and OpenWebKitSharp Error: Failed to initialize activation context

落爺英雄遲暮 提交于 2019-12-04 23:24:48
I am using both/either WebKit.Net and OpenWebKitSharp. However, as soon as I try to instantiate the WebKitBrowser, I get an error: Failed to initialize activation context Does anybody know what this is? This error would ocur occur only in case OpenWebKitSharp.manifest and other WebKit files are missing from your exe's folder. Try copying every file from the "Core" folder to your debug/release directory. Just Copy All files inside (WebKit.NET-0.5-bin-cairo\bin) 来源: https://stackoverflow.com/questions/7714935/webkit-net-and-openwebkitsharp-error-failed-to-initialize-activation-context

Webkitdotnet unable to load https site

风格不统一 提交于 2019-12-04 13:09:23
I am using this webkitdotnet in my C# project. It all went well until I had to use access site with https. I've searched their forum and found few posts about this but none of it solves my problem, so please shed some light on this one. Thx! edit: Also as mentioned in their threads (also without an answer) I get a "Peer certificate cannot be authenticated with known CA certificates" error when trying to access my server, but https://www.google.com works fine. They also mention the "apple" build which worked fine with ssl (at least so they say), but I can't find it anywhere... This is a bit of

Opening local files in Webkit .NET

被刻印的时光 ゝ 提交于 2019-12-01 22:52:43
问题 A simple WebKitBrowser1.Navigate(localfilehere) doesn't work for some reason. I tried adding "file://" to the URL but that didn't work either. This seems ridiculous but is this functionality really not present? 回答1: Its look like you put wrong url. You can check it by Uri.IsWellFormedUriString One of the reasons - you put the string with national symbols. In this case the answers before do not resolve you problem, because you also should encode url. You can use System.Web.HttpUtility

Opening local files in Webkit .NET

廉价感情. 提交于 2019-12-01 22:20:08
A simple WebKitBrowser1.Navigate(localfilehere) doesn't work for some reason. I tried adding "file://" to the URL but that didn't work either. This seems ridiculous but is this functionality really not present? Gareev Kamil Its look like you put wrong url. You can check it by Uri.IsWellFormedUriString One of the reasons - you put the string with national symbols. In this case the answers before do not resolve you problem, because you also should encode url. You can use System.Web.HttpUtility.UrlEncode for it and then apply a solution described before by X Enterprises (but you should not