.net - Can you load local content with awesomium or chromium using c#? -


using awesomium (or chromium), possible load content file system?

maybe using ajax or other method?

websites in awesomium/chromium, normal websites, operate in sandbox. means without user explicitly "giving" file, there no way access it.

however, wpf application read such file , pass contents web page using awesomium control.

you use calljavascriptfunction:

jsvalue filetext = new jsvalue(filetext); webview.calljavascriptfunction("somemethod", filetext ); 

related (and got base of code from): calling javascript c# using awesomium

if want go other way, see can call application methods javascript in awesomium?


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

java - Could not locate OpenAL library -

Non Unique Username with ASP.Net Identity 2.0 -