解码
Encoding.Default.GetString(Convert.FromBase64String(s));
编码
Convert.ToBase64String(Encoding.Default.GetBytes(s));
URL解码
string msg = System.Web.HttpUtility.UrlDecode(Msg1); ////URL解码