Windows 8应用商店中的文件传输 [英] file transfer in windows 8 app store

查看:104
本文介绍了Windows 8应用商店中的文件传输的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在Windows 8中构建聊天应用程序,我想在应用程序中包含文件传输功能。有人建议我如何实现这个。

提前谢谢..

I am currently building chat app in windows 8 and i want to include file transfer feature in the app. Somebody suggest me how to implement this.
Thanks in advance..

推荐答案

请阅读以下文章了解更多信息。



Please read below articles for more info.

Quote:

使用Windows运行时中提供的Windows.Networking.BackgroundTransfer API来增强您的功能应用程序具有高级文件下载和上传功能,可在应用程序暂停期间在后台运行,演示每个操作生命周期管理,并在应用程序终止后继续存在。此功能非常适合使用HTTP和HTTPS协议进行大型文件下载和上载操作。支持FTP,但仅限于进行下载操作。

Use the Windows.Networking.BackgroundTransfer APIs provided in the Windows Runtime to enhance your app with advanced file download and upload features that run in the background during app suspension, demonstrate per operation lifecycle management, and persist beyond app termination. This feature is ideal for large file download and upload operations using the HTTP and HTTPS protocols. FTP is supported, but only when conducting download operations.



在后台传输数据(使用C#的Windows应用商店应用



下载文件



通过套接字:



通过Windows Phone 8和Windows 8上的套接字发送大文件



数据报套接字通讯在Windows Phone 8中


Transferring data in the background (Windows Store apps using C#

Downloading Files

Through Sockets:

Sending Large Files Through Sockets on Windows Phone 8 and Windows 8

Datagram Socket Communication in Windows Phone 8


这篇关于Windows 8应用商店中的文件传输的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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