c# ssl tcp socket how?

V

Vo

Is there a way, using stock .net framework functionality, to open a tcp
connection over an SSL channel? I'd rather not get into buying libraries,
etc. Java has the javax.net.ssl.* objects, and I'm not finding an
equivalent in c#.

Note this is a socket connection, not an HTTPS connection. I want to do
POP3 over SSL to gmail. Please don't direct me, too, to the broken gmail
libraries that are out there, because I want to port existing code that
works nicely over a regular socket with unsecured POP3. Thanks!

Eddie
 
W

William Stacey [MVP]

Have not tried it myself yet, but FX 2.0 has a new
System.Net.Security.SslStream class, among others.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top