C# how to create a Guid value?
One field of our struct is Guid type. How to generate a valid value for it? 12 s 12 Guid id = Guid.NewGuid();
One field of our struct is Guid type. How to generate a valid value for it? 12 s 12 Guid id = Guid.NewGuid();
How safe is it to use UUID to uniquely identify something (I’m using it for files uploaded to the server)? As I understand it, it is based off random numbers. However, it seems to me that given enough time, it would eventually repeat it self, just by pure chance. Is there a better system or … Read more
Is a GUID unique 100% of the time? Will it stay unique over multiple threads? 24 s 24 While each generated GUID is not guaranteed to be unique, the total number of unique keys (2128 or 3.4×1038) is so large that the probability of the same number being generated twice is very small. For example, … Read more
How do I create a GUID in Python that is platform independent? I hear there is a method using ActivePython on Windows but it’s Windows only because it uses COM. Is there a method using plain Python? 9 s 9
I see these two acronyms being thrown around and I was wondering if there are any differences between a GUID and a UUID? 5 s 5 The simple answer is: **no difference, they are the same thing. 2020-08-20 Update: While GUIDs (as used by Microsoft) and UUIDs (as defined by RFC4122) look similar and serve … Read more
I’m trying to create globally-unique identifiers in JavaScript. I’m not sure what routines are available on all browsers, how “random” and seeded the built-in random number generator is, etc. The GUID / UUID should be at least 32 characters and should stay in the ASCII range to avoid trouble when passing them around. 6 69