C# 路径参数加解密

加密

HttpContext.Current.Server.UrlEncode(“当前要加密的字符”);//加密

 

解密:

HttpContext.Current.Server.UrlDecode(“当前加密的参数”);//解密

 

posted on 2014-07-30 10:11  【波少】  阅读(198)  评论(0)    收藏  举报

导航