using System.IO;
byte[] rawData = Convert.FromBase64String(receivedBase64string);
using (FileStream fs = new FileStream(
@"c:\received.dat",
FileMode.Create))) {
fs.Write(rawData, 0, rawData.Length);
}
from
http://stackoverflow.com/questions/11235476/how-to-store-base64-strings-image-to-net-server-from-android
Nessun commento:
Posta un commento