问题
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