C# webkitbrowser在网络上加载共享文件
我想加载一个HTML文件,该文件在winform C#中与webkitbrowser在网络中共享 例如,浏览器中的文件url为:C# webkitbrowser在网络上加载共享文件,c#,winforms,browser,webkit,C#,Winforms,Browser,Webkit,我想加载一个HTML文件,该文件在winform C#中与webkitbrowser在网络中共享 例如,浏览器中的文件url为: file:///10.10.10.10/files/index.html 我也在webkitbroeser中尝试过: file://///10.10.10.10//files//index.html Webkitbrowser不加载HTML文件。在当地没有问题。我使用以下网址: file:///c://index.html WinAPP,C#,Visual St
file:///10.10.10.10/files/index.html
我也在webkitbroeser中尝试过:
file://///10.10.10.10//files//index.html
Webkitbrowser不加载HTML文件。在当地没有问题。我使用以下网址:
file:///c://index.html
WinAPP,C#,Visual Studio 2010您很接近。不要使用2个斜杠,只需使用1:
webKitBrowser1.Navigate("file:///c:/my/local/path/test.html");
你很接近。不要使用2个斜杠,只需使用1:
webKitBrowser1.Navigate("file:///c:/my/local/path/test.html");