browser.JavascriptObjectRepository.Register("BrowerFunc", new BrowerFunc(), isAsync: false, options: bo);
public class BrowerFunc
{
public string readIniData(string Section, string iniFilePath) {
string Contentjson = JsonConvert.SerializeObject(OperateIniFile.ReadIniDataAll(Section, iniFilePath));
return Contentjson;
}
}
I am looking to modify the 'readIniData' method to return a json object instead of a json string.
I attempted to return Dictionary
Uncaught Error: System.ServiceModel.CommunicationException: Pipe read error: Pipe has been ended. (109, 0x6d). ---> System.IO.PipeException: Pipe read error: Pipe has been ended. (109, 0x6d).
at ...
...
...
Server stack trace:
at ...
Exception rethrown at [0]:
at ...
My CefSharp version is 79.1.360.0, could this version be too outdated?</p>