How to use AUTH proxies in program
-
Hello I'm trying to use auth proxies in my program but I'm unable to do that can anybody help me in this regard.
-
-
Please help I'm stuck here I have also seen OB source code but couldn't figure it out how to do that
here is my Proxy format
(socks5)jnb-c17.ipvanish.com:1080:USERNAME:PASSWORD
-
That is the correct syntax so I don't know why it wouldn't work.
-
@Ruri I'm not using that in OB I'm trying to use it during HTTP Request and I'm using leaf.xnet for that. OB has the syntax that syntax but how to use it during HTTP request simple proxies works great using this socks5.ParseClient("1921:1254:456:80") but how to use auth proxies with this.
-
Ooooh. Then you need to take the socks client and set its Credentials property to a new NetworkCredentials with your user and password.
-
@Ruri Thanks but an example or piece of code would be helpful
-
Ah ok apparently in leaf it's enough to do this
var client = Socks5ProxyClient.Parse("127.0.0.1:8080"); client.Username = "abcd"; client.Password = "efgh";
-
@Ruri Thanks bro for your help I'll try that
-
@Ruri Thanks a lot bro it's working perfectly. I was looking for this solution since a week and you solved my problem in a minute.