473,378 Members | 1,492 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,378 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 2808
>

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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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

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.