解密_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,
null, new Type[] { typeof(string) }, null);
object result = mi.Invoke(o, new object[] { input });
return result.ToString();
}
{
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,
null, new Type[] { typeof(string) }, null);
object result = mi.Invoke(o, new object[] { input });
return result.ToString();
}
浙公网安备 33010602011771号