Menu

Keygen

kamcio1

How to create a keygen for my application?

It's very easy!

First, create in your IDE new Console app.
Next, add the .jar to your project.

Your code:

:::java
package keygen;

   import O_DRM.GenerateSerial;
   import O_DRM.ODRM_ValueLengthException;
   import java.util.Scanner;

 public class Keygen {
    public static void main(String[] args) throws ODRM_ValueLengthException, InterruptedException /* Java is pedantic... */ {
      Scanner Input = new Scanner(System.in); // We'll use it for getting input.
 System.out.print("Min: "); int Min = Input.nextInt();
 System.out.print("Max: "); int Max = Input.nextInt();
     System.out.print("Spaces: "); int Spaces = Input.nextInt();
     GenerateSerial GenS = new GenerateSerial(Min, Max, Spaces);
     GenS.Generate();
 System.out.println(GenS.Serial());
 Input.close();
 }
}

The function Generate() clears the GeneratedSerial variable, so you can use for to create more serials.

Supported in: 1.0


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.