I have a base64 encoded string stored in xml, I've already got a handle on the string, how can I write this base64 encoded string to a file, so that the file is completely usable on the file system?
+4
A:
Try this:
File.WriteAllBytes(@"c:\yourfile", Convert.FromBase64String(yourBase64String));
Rubens Farias
2009-10-19 12:09:28
A:
As a first pointer, check out MSDN's documentation on the XmlTextreader's ReadBase64 Method... http://msdn.microsoft.com/en-us/library/system.xml.xmltextreader.readbase64.aspx
flq
2009-10-19 12:11:00