Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generate Key for App

 
Luis Fernandes
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone help me in how to create a serial key to my app ?

I have a app and a need to create another app only to generate serial numbers, that my fisrt app will read and recognise. the serial key app must generate for keys for 4 periods( 1 or 3 or 6 and 12 mouth ), i have create for that, a swing app with 4 check box, a text field ( For the customer name ), but now i need create a method that catch the period that user select, cath the customer name, and generate a serial based on this information. The serial must be always different, and the other app must read the serial and allow the user to use app if the key is not expired.

Someone help me

Regards
 
Mark Vedder
Ranch Hand
Posts: 624
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post what code you have so far and tell us what problems you are having in that code. People can than help you answer those specific questions.
 
Luis Fernandes
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have no code, my swing app and the main app works fine, but i wnat now to create key to limit the customer to pay for my app. The only way that i find to do this, is creating keys that have time limitation.

Can someone help me in how to obtain this result ? wish API can i use to do this ?
 
Mark Vedder
Ranch Hand
Posts: 624
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I misunderstood your original post. I thought you were trying to write a licensing component and were stuck on something. I did not realize you were looking for a licensing API.

You can take a look at TrueLicense Library Collection (TLC). It's Open Source. (I've never used it, but just know about it.) I am not sure if there are other open source or free solutions.

A Google search turns up a number commercial solutions.
[ April 05, 2008: Message edited by: Mark Vedder ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic