Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How should my Cocoa application store the user's license key? [closed]

After the user enters his / her license key, my application activates itself with that key (online). How do I store this activated state and the license key so that the next time the user opens the app, the app will know that it is already activated?

like image 704
Chetan Avatar asked Dec 25 '09 06:12

Chetan


1 Answers

Apple provides a comprehensive facility for this kind of requirement. What you want is the Keychain API.

like image 193
NSResponder Avatar answered Oct 04 '22 19:10

NSResponder