Esempio n. 1
0
 /// <summary>
 /// Base64解密
 /// </summary>
 /// <param name="s"></param>
 /// <returns></returns>
 public static string Base64Decode(this string s)
 {
     return(StringUtil.Base64Decode(s));
 }
Esempio n. 2
0
 /// <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));
 }
Esempio n. 3
0
 private void btnFromBase64_Click(object sender, EventArgs e)
 {
     SC.S2 = StringUtil.Base64Decode(SC.S1, SC.GetEncoding());
     this.Close();
 }