Click here to Skip to main content
15,888,286 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi I want to develop an application for send file from desktop to laptop, mobile and tab
using c#.So can anybody help me for this.
Posted

Google for "C# sockets" and you will find lots of useful samples.
 
Share this answer
 
I would like to answer this question of yours. There are many methods to this, you can use your own server (or a website) to let different users to communicate with each other and share their files, or you can let them directly communicate. In your case you want them to directly send the files to other mobile devices. You can consider using the Sockets, to send the data through a device using a Windows OS with .NET framework.

Working with Sockets in C#[^]
http://msdn.microsoft.com/en-us/library/system.net.sockets.socket(v=vs.110).aspx[^]

The main technique involved in this, is the bluetooth support. If the device supports a bluetooth protocol then you can send the files via bluetooth. In Windows, you can perform these actions and send the files over bluetooth to any device that can communicate via bluetooth. Read these documents[^] to learn more on this topic. IrDA (Infrareds) can also be used, but I don't think anyone would be using this standard for sharing the resources.

My choice: I would like to use the web server method, to create a server from where the users would share their resources, because bluetooth is only available if the devices are close to each other.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900