SSL communication in .NET

E

Edwin Engelen

I looked almost everywhere to find out how to communicate over SSL using
..NET. I hope someone can help me out...

I need to communicatie with a server of a service provider. This
communication must be secured with SSL. The comminication consists of
messages/strings (no web page content). I will send a request string, and
the server will send a response string, etc.

Does someone have an example or a tip?

Thanks in advance,
Edwin
 
L

lancer

I looked almost everywhere to find out how to communicate over SSL using
.NET. I hope someone can help me out...

I need to communicatie
with a server of a service provider. This
communication must be secured with
SSL. The comminication consists of
messages/strings (no web page content). I
will send a request string, and
the server will send a response string, etc.

Does someone have an example or a tip?

You may wish to use the
IP*Works! SSL .Net Edition to ease your programming tasks. It sounds like you
just need a basic TCP/IP component (with SSL) - if this is correct, you'll be
interested in the IPPortS component. In fact, if you download the trial, you'll
find a demo there called "tcpecho". This demo includes both a client (IPPortS)
and server (IPDaemonS) side, and shows how to send simple strings back and
forth.

Regards,
Lance R.
/n software
http://www.nsoftware.com/

-
 
P

Pieter Philippaerts

Edwin Engelen said:
I looked almost everywhere to find out how to communicate over SSL using
.NET. I hope someone can help me out...
Does someone have an example or a tip?

The .NET framework currently only supports SSL for HTTP connections. If you
wish to use your own protocol, you'll have to use a 3rd party library. Apart
from the numerous commercial ones, here's a free and open source
implementation: http://www.mentalis.org/soft/projects/seclib/

Regards,
Pieter Philippaerts
Managed SSL/TLS: http://www.mentalis.org/go.php?sl
 
E

Edwin Engelen

Hi Pieter, thanks for your reaction.

I don't need SSL over another protocol. I need SSL over HTTP. But how can I
use this? Which classes? Etc.
An example of what I wanna do:

- Connect to the HTTPS-server
- Send a string. E.g. "want-date".
- Receive a string. E.g. "08-10-2003"
- Send...receive...etc
- Disconnect.

Can you help me out?

Thanks,
Edwin
 

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