DateTime (2004, 7, 11) is the expiration time of the control. To put it simply, it still takes a great deal to find it. Based on the above clues, I found the corresponding IL code in the NineRays. Web. UI. WebControls. FlyTreeView. IL file compiled by ildasm:
. Method private hidebysig specialname rtspecialname static
Void. cctor () cel managed
{
// Code size 19 (0x13)
. Maxstack 4
IL_0000: ldsflda valuetype [mscorlib] System. DateTime Global: TRIAL_EXPIRE_DATE
IL_0005: ldc. i4 0x7d4
IL_000a: ldc. i4.7
IL_000b: ldc. i4.s 11
IL_000d: call instance void [mscorlib] System. DateTime:. ctor (int32, int32, int32)
IL_0012: ret
} // End of method Global:. cctor
In the code, 0x7d4 is the hexadecimal year 2004. If I don't want to be greedy, change it to 2050, and the hexadecimal value is 0x802F.
. Method private hidebysig specialname rtspecialname static
Void. cctor () cel managed
{
// Code size 19 (0x13)
. Maxstack 4
IL_0000: ldsflda valuetype [mscorlib] System. DateTime Global: TRIAL_EXPIRE_DATE
IL_0005: ldc. i4 0x802F
IL_000a: ldc. i4.7
IL_000b: ldc. i4.s 11
IL_000d: call instance void [mscorlib] System. DateTime:. ctor (int32, int32, int32)
IL_0012: ret
} // End of method Global:. cctor
Do not forget to delete the beginning part of the IL code, which is similar to the following code.
. 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 01 00 01 00 // $... RSA1 ........
CD 62 12 05 0E 7C CD 6F 51 AF 2C 41 fd cc 65 44 //. B... |. oQ..., A... eD
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service