Guid.NewGuid() is always returning all zeroes

  • Thread starter Thread starter cartoper
  • Start date Start date
C

cartoper

I am using VS2004 and .Net 2.0. Every time Guid.NewGuid() is called,
the returned guid is all zeroes: {00000000-0000-0000-0000-000000000000}

In looking at the MSDN documentation on NewGuid(), it states:

"There is a very low probability that the value of the new Guid is all
zeroes or equal to any other Guid."

It seems I am in that "very low probability" group. Does anyone know
why?
 
I am using VS2004 and .Net 2.0. Every time Guid.NewGuid() is called,
the returned guid is all zeroes: {00000000-0000-0000-0000-000000000000}

Can you post your code?


Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top