"Joe Kaplan \(MVP - ADSI\)" <joseph.e.kaplan@removethis.accenture.com> writes:
> If you are looking for built in SSL support at the sockets level in .NET
> 1.1, you won't find it. SslStream is new in .NET 2.0.
Thanks for the quick answer. My protocol was close enough to HTTP
that, with some truly embarrassing hacks on both ends, I was able to
trick a Web request object into doing my dirty work. :-)
> To have this support in .NET 1.1, you would need to write your own P/Invoke
> wrapper that implements something like SslStream using Schannel and SSPI
> under the hood. Alternately, you might look for another library that works
> with .NET 1.1 that has this support as well. I have no idea what to tell
> you about compact framework support though.
Do you know if SslStream is supported in the Compact Framework for
.NET 2.0? MSDN didn't say one way or the other, from what I could
find.
Thanks!
----Scott.
Joe Kaplan (MVP - ADSI) - 22 Apr 2006 00:02 GMT
I do not know the compact framework question, but I bet cross posting to one
of their groups will get the answer. I'm glad you found a suitable hack to
piggyback on top of HTTP.
I would assume that you could do the same hack on the CF as they MUST have a
HttpWebRequest and some sort of SSL support, right?
Best of luck again :)
Joe K.
> "Joe Kaplan \(MVP - ADSI\)" <joseph.e.kaplan@removethis.accenture.com>
> writes:
[quoted text clipped - 21 lines]
>
> ----Scott.
Scott W Gifford - 28 Apr 2006 04:16 GMT
"Joe Kaplan \(MVP - ADSI\)" <joseph.e.kaplan@removethis.accenture.com> writes:
[...]
> I would assume that you could do the same hack on the CF as they MUST have a
> HttpWebRequest and some sort of SSL support, right?
Yes, with some small changes and a .NET CF bug workaround, my hack
worked on the Compact Framework. I just finished debugging and
testing it.
----Scott.