Re: Protecting Software w/ Software License Keys...
Re: Protecting Software w/ Software License Keys...
- Subject: Re: Protecting Software w/ Software License Keys...
- From: Ondra Cada <email@hidden>
- Date: Tue, 18 Jun 2002 16:02:00 +0200
On Tuesday, June 18, 2002, at 03:22 , Joe Morris wrote:
I was thinking a good way to do this would be to base it on the user's
username. That way other people could copy it relatively easily, but
they'd have to create a new account with that username and switch to that
to use it, which would be as deterring as anything is likely to get. :-)
It would also be a royal pain in the ass, since normally you use your
applications from at least three different accounts (well, at least, I do,
and all other Mac OS X users I know well enough to know their workflow do
too): normal working account, admin account, root account.
Anyone know off the top of their head how to get the current user's
username progromatically?
NSUserName(), NSFullUserName(). Though for reasons stated above I do *very*
strongly discommend using that for licensing.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.