Can two threads of the same process produce the same GUID?

Posted by mark on Stack Overflow See other posts from Stack Overflow or by mark
Published on 2010-05-13T14:02:30Z Indexed on 2010/05/13 14:34 UTC
Read the original article Hit count: 200

Filed under:
|
|

Dear ladies and sirs.

If two threads in a process generate a new GUID concurrently using .NET API (Guid.NewGuid()) is it possible that the two GUIDs will be identical?

Thanks.

UPDATE I want to get practical. I know that it is widely assumed that GUIDs are unique for all practical purposes. I am wondering if I can treat GUIDS produced by the different threads of the same process in the same manner.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about guid