C# Multipart Mime object

强颜欢笑 提交于 2020-01-07 13:36:13

问题


I am receiving file through url request which has following contents.

--MSMboundary
Content-Type: image/jpeg
Content-ID:15870126
Object-ID:1
Content-Description: null

ÿØÿà JFIF  ` `  ÿÛ C        

 $.' ",#(7),01444'9=82<.342ÿÛ C         

2!!22222222222222222222222222222222222222222222222222ÿÀ  È " ÿÄ             
--MSMboundary
Content-Type: image/jpeg
Content-ID:15870126
Object-ID:2
Content-Description: null

ÿØÿà JFIF  ` `  ÿÛ C        

 $.' ",#(7),01444'9=82<.342ÿÛ C         

2!!22222222222222222222222222222222222222222222222222ÿÀ  È " ÿÄ             
ÿÄ µ   
--MSMboundary

How do I generate image and extract other contents using c#?

Thank you


回答1:


Finally I solve it using: http://code.crt.realtors.org/projects/librets/wiki/CsharpGetObject and installing https://libraries.io/nuget/librets-dotnet ..



来源:https://stackoverflow.com/questions/31360682/c-sharp-multipart-mime-object

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