boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - How to read SSL Socket stream?
相关主题
[合集] How to tell if a connection is http or https?
How to tell if a connection is http or https?
HTTP GET over SSL in C#
[合集] SSL certificate
问个c#的抓数据方面的问题
HttpWebRequest小程序
how to list all opened sockets?
RSS 简介 Re: HttpWebRequest小程序
c#中如何设置HttpWebRequest的UserAgent属性
[合集] How to disable browser options?
相关话题的讨论汇总
话题: ssl话题: socket话题: https话题: connection话题: stream
进入DotNet版参与讨论
1 (共1页)
y********o
发帖数: 2565
1
I know some time ago, cyberspace asked about how to download a file
through HTTPS connection.
And some short time later, Dintern asked about how to tell if a
connection is HTTPS.
I think you guys had very good discussion about these problems.
I would like to go one step further. How do we read from an SSL socket
stream?
I've googled a little bit, but all I found is basic socket programming.
None touches upon secured connection.
Any idea on how to receive (or send) data through HTTPS connection
y********o
发帖数: 2565
2
The answer is probably here:
http://weblogs.asp.net/jan/archive/2003/12/04/41154.aspx
I think a9 shared the same idea
(cf: 3320 as of 11:52PM EST JUN 26,2007)
some time ago. a9 must be a high-hand.

【在 y********o 的大作中提到】
: I know some time ago, cyberspace asked about how to download a file
: through HTTPS connection.
: And some short time later, Dintern asked about how to tell if a
: connection is HTTPS.
: I think you guys had very good discussion about these problems.
: I would like to go one step further. How do we read from an SSL socket
: stream?
: I've googled a little bit, but all I found is basic socket programming.
: None touches upon secured connection.
: Any idea on how to receive (or send) data through HTTPS connection

b****u
发帖数: 1027
3
consuming ssl is not any different than consuming non ssl.
only difference is you can supply your own certificate policy, just check
HttpWebRequest's ssl policy property and see how to do it. but even that
should be optional.
just give it a try, it'll work just like http.
y********o
发帖数: 2565
4
Yes, I tried implementing my own certificate policy and accepting
any certificate. It works. The idea of a9.

【在 b****u 的大作中提到】
: consuming ssl is not any different than consuming non ssl.
: only difference is you can supply your own certificate policy, just check
: HttpWebRequest's ssl policy property and see how to do it. but even that
: should be optional.
: just give it a try, it'll work just like http.

1 (共1页)
进入DotNet版参与讨论
相关主题
[合集] How to disable browser options?
[合集] 说到netadvantage
[合集] Log on to a remote computer
网页中没有id的元素怎么submit?
Cannnot open project file after https
internet programming in C#
socket问题求教
[转载] a socket Question
how to download a https file
SSL certificate
相关话题的讨论汇总
话题: ssl话题: socket话题: https话题: connection话题: stream