开发者

Sending SSL HTTP request via TcpClient socket in C#

I am facing a problem that I must retrieve a website content via a TcpClient socket (I cannot use HttpWebRequest as well as HttpWebResponse because some other issues). I can successfully request to web server using HTTP protocol. But there some webs only accept HTTP SSL requ开发者_如何学JAVAest, not the HTTP. My question is: How can I send HTTP SSL request to the host server and retrieve back the content?

Any advices are really appreciated.

Thanks and best regards


Check this Secure Socket Library and this class


SslStream class in .NET framework, or the SSL/TLS components of SecureBlackbox, which my company maintains, if you need advanced functionality and complete control.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜