Re: Protecting Software w/ Software License Keys...
Re: Protecting Software w/ Software License Keys...
- Subject: Re: Protecting Software w/ Software License Keys...
- From: David Remahl <email@hidden>
- Date: Tue, 18 Jun 2002 18:52:55 +0200
>
At 06.22 -0700 02-06-18, Joe Morris wrote:
>
> Anyone know off the top of their head how to get the current user's username
>
> progromatically?
>
>
Now I don't do much cocoa but this might get you started:
>
>
CSCopyUserName in OSUtils.h
>
>
<
http://developer.apple.com/cgi-bin/search.pl?q=CSCopyUserName&ie=utf8&oe=utf8>
>
>
>
(First post to this list; Hi everybody :-)
NSPathUtilities.h:
FOUNDATION_EXPORT NSString *NSUserName(void);
FOUNDATION_EXPORT NSString *NSFullUserName(void);
/ David Remahl
_______________________________________________
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.