CSharp examples for System:Converter
Base 64 Decode with Convert class
using System.Threading.Tasks; using System.Text; using System.Linq; using System.Collections.Generic; using System;//www .j a va 2s .c om public class Main{ /// <summary> /// base64 ??? /// </summary> /// <param name="str"></param> /// <returns></returns> public static string DeCode(string str) { byte[] outputb = Convert.FromBase64String(str); return Encoding.Default.GetString(outputb); } }