.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

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -