在 windows mobile 6 中上传图片到 .net [英] Upload images in windows mobile 6 in .net

查看:29
本文介绍了在 windows mobile 6 中上传图片到 .net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在 .NET 中开发移动应用程序.这是一个 Windows 移动应用程序.我在这个应用程序中遇到一个问题,我想将图像/文件上传到给定的 url/服务器.许多上传类没有使用像 Webclient,WebRequest,WebResponse.我用了HttpWebReques,就是不连接服务器.

I am working on a mobile application in .NET. This is a windows mobile application. I am facing a problem in this application that I wanna upload an image/file to given url/server. Many upload classes is not using like Webclient,WebRequest,WebResponse. I used HttpWebReques, That is not connecting with server.

任何人都可以帮助我如何在 .NET 中的 windows mobile 6 中上传给定 url 上的图像?

Can anyone help me on how to upload the images on given url in windows mobile 6 in .NET?

推荐答案

不确定将图像上传到给定 URL 的确切含义.当然,您的服务器上需要一些侦听器或其他东西才能接收图像数据.

Not sure what you mean exactly with uploading images to a given URL. Surely you need some listener or something on your server to be able to receive the image data.

您可以创建一个 .NET Web 服务,其函数接受一个 byte[] 输入参数以在您的服务器上上传您的图像数据,并在您的 Windows Mobile 应用程序中引用它.

You could create a .NET web service, with a function that takes a byte[] input parameter to upload your image data, on your server and reference that in your Windows Mobile application.

这篇关于在 windows mobile 6 中上传图片到 .net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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