首页
社区
课程
招聘
[原创]WinLicense多种授权生成器 C#版,不到30楼直接提供源码
2008-11-24 20:40 14934

[原创]WinLicense多种授权生成器 C#版,不到30楼直接提供源码

2008-11-24 20:40
14934
这个只是方便生成授权,只要填入各个程序的licensehash就能生成不通的应用程序的授权了,licensehash的外置,比原版的生成器方便使用,只要一个生成器就能给你所有的加密程序提供授权的生成了。程序使用C#,可以使用Reflector查看代码,程序没有加壳。

顶到30楼的话,直接提供C#的源代码。

大家支持的力度这么大,现在不到30楼直接放出源码,希望版主给个精华

这里主要是对WinlicenseSDK.dll根据生成不同KEY,完成他的接口调用。完成这些接口也就是完成了KEY的生成。

   
class WinlicenseSDK
    {
        [DllImport( "WinlicenseSDK.dll", EntryPoint="WLGenPassword", CallingConvention = CallingConvention.StdCall )]
        public static extern int WLGenPassword(string PassHash, string Name, StringBuilder PasswordBuffer);

        [DllImport( "WinlicenseSDK.dll", EntryPoint="WLGenLicenseFileKey", CallingConvention = CallingConvention.StdCall )]
        public static extern int WLGenLicenseFileKey(string LicenseHash, string UserName, string Organization, string CustomData, string MachineID,
                             int NumDays, int NumExec, SystemTime NewDate, int CountryId, int Runtime, int GlobalTime, byte[] LicenseBuffer);

        [DllImport( "WinlicenseSDK.dll", EntryPoint="WLGenLicenseRegistryKey", CallingConvention = CallingConvention.StdCall )]
        public static extern int WLGenLicenseRegistryKey(string LicenseHash, string UserName, string Organization, string CustomData, string MachineID,
            int NumDays, int NumExec, SystemTime NewDate, int CountryId, int Runtime, int GlobalTime, string RegName, string RegValueName, byte[] LicenseBuffer);

          [DllImport( "WinlicenseSDK.dll", EntryPoint="WLGenLicenseTextKey", CallingConvention = CallingConvention.StdCall )]
        public static extern int WLGenLicenseTextKey(string LicenseHash, string UserName, string Organization, string CustomData, string MachineID,
            int NumDays, int NumExec, SystemTime NewDate, int CountryId, int Runtime, int GlobalTime, StringBuilder LicenseBuffer);

        [DllImport( "WinlicenseSDK.dll", EntryPoint="WLGenLicenseSmartKey", CallingConvention = CallingConvention.StdCall )]
        public static extern int WLGenLicenseSmartKey(string LicenseHash, string UserName, string Organization, string CustomData, string MachineID,
            int NumDays, int NumExec, SystemTime NewDate, StringBuilder LicenseBuffer);
    
    }

[CTF入门培训]顶尖高校博士及硕士团队亲授《30小时教你玩转CTF》,视频+靶场+题目!助力进入CTF世界

上传的附件:
收藏
点赞0
打赏
分享
最新回复 (46)
雪    币: 368
活跃值: (15)
能力值: ( LV9,RANK:170 )
在线值:
发帖
回帖
粉丝
快雪时晴 4 2008-11-24 21:14
2
0
TAG:WinLicense多种授权生成器 C#版

备用

另外问一下:论坛的收藏夹有大小限制吗?我的已经很大了   UNPACK.CN就限制的比较小
雪    币: 192
活跃值: (11)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
SunJiCr 2008-11-24 21:22
3
0
[QUOTE=;]...[/QUOTE]
下载收藏 多谢lz
雪    币: 5276
活跃值: (406)
能力值: (RANK:1170 )
在线值:
发帖
回帖
粉丝
tankaiha 29 2008-11-24 21:31
4
0
收藏
学习
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
dlzc 2008-11-24 22:43
5
0
先学习一下了.收藏中.
雪    币: 245
活跃值: (11)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
叮铛浪子 2008-11-25 00:14
6
0
问一下,这个支持1.9.9以上的版本吗?
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
gry 2008-11-25 00:34
7
0
下载收藏 谢lz
雪    币: 234
活跃值: (25)
能力值: ( LV3,RANK:30 )
在线值:
发帖
回帖
粉丝
opxlz 2008-11-25 08:50
8
0
这个中含SDK就是1.9.9.0的SDK ,其他版应该也可以,他提供的接口应该不会变的。
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
scweixia 2008-11-25 15:19
9
0
学习一下了,
雪    币: 105
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
kissk 2008-11-25 16:47
10
0
支持一下
雪    币: 222
活跃值: (1761)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
lhglhg 1 2008-11-25 18:58
11
0
顶上去!!顶上去!!
雪    币: 2657
活跃值: (464)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
greentea 2008-11-25 20:19
12
0
发吧,帮忙顶一下
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
winyong 2008-11-26 01:11
13
0
这个是单独工作还是只是个引导程序?
雪    币: 234
活跃值: (25)
能力值: ( LV3,RANK:30 )
在线值:
发帖
回帖
粉丝
opxlz 2008-11-26 08:11
14
0
这个是单独的授权程序,只要加上Winlicense的的SDK的DLL文件,WinlicenseSDK.dll就可以对你原来加密的程序生成授权了。
雪    币: 202
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
hertcloud 2008-11-26 16:14
15
0
好东西 顶起来
雪    币: 1022
活跃值: (292)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
longbbyl 2008-11-26 18:26
16
0
既然如此就定到30
雪    币: 133
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
niuhacker 2008-11-26 20:08
17
0
顶一下,源代码
雪    币: 563
活跃值: (95)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
lixupeng 2008-11-26 20:44
18
0
不错收藏了
雪    币: 161
活跃值: (261)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
陳明展 2008-11-26 22:06
19
0
我頂!
感謝分享!
雪    币: 202
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
anycall风 2008-12-3 22:25
20
0
顶,这个比较实在
雪    币: 402
活跃值: (38)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
天之际 2008-12-10 09:41
21
0
看看再说,从来没有用过。。。。
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
wintrader 2008-12-13 21:14
22
0
晕死,楼主干嘛飞到30?!
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
xdqyzy 2008-12-27 11:23
23
0
谢谢了我想要的,谢谢
雪    币: 230
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
东方品郎 2008-12-27 19:12
24
0
bu hui  shi ya!
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
xinaimin 2008-12-27 22:53
25
0
学习一下! 呵呵!!
游客
登录 | 注册 方可回帖
返回