using System . IO;
FileStream vFileStream = new FileStream ( @"c:\temp\temp.jpg" ,
FileMode . OpenOrCreate, FileAccess . Write);
byte [] vBuffer = Convert . FromBase64String(textBox1 . Text);
vFileStream . Write(vBuffer, 0 , vBuffer . Length);
vFileStream . Close();