dimanche 3 janvier 2016

(Windows phone 8.1) How can i get an imagefrom the web with headers?

I recently started a new social app with friends and i have a problem, how can i get in c# an image as bitmapimage from an url and pass to it some headers? (not parameters, headers)

And also i found a simple solution but i couldn't understand why it was wrong, the problem is that: WHen i get byte[] from the server i get the image with a lot of question marks, this appends i thinks becouse of a different text encoding, how can i fix the code so i can get successfully the image from c# with headers and visible to bitmap?

sorry for my english




Aucun commentaire:

Enregistrer un commentaire