zoukankan      html  css  js  c++  java
  • FlyTreeView for ASP.NET 4.4.0.15

    FlyTreeView的外观俏丽,性能也最为丰富,可谓精雕细琢。

    先一睹为快!

    破解后 没有文字水印 ,没有过期无法运行情况 图片如下:

    
曾祥展

    原版有文字水印在左上角上,并且过了期限就不能运行 图片如下:

    曾祥展

    过期后无法运行:

    曾祥展 

    过程手记:

    打开--vs2008 程序-Microsoft Windows SDK v6.0A—Tools--IL 反汇编程序

    把所用的dll生成.il文件

    打开il文件 k掉

    836 - 846
    .publickey = (00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00   // .$..............
    00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00   // .$..RSA1........
    EB FD B1 7F 49 35 9E C0 95 39 EE 11 CD D2 30 A3   // ....I5...9....0.
    72 D3 A0 72 DD 10 42 86 EA 59 60 AB 5F C4 3F 7F   // r..r..B..Y`._.?.
    09 A7 6C 5E FA D0 54 FF B9 B7 12 C6 13 DD 6D C3   // ..l^..T.......m.
    D3 5B E4 90 76 EC CC 92 CD B0 7E 9B 22 A5 A4 71   // .[..v.....~."..q
    D0 EA 1A EE 0D 6B BE 82 55 D6 7E B2 7F B1 32 DB   // .....k..U.~...2.
    50 5B F7 50 07 19 91 59 22 BF FB 82 A9 0B F7 DE   // P[.P...Y".......
    87 36 F9 6C 19 CA D9 63 55 63 78 44 C6 33 6C 55   // .6.l...cUcxD.3lU
    39 00 7B 0A 89 8E C2 C5 8E 4A 52 C2 8E 23 37 B3 ) // 9.{......JR..#7.
    .hash algorithm 0x00008004
    12134---12169
    IL_0011:  ldsfld     valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MaxValue
    IL_0016:  stloc.0
    .try
    {
    IL_0017:  ldarg.0
    IL_0018:  call       instance class [mscorlib]System.Type [mscorlib]System.Object::GetType()
    IL_001d:  callvirt   instance class [mscorlib]System.Reflection.Assembly [mscorlib]System.Type::get_Assembly()
    IL_0022:  callvirt   instance string [mscorlib]System.Reflection.Assembly::get_Location()
    IL_0027:  stloc.1
    IL_0028:  ldloc.1
    IL_0029:  call       valuetype [mscorlib]System.DateTime [mscorlib]System.IO.File::GetLastWriteTime(string)
    IL_002e:  stloc.0
    IL_002f:  leave.s    IL_0034
    }  // end
    .try
    catch [mscorlib]System.Object
    {
    IL_0031:  pop
    IL_0032:  leave.s    IL_0034
    }  // end handler
    IL_0034:  ldloc.0
    IL_0035:  call       valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::get_Now()
    IL_003a:  stloc.2
    IL_003b:  ldloca.s   V_2
    IL_003d:  ldc.r8     -45.
    IL_0046:  call       instance valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::AddDays(float64)
    IL_004b:  call       bool [mscorlib]System.DateTime::op_LessThan(valuetype [mscorlib]System.DateTime,
    valuetype [mscorlib]System.DateTime)
    IL_0050:  brfalse.s  IL_005d
    IL_0052:  ldstr      "9Rays.Net FlyTreeView for ASP.NET evaluation perio"
    + "d has expired."
    IL_0057:  newobj     instance void [mscorlib]System.Exception::.ctor(string)
    IL_005c:  throw

    文字水印 置空:

    10332
    .field private static literal string _trialNotificationHtml = string('<div style=\'color: #f00; font: 11px arial, sans-serif; position: absolute; left:
    1px; top: 1px; z-index: 1000\'>This page was created with trial version of <a
    href=\'http://www.9rays.net/products/TreeView_ASP.NET_2/\' target=\'_blank\' style=\'color: #f00; text-decoration:
    underline\'>FlyTreeView for ASP.NET</a>.</div>')
    11652
    .method family hidebysig virtual instance void Render(class [System.Web]System.Web.UI.HtmlTextWriter writer) cil managed
    {
    .maxstack 8
    L_0000: ldarg.0
    L_0001: call instance void NineRays.WebControls.FlyTreeView::EnsureFinals()
    L_0006: ldarg.0
    L_0007: ldarg.1
    L_0008: call instance void [System.Web]System.Web.UI.WebControls.WebControl::Render(class
    [System.Web]System.Web.UI.HtmlTextWriter)
    L_000d: ldarg.0
    L_000e: ldarg.1
    L_000f: call instance void NineRays.WebControls.FlyTreeView::RenderStateLogInput(class
    [System.Web]System.Web.UI.HtmlTextWriter)
    L_0014: ldarg.0
    L_0015: ldfld class NineRays.WebControls.FlyControlCommon`1<class NineRays.WebControls.FlyTreeView>
    NineRays.WebControls.FlyTreeView::_flyControlCommon
    L_001a: ldarg.1
    L_001b: callvirt instance void NineRays.WebControls.FlyControlCommon`1<class NineRays.WebControls.FlyTreeView>::Render(class
    [System.Web]System.Web.UI.HtmlTextWriter)
    L_0020: ldarg.0
    L_0021: call instance bool [System.Web]System.Web.UI.Control::get_DesignMode()
    L_0026: brtrue.s L_0033
    L_0028: ldarg.1
    L_0029: ldstr "<div style=\'color: #f00; font: 11px arial, sans-serif; position: absolute; left: 1px; top: 1px; z-index: 1000\'>This page
    was created with trial version of <a href=\'http://www.9rays.net/products/TreeView_ASP.NET_2/\' target=\'_blank\' style=\'color: 
    #f00;
    text-decoration: underline\'>FlyTreeView for ASP.NET</a>.</div>"
    L_002e: callvirt instance void [mscorlib]System.IO.TextWriter::Write(string)
    L_0033: ret
    }
    

    重新编译生成dll:

    vs2008环境下 cmd命令(有点像大学时学的汇编命令):

    c:

    cd C:\Documents and Settings\itd0300166.PLSH166\桌面\tree // 转到il目录下

    ilasm /dll /resource=aa.res /output:FlyTreeView.dll  aa.il       //生成FlyTreeView.dll  改回原来名称即可

     更多的命令请参考:http://msdn.microsoft.com/zh-cn/library/496e4ekx(VS.80).aspx

  • 相关阅读:
    Building a Space Station POJ
    Networking POJ
    POJ 1251 Jungle Roads
    CodeForces
    CodeForces
    kuangbin专题 专题一 简单搜索 POJ 1426 Find The Multiple
    The Preliminary Contest for ICPC Asia Shenyang 2019 F. Honk's pool
    The Preliminary Contest for ICPC Asia Shenyang 2019 H. Texas hold'em Poker
    The Preliminary Contest for ICPC Asia Xuzhou 2019 E. XKC's basketball team
    robotparser (File Formats) – Python 中文开发手册
  • 原文地址:https://www.cnblogs.com/zengxiangzhan/p/1657886.html
Copyright © 2011-2022 走看看