CSharp examples for System:String Base64
Decodes a Base64-encoded string
using System.Text.RegularExpressions; using System.Text; using System.Linq; using System.Globalization; using System;/*from ww w . j a v a2s. c om*/ public class Main{ /// <summary> /// Decodes a Base64-encoded string /// </summary> public static string DecodeBase64(this string value) { return Encoding.ASCII.GetString(Convert.FromBase64String(value)); } }