.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
Post a Comment