.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 -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -