windows phone 7 - Convert a variable to a byte array -
i want convert video byte array upload.
var videoinput = new uri("/uploadnewvideo;component/test.mp4", urikind.relative);
i trying upload byte array parameter php:
string = "trial"; string url = "phpurl?"; client.downloadstringasync(new uri(url + "&uploadedfile=" + bytearray + "&name=" + a));
first of all, using wrong method download video itself. instead of downloadstringasync
, need use openreadasync. way can access incoming byte stream.
also, fyi, not able concatenate byte array , string way it.
Comments
Post a Comment