计算ScriptResource.axd的d参数
来源:互联网 发布:神机妙算2016软件介绍 编辑:程序博客网 时间:2024/06/07 14:24
protected void Page_Load(object sender, EventArgs e)
{ var url= string.Format("ScriptResource.axd?d={0}", PageEncryptString("Q|~/web.config|#|xlsb"));
//var info = F.Studio.Web.Utility.MachineKeyUtil.GenerateMachineKey();
//Response.Write("D->" + info.Decryption +":" + info.DecryptionKey +"
"); //Response.Write("V->" + info.Validation +":" + info.ValidationKey);
}
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();
}
public static string PageEncryptString(string input)
{
Type type = typeof(System.Web.UI.Page);
object o = Activator.CreateInstance(type); System.Reflection.MethodInfo mi = type.GetMethod("EncryptString", 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();
}
- 计算ScriptResource.axd的d参数
- /ScriptResource.axd 的报错
- Sys is undefinded - WebResource.axd ScriptResource.axd 404 error
- 关于AXD的调试使用说明
- 后缀为axd 的文件
- 后缀为axd 的文件
- 纪念arm-axd 的批命令
- AXD中debugrel和debug的区别
- 使用AXD调试U-BOOT的方法
- Jlink+axd调试2440的一些问题!
- 网站eurl.axd报错的解决方法
- AXD Jlink仿真注意的错误
- WebResource.axd错误可能的解决方法
- ads 编译 和axd 调试 的使用
- 利用Jlink+AXD修复FL2440的bootloader
- Jlink_V8+mini2440+axd在线调试的配置
- asp.net 中ashx、axd的区别
- asp.net 中ashx、axd的区别
- 安装 VS 2005 SP 1 出现 Internal Error 2755 1612 解决办法
- Enterprise Library Policy Injection Application Block(5.0) 函数调用链整理
- cnblogs.com精华收藏帖
- Asp.net的一些编码问题
- Repeater控件备忘
- 计算ScriptResource.axd的d参数
- 关于控件Visible属性的说明
- 多级分类,按用户配置可选-使用三组ListBox(参考taobao发布)
- 函数(方法)级的授权
- 多分类产品查询
- 广告位管理系统---使用说明
- 广告位管理系统--跨域广告加载问题
- linux远程桌面乱码解决及引起的相关问题、字库安装
- SubSonic中的字段付值--MakeOld & Update