TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

.NET TcpClient library to connect through proxy server

1 点作者 Ace__超过 4 年前
Hi.<p>We have implemented a .NET&#x27;s TcpClient that can connect through a proxy server.<p>It is a helper method that creates a new Socket and connects it to a destination Uri through a given Proxy.<p>Based on that socket a new TcpClient is created.<p>It takes one line to use it:<p>TcpClient client = Filemail.ProxiedTcpClient.ProxiedTcpClient.Create(proxyUri,destinationUri);<p>It is capable of detecting system proxy settings and handles proxies configured with *.pac script files<p>TcpClient client = Filemail.ProxiedTcpClient.ProxiedTcpClient.Create(destinationUri);<p>Code is hosted on github: https:&#x2F;&#x2F;github.com&#x2F;filemail&#x2F;ProxiedTcpClient Nuget package can be found here: https:&#x2F;&#x2F;www.nuget.org&#x2F;packages&#x2F;Filemail.ProxiedTcpClient&#x2F;<p>Feel free to give it a try. Any comments, suggestions, etc, please do let me know.<p>Cheers, Ace.

暂无评论

暂无评论