还是站在巨人肩上做学习再开发。
有两个Gantt组件都有for .Net的。
1) varChar xgantt3.1 for .Net
2) ILOG Gantt 3.0 for .Net
索性将这两个都破解了!
2006.2.9
==================
varchar Gantt 3.1 activeX 组件破解,花了我一天的时间,先用Delphi7写一个实例,再用od跟踪,JMP了三次
就OK了!
2006.2.10
==================
VS2005和Delphi 2006在我的本上躺着好久,差一点儿都想不起来了,一直在用Delphi7开发AutoCAD插件,没有时间来学他。
今天看来要用上他了,用Reflectorn打开ILOG License manager 程序,看到:
2static Key(); public Key(string str);
3internal Key(string siteName, string product, double version);
4internal Key(string siteName, string product, double version, DateTime date, string options);
5private string Crypt();
6private string GetOptionString();
7public bool HasOption(string name, out int value);
8private static KeyType KeyTypeFromString(string type);
9public static Key MakeEvalKey(Key eval);
10public static string MakeSiteLicenseKey(string siteName, string product, double version);
11private static int MonthToInt(string str);
12private static Option ParseOptionsString(string optionString);
13private static DateTime StringToDate(string str);
14public override string ToString(); public string[] ToStrings();
15private int DateQuantieme { get; }
16public DateTime ExpirationDate { get; }
17public bool Expired { get; }
18public bool Expires { get; }
19public bool IsEnterprise { get; }
20public bool IsEvaluation { get; }
21public string KeyCode { get; }
22public string OptionalArg { get; }
23public string OptionalKey { get; }
24public string Product { get; }
25public double ProductVersion { get; }
26public string SiteName { get; }
27public string Type { get; }
28public bool ValidHostID { get; }
29private string _code;
30private DateTime _expirationDate;
31private bool _expires;
32private string _feature;
33private KeyType _keyType;
34private string _licenseText;
35private string _optionalArg;
36private string _optionalKey;
37private Option _options;
38private string _siteName;
39private double _version;
40private static string[] months;
41private enum KeyType { ILM_SITEKEY, ILM_EVALKEY, ILM_NODEKEY }
42private class Option {
43 public Option();
44 public string name;
45 public Key.Option next;
46 public int value;
47 }
48}
49
就想到在他基础上开发一个license generate,既可以管理license又可以当作license 生成器。
先到这儿,下次有时间再继续讲讲如何Crack ILOG Gantt for .Net.