Error when using Gecko C# with Renci.SshNet

Discuss building things with or for the Mozilla Platform.
Post Reply
luuquangict
Posts: 1
Joined: April 30th, 2016, 3:06 am

Error when using Gecko C# with Renci.SshNet

Post by luuquangict »

'm trying to using Renci.SshNet to create SSH Tunnel. And then, i using GeckoFx to Create Browser to access my website.

If i set network.proxy.socks_remote_dns = false, it work. But if i set FASLE, i was received an error: "No contains data".

Please help me.

This is my code:

Code: Select all

Gecko.GeckoPreferences.Default["extensions.blocklist.enabled"] = false;
        Gecko.GeckoPreferences.User["network.proxy.type"] = 1;
        Gecko.GeckoPreferences.User["network.proxy.socks"] = ip;
        Gecko.GeckoPreferences.User["network.proxy.socks_port"] = port;
        Gecko.GeckoPreferences.User["network.proxy.socks_version"] = 5;
        Gecko.GeckoPreferences.User["network.proxy.socks_remote_dns"] = true;
Notice that i want to set Remote DNS is true to clear DNS in my web that i access.
Post Reply