Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Unable to upload MediaFile.Source through Web API

$
0
0

I have written a code for Image capture through Camera and on button click upload same image on Server through API.

I tried converting MediaFile.Source to byte[] but couldn't find the Image Format because of this I'm getting invalid file format on server after upload.

Please suggest or give best solution to resolve this issue.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>