解密_PreviousPage的值

public static string PageDecryptString(string input)
    {
        Type type 
= typeof(System.Web.UI.Page);
        
object o = Activator.CreateInstance(type);
        System.Reflection.MethodInfo mi 
= type.GetMethod("DecryptString",
        System.Reflection.BindingFlags.NonPublic 
| System.Reflection.BindingFlags.Static,
        
nullnew Type[] { typeof(string) }, null);
        
object result = mi.Invoke(o, new object[] { input });
        
return result.ToString();
    }

posted on 2009-08-22 20:28  博览潇湘  阅读(214)  评论(0)    收藏  举报

导航