MyEclipse6.0 God Key

Source: Internet
Author: User

1. Create a new Myeclipsegen.java file

2. Add the following code content to the Myeclipsegen.java file

1 ImportJava.io.BufferedReader;2 Importjava.io.IOException;3 ImportJava.io.InputStreamReader;4  Public classMyeclipsegen {5     Private Static FinalString 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" five years imprisonment for a first offense . Think about it; Pay for a license, avoid prosecution, and feel better about yourself. ";6      Publicstring Getserial (String userId, String licensenum) {7Java.util.Calendar cal =java.util.Calendar.getInstance ();8Cal.add (1, 3);9Cal.add (6,-1);TenJava.text.NumberFormat NF =NewJava.text.DecimalFormat ("000"); OneLicensenum =Nf.format (integer.valueof (Licensenum)); AString Vertime =NewStringBuilder ("-"). Append (Newjava.text. -SimpleDateFormat ("YyMMdd"). Format (Cal.gettime ())). Append ("0"). - toString (); theString type = "ye3mp-"; -String need =NewStringBuilder (userid.substring (0, 1) . Append (Type) . -Append ("300"). Append (Licensenum). Append (Vertime). toString (); -String dx =NewStringBuilder (Need). Append (LL). Append (UserId). toString (); +         intSuf = This. Decode (DX); -String Code =NewStringBuilder (Need). Append (string.valueof (SUF)). + toString (); A         return  This. Change (code); at     } -     Private intDecode (String s) { -         inti; -         Char[] AC; -         intJ; -         intK; ini = 0; -AC =S.tochararray (); toj = 0; +K =ac.length; -          while(J <k) { thei = (* i) +Ac[j]; *J + +; $         }Panax Notoginseng         returnMath.Abs (i); -     } the     Privatestring Change (string s) { +         byte[] abyte0; A         Char[] AC; the         inti; +         intK; -         intJ; $ABYTE0 =s.getbytes (); $AC =New Char[S.length ()]; -i = 0; -K =abyte0.length; the          while(I <k) { -j =Abyte0[i];Wuyi             if((J >=) && (J <= 57)) { thej = ((((j-48) + 5)% 10) + 48; -}Else if((J >=) && (J <= 90)) { Wuj = ((((j-65) + 13)% 26) + 65; -}Else if(J >= && (J <= 122))) { Aboutj = ((((j-97) + 13)% 26) + 97; $             } -Ac[i] = (Char) J; -i++; -         } A         returnstring.valueof (AC); +     } the      PublicMyeclipsegen () { -         Super(); $     } the      Public Static voidMain (string[] args) { the         Try { theSYSTEM.OUT.PRINTLN ("Please input register name:"); theBufferedReader reader =NewBufferedReader (NewInputStreamReader ( - system.in)); inString userId =NULL; theUserId =reader.readline (); theMyeclipsegen Myeclipsegen =NewMyeclipsegen (); AboutString res = myeclipsegen.getserial (userId, "20"); theSystem.out.println ("Serial:" +res); the reader.readline (); the}Catch(IOException ex) { +         } -     } the}

3. Compile and run the Myeclipsegen.java file.

4. Automatically generate the corresponding registration code by entering the "name" value in the command window at run time.

Disclaimer: The above content comes from the network ...

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.