Jacob438
Sep 20th, 2002, 01:09 PM
I'm new to C#, however, I've been programming in various other languages for years. I've been desperately wanting to learn C# since I heard it was coming out. Anyways, in order to learn it, I have an idea for a program I want to create, but I need some adivce from some of you experienced folks out there to point me in the right direction.
What I want...
A client/server app (two separate apps)
when the client connects to the server, they exchange some information, some of which being username/password, and then a few commands, eventually leading to file transfer from client to server, then another file transfer from server to client. I would like the files to be encrypted throughout the transfer, I was going to use a scheme similar to that outlined here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconencryptingdata.asp
Should I use the socket class or the tcpListener/tcpClient stuff to establish the connection. I'm sure both can do the job, but which do you guys suggest for this specific task. Both will allow two way communication, right?
Thanks a lot,
Jacob438
What I want...
A client/server app (two separate apps)
when the client connects to the server, they exchange some information, some of which being username/password, and then a few commands, eventually leading to file transfer from client to server, then another file transfer from server to client. I would like the files to be encrypted throughout the transfer, I was going to use a scheme similar to that outlined here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconencryptingdata.asp
Should I use the socket class or the tcpListener/tcpClient stuff to establish the connection. I'm sure both can do the job, but which do you guys suggest for this specific task. Both will allow two way communication, right?
Thanks a lot,
Jacob438