Image Unique Identifier

Colin Putney cputney at wiresong.ca
Tue Aug 22 20:45:23 UTC 2006


On Aug 22, 2006, at 4:13 PM, Ron Teitelbaum wrote:

> I need a unique image identifier.  Does anyone have any suggestions?

Why not have a class that creates a UUID when the image comes up, and  
destroys it on shutdown? That would satisfy your requirements for  
uniqueness. If you need to be able to protect the identifier from  
modification by untrusted code in the image, it gets a lot harder.  
You might need a plugin for that.

Colin



More information about the Squeak-dev mailing list