I have an issue with my need to upload an image to my web server.
I'm using Plugin.Media from James Montemagno. I use this code to let the user select an image.
var media = CrossMedia.Current;
var file = await media.PickPhotoAsync();
Then, I have to convert that "file" to base64 to upload it to my web server, but I don't know how to do that since in PCL there's no System.IO.File.
How can I do that? Do you have any hint?