当前位置:  编程技术>java/j2ee

不使用myeclipse注册机得到myeclipse注册码的方法(myeclipse序列号)

    来源: 互联网  发布时间:2014-10-31

    本文导语:  代码如下:import java.io.BufferedReader;    import java.io.IOException;    import java.io.InputStreamReader;    public class MyEclipseGen {    private static final String LL = "Decompiling this copyrighted software is a violation of both your license agreement and the Digital Mille...

代码如下:

import java.io.BufferedReader;   
import java.io.IOException;   
import java.io.InputStreamReader;   
public class MyEclipseGen {   
private static final String LL = "Decompiling this copyrighted software is a violation of both your license agreement and the Digital Millenium Copyright Act of 1998 (http://www.loc.gov/copyright/legislation/dmca.pdf). Under section 1204 of the DMCA, penalties range up to a $500,000 fine or up to five years imprisonment for a first offense. Think about it; pay for a license, avoid prosecution, and feel better about yourself.";   
public String getSerial(String userId, String licenseNum) {   
   java.util.Calendar cal = java.util.Calendar.getInstance();   
   cal.add(1, 3);   
   cal.add(6, -1);   
   java.text.NumberFormat nf = new java.text.DecimalFormat("000");   
   licenseNum = nf.format(Integer.valueOf(licenseNum));   
   String verTime = new StringBuilder("-").append(new java.text.SimpleDateFormat("yyMMdd").format(cal.getTime())) .append("0").toString();   
   String type = "YE3MP-";   
   String need = new StringBuilder(userId.substring(0, 1)).append(type).append("300").append(licenseNum).append(verTime).toString();   
   String dx = new StringBuilder(need).append(LL).append(userId).toString();   
   int suf = this.decode(dx);   
   String code = new StringBuilder(need).append(String.valueOf(suf)).toString();   
   return this.change(code);   
}   
private int decode(String s) {   
   int i;   
   char[] ac;   
   int j;   
   int k;   
   i = 0;   
   ac = s.toCharArray();   
   j = 0;   
   k = ac.length;   
   while (j < k) {   
    i = (31 * i) + ac[j];   
    j++;   
   }   
   return Math.abs(i);   
}   
private String change(String s) {   
   byte[] abyte0;   
   char[] ac;   
   int i;   
   int k;   
   int j;   
   abyte0 = s.getBytes();   
   ac = new char[s.length()];   
   i = 0;   
   k = abyte0.length;   
   while (i < k) {   
    j = abyte0[i];   
    if ((j >= 48) && (j = 65) && (j = 97) && (j Subscription Information 然后 输入Subscriber和Subscription code即可。


    
 
 
 
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • C++ I/O 成员 tellg():使用输入流读取流指针
  • 在测试memset函数的执行效率时,分为使用Cash和不使用Cash辆种方式,该如何控制是否使用缓存?
  • C++ I/O 成员 tellp():使用输出流读取流指针
  • 求ibm6000的中文使用手册 !从来没用过服务器,现在急需使用它,不知如何使用! 急!!!!!
  • Python不使用print而直接输出二进制字符串
  • 请问:在使用oracle数据库作开发时,是使用pro*c作开发好些,还是使用库函数如oci等好一些啊?或者它们有什么区别或者优缺点啊?
  • Office 2010 Module模式下使用VBA Addressof
  • 急求结果!!假设一个有两个元素的信号量集S,表示了一个磁带驱动器系统,其中进程1使用磁带机A,进程2同时使用磁带机A和B,进程3使用磁带机B。
  • windows下tinyxml.dll下载安装使用(c++解析XML库)
  • c#中SAPI使用总结——SpVoice的使用方法
  • tcmalloc内存泄露优化c++开源库下载,安装及使用介绍
  • 使用了QWidget的程序,如何使用后台程序启动它?
  • sharepoint 2010 使用STSNavigate函数实现文件下载举例
  • 共享内存一般是怎么使用的,是同消息队列配合使用么
  • 使用libpcap读取tcpdump抓取的文件并解析c代码实例
  • Jsp可否使用带有GUI的JavaBean,如何使用?
  • c/c++预处理命令预#,##使用介绍
  • asp程序使用的access在Linux下如何使用!
  • 在div中使用css让文字底部对齐的方法
  • HTML教程 iis7站长之家
  • Python namedtuple(命名元组)使用实例
  • LINUX下使用Eclipse,如何使用交叉编译器?


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,,E-mail:www_#163.com(请将#改为@)

    浙ICP备11055608号-3