JKorf / Binance.Net

A C# .netstandard client library for the Binance REST and Websocket Spot and Futures API focusing on clear usage and models
https://jkorf.github.io/Binance.Net/
MIT License
1.04k stars 427 forks source link

how set socket5 proxy on BinanceRestClient or BinanceSocketClient at first dircetly? #1354

Closed robyle closed 6 months ago

robyle commented 6 months ago

I'm trying set socket5 proxy,it will response error just like this, anyone can give me a suggestion to work it on . the proxy info I have test it on edge-browser is ok. but on coding is fail.

JKorf commented 6 months ago

It seems the protocol should be socks5, can you try with this url? new ApiProxy("socks5://127.0.0.1", 1080);

Also you're showing part of your API key in the screenshot, please be careful with that. If you accidentally show your api key and secret anyone will be able to access your account

robyle commented 6 months ago

It seems the protocol should be socks5, can you try with this url? new ApiProxy("socks5://127.0.0.1", 1080);

Also you're showing part of your API key in the screenshot, please be careful with that. If you accidentally show your api key and secret anyone will be able to access your account

OK, Thinks always. this Api key is only use for reading.