如何使用wifi从c#app传输文件到iphone? [英] how to transfer file using wifi from c# app to iphone?

查看:149
本文介绍了如何使用wifi从c#app传输文件到iphone?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我需要使用wifi网络将一个zip文件从c#window应用程序传输到iphone / ipad。我学习了一些使用socket和tcp编程的教程,但实际上是从pc到pc而不是pc到iphone或其他设备。任何人都可以告诉我如何使用wifi和发送文件连接到设备。

Hi all,
i need to transfer a zip file from c# window application to iphone/ipad using wifi network. i learn some tutorial using socket and tcp programming but that are actually about from pc to pc not pc to iphone or other device. can anyone tell me how to connect to a device using a wifi and send file.

推荐答案





你可以使用SignalR来完成你的工作。



什么是SignalR?



Hi,

You can use SignalR to accomplish your work.

What is SignalR ?

引用:

ASP.NET SignalR是ASP.NET开发人员的新库,它使得为应用程序添加实时Web功能变得异常简单。什么是实时网络功能?它能够让您的服务器端代码实时地将内容推送到连接的客户端。



您可能听说过WebSockets,一个新的HTML5 API,支持浏览器和服务器之间的双向通信。 SignalR将在可用时使用WebSockets,并且当它不是时,优雅地回退到其他技术和技术,而你的应用程序代码保持不变。

ASP.NET SignalR is a new library for ASP.NET developers that makes it incredibly simple to add real-time web functionality to your applications. What is "real-time web" functionality? It's the ability to have your server-side code push content to the connected clients as it happens, in real-time.

You may have heard of WebSockets, a new HTML5 API that enables bi-directional communication between the browser and server. SignalR will use WebSockets under the covers when it's available, and gracefully fallback to other techniques and technologies when it isn't, while your application code stays the same.







目标C的SignalR客户端:

https:// github .com / DyKnow / SignalR-ObjC [ ^ ]





您可以向客户发送有关新文件到达的通知,然后该客户端应用程序将从您希望的位置下载文件。通过这种方式,您可以将文件从服务器推送到客户端。



谢谢,

Suvabrata




SignalR client for Objective C :
https://github.com/DyKnow/SignalR-ObjC[^]


You could send a notification to your client about a new file arrived and then that client application will download file from your desire location. This way you will be able to push file to client from Server.

Thanks,
Suvabrata


这篇关于如何使用wifi从c#app传输文件到iphone?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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