Error when using Gecko C# with Renci.SshNet

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

Post Posted April 30th, 2016, 3:09 am

'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.

Return to Mozilla Development

Who is online

Users browsing this forum: No registered users and 1 guest