How to pass image from a flex application to a asp net c# web service?

荒凉一梦 提交于 2019-12-29 09:32:51

问题


I want to store images from the flex application to a asp net web service and at a later point will be sending these images back to flex application . Can you please give a example web method in c# or suggest a website to read about how to do this. I tried goggling but couldn't find anything very useful


回答1:


There are two ways I can think of:

  • use AMF and send ByteArray to C# (flex to c#)
  • use URLRequest and it's data property to send ByteArray encoded in Base64 via HTTP POST


来源:https://stackoverflow.com/questions/5702239/how-to-pass-image-from-a-flex-application-to-a-asp-net-c-sharp-web-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!