如何使用c#.net中的WiFi和蓝牙将文件从C:\ Folder发送到另一个系统 [英] How to Send files from C:\ Folder to the another System using WiFi and Bluetooth in c#.net

查看:103
本文介绍了如何使用c#.net中的WiFi和蓝牙将文件从C:\ Folder发送到另一个系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好



我创建了一个Windows应用程序,它将在C:\Drive(名称示例文件夹)中创建一个文件夹。

当我在该Sample文件夹中放置任何文件时,它应该使用WiFi或蓝牙将该Sample文件夹中的所有文件发送到目标位置。

我尝试使用socket的Client和Server windows应用程序,但我想做在一个Windows应用程序中执行此任务。

Hello

I created one Windows Application that will created One Folder in C:\Drive (name Sample Folder).
When i place any files in that Sample folder,it should send all files from that Sample folder to the destination location using WiFi or Bluetooth.
I tried Client and Server windows applications using socket but i want to do in One Windows application for this task.

推荐答案

ideas [ ^ ]用于通过蓝牙发送文件



通过wifi传输 - 请参阅使用WCF和Socket进行文件传输 [ ^ ]



您还需要监控文件夹 - 请参阅C#:使用FileSystem Watcher监视文件或目录的应用程序 [< a href =http://www.codeproject.com/Articles/26528/C-Application-to-Watch-a-File-or-Directory-using-Ftarget =_ blanktitle =New Window> ^ ]



如果这些不足以让您入门,请使用这些链接中使用的术语进行进一步研究。



如果您遇到困难,请回来,但记得发布您遇到问题的代码
ideas[^] for sending files via Bluetooth

Transfer via wifi - see File Transfer using WCF and Socket[^]

You will also need to monitor the folder - see C#: Application to Watch a File or Directory using FileSystem Watcher[^]

If these aren't sufficient to get you started then use the terms used in those links to do further research.

Do come back if you get stuck, but remember to post the code you're having issues with


这篇关于如何使用c#.net中的WiFi和蓝牙将文件从C:\ Folder发送到另一个系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆