Base64 encoded string to file
base64, c#, encoding
Solution
Try this:
File.WriteAllBytes(@"c:\yourfile", Convert.FromBase64String(yourBase64String));
Problem
I have a base64 encoded string. How can I write this base64 encoded string to a file?
base64, c#, encoding
Try this:
File.WriteAllBytes(@"c:\yourfile", Convert.FromBase64String(yourBase64String));
I have a base64 encoded string. How can I write this base64 encoded string to a file?