Re: Length of globallyUniqueString
Re: Length of globallyUniqueString
- Subject: Re: Length of globallyUniqueString
- From: Chris Kane <email@hidden>
- Date: Tue, 28 May 2002 14:33:10 -0700
There are no documented limits on the length of the string returned by -globallyUniqueString, either in characters, or what a byte-representation of the characters might consume. It may return something longer in the future.
Additionally, the documented "components" of the string are examples, not cast in stone. Instead of host name, it might include the IPv6 address of the machine, for example, or other goodies.
Chris Kane
Cocoa Frameworks, Apple
On Friday, May 24, 2002, at 05:06 PM, Jim Murry wrote:
Would some one tell me the longest length of the string produced by:
NSString *tempString = [[NSProcessInfo processInfo] globallyUniqueString];
I am getting 79 characters in length and it still gets longer every time it is executed. I am using it in a database and would like to be sure that the size of the field will be large enough in the future.
_______________________________________________
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.
_______________________________________________
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.