/// <summary> /// Base64解密 /// </summary> /// <param name="s"></param> /// <returns></returns> public static string Base64Decode(this string s) { return(StringUtil.Base64Decode(s)); }
/// <summary> /// Base64解密 /// </summary> /// <param name="s"></param> /// <param name="encoding"></param> /// <returns></returns> public static string Base64Decode(this string s, Encoding encoding) { return(StringUtil.Base64Decode(s, encoding)); }
private void btnFromBase64_Click(object sender, EventArgs e) { SC.S2 = StringUtil.Base64Decode(SC.S1, SC.GetEncoding()); this.Close(); }