473,395 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

SSL communication in .NET

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
Jul 21 '05 #1
4 2809
>

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/

-

Jul 21 '05 #2
"Edwin Engelen" <e.engelen[no@spam]ascon.nl> wrote
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
Jul 21 '05 #3
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

"Pieter Philippaerts" <Pi****@nospam.mentalis.org> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
"Edwin Engelen" <e.engelen[no@spam]ascon.nl> wrote
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

Jul 21 '05 #4
"Edwin Engelen" <e.engelen[no@spam]ascon.nl> wrote in message
I need SSL over HTTP. But how can I use this? Which classes?


Take a look at the HttpWebRequest class. You can generate one with this
code:

HttpWebRequest req =
(HttpWebRequest)WebRequest.Create("https://www.myurl.com/");

Regards,
Pieter Philippaerts
Managed SSL/TLS: http://www.mentalis.org/go.php?sl
Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Noel | last post by:
Hi, I am a tad confused about if there are any benefits from using asynchronous vs synchronous network communication. As my example, I have been writing a dns lookup stack with a network...
1
by: alederer | last post by:
Hallo! I have the following situation: A db2 v6.1 client on AIX 4.3 (db2level reports U469703) and a OS/390 database version 6.1 . In some situations, I get the following error in my db2...
1
by: xixi | last post by:
i have catalog a remote database on my local db2 server, but now the remote database server with same machine name but the ip address changed, so i remove the old one, and try to catalog again...
3
by: Tim Reynolds | last post by:
I support a .Net application running on a SERVER accessing MF Db2 data. Occasionally, we have some type of connection problem that we have been unable to debug up to this point. We typically...
3
by: Laura | last post by:
I've just installed the DB2 Run-time client in a Solaris machine. Then I finnish the installation configuring the connection: 1. machine catalog was OK: ========================== $ db2 catalog...
3
by: Bryan Christopher | last post by:
Hello All! I have a rather abstract question for some genius out there to answer. I want to integrate communication tracking, for customer relations, into an existing Access DB. What I was going...
2
by: xeyder | last post by:
Hi everyone.. I need help about graph theory ( network problems) .. I have below problem . Does anyone know any existence algorithms or solutions to this problem ?? The Problems is: "...
4
by: Sačo Zagoranski | last post by:
Hi! I'm writing a simple 3D First person shooter game. It is a multiplayer game, where all the players connect to one server.
21
by: dast | last post by:
Hi, I'm having trouble letting my background thread tell my main thread what to do. I'm trying to tell my main thread to open a form, but when my background thread ends, the form that I...
2
by: xeyder | last post by:
Hi everyone.. I need help about graph theory ( network problems) .. I have below problem . Does anyone know any existence algorithms or solutions to this problem ?? The Problems is: " We...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.