aspose file tools*
The moose likes Java in General and the fly likes Generate Key for App Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Generate Key for App" Watch "Generate Key for App" New topic
Author

Generate Key for App

Luis Fernandes
Greenhorn

Joined: Sep 22, 2007
Posts: 19
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


Luis Claudio<br />MCSE ; CCNA ; SCJP 5.0
Mark Vedder
Ranch Hand

Joined: Dec 17, 2003
Posts: 624

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

Joined: Sep 22, 2007
Posts: 19
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

Joined: Dec 17, 2003
Posts: 624

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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generate Key for App