SSL communication in .NET

  • Thread starter Thread starter Edwin Engelen
  • Start date Start date
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
 
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/

-
 
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
 
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
 
Back
Top