How to convert base64 video in Windows Phone,
I have base64 string :
string str = "aqtuphnzx+rnmhjqipo";
How do I convert?
Thanx!!
How to convert base64 video in Windows Phone,
I have base64 string :
string str = "aqtuphnzx+rnmhjqipo";
How do I convert?
Thanx!!
You could use the Convert utility class to Convert.FromBase64String()
your input to get the raw bytes. You'll probably want to wrap this byte array in a memory stream while you're at it.
var str = "aqtuphnzx+rnmhjqipo";
var videoStream = new MemoryStream(Convert.FromBase64String(str));
Note that your sample str
is not actually a base64-encoded string as far as I can tell.