connecting using SSL with C#

J

Jaime Stuardo

Hi all....

I used IPEndPoint and Socket class of System.Net namespace in order to send
a request to a webpage. I opened 443 port in order to establish a HTTPS
connection, but it didn't seem to work.

How can I do it? do I have to install some C# component to enable SSL?

Thanks a lot in advance
Jaime
 
J

Joerg Jooss

Jaime said:
Hi all....

I used IPEndPoint and Socket class of System.Net namespace in order
to send a request to a webpage. I opened 443 port in order to
establish a HTTPS connection, but it didn't seem to work.

How can I do it? do I have to install some C# component to enable SSL?

Why don't you use System.Net.HttpWebRequest? Or at least
System.Net.WebClient?

Cheers,
 
V

vooose

Check out

http://www.mentalis.org/

they have an SSL implementation in c#. It's free (last time i used it)
and it worked as well! You can just replace your existing TCPClient with
SecureTCPClient (and add a few extra things) and it works. There is no
'standard' implementation that ships with .NET 1.1 to my knowledge
 

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