Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTP(S) POST/GET request over TcpClient [C#]

Tags:

c#

.net

I am newbie in C#. How can I create http(s) post, get request on server with TcpClient. I don’t use HttpWebRequest class. Any good example? Thank you

But, I will use SOCKS proxy, such as TOR. I need used this library starksoft.com/prod_proxy.html, and this library works with TcpClient.

like image 920
Tom Avatar asked Jul 16 '26 11:07

Tom


1 Answers

You will want to use the httpWebRequest class, as that is what it is for, it has methods to handle this type of request directly.

like image 131
Mitchel Sellers Avatar answered Jul 19 '26 00:07

Mitchel Sellers