吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 17874|回复: 22
收起左侧

[Other] WinLicense多种授权生成器 C#版

[复制链接]
op336 发表于 2008-12-20 08:30
这个只是方便生成授权,只要填入各个程序的licensehash就能生成不通的应用程序的授权了,licensehash的外置,比原版的生成器方便使用,只要一个生成器就能给你所有的加密程序提供授权的生成了。程序使用C#,可以使用Reflector查看代码,程序没有加壳。

这里主要是对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);
    
    }
点击进入下载-LicGenerator_code.rar
点击进入下载-WinLicense.rar

[ 本帖最后由 op336 于 2008-12-20 08:33 编辑 ]

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

M0nster 发表于 2008-12-20 08:50
不错  很好的一款  谢谢楼主我拿走啦
aiCR 发表于 2008-12-20 09:21
my1229 发表于 2008-12-21 13:41
zwx666msn 发表于 2009-1-3 19:09
谢谢!先试试
失意 发表于 2009-1-3 21:23
收藏了。不过问下。生成的KEY文件如何解密成明文呢。。
oldmanguo 发表于 2009-1-5 10:03
不懂啊。。。
helohelo 发表于 2009-1-6 12:35
收藏了...谢谢!先试试
lzzt 发表于 2009-5-14 02:01
好不好使啊?
lzzt 发表于 2009-5-14 02:02
根本就无法打开嘛!
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:本版块禁止灌水或回复与主题无关内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-5-14 10:42

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表