• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • Last Modified:


How are GUIDs generated?

I mean manually.

How can I make one with pencil and paper?

Or is it not like that?
Tom Knowlton
Tom Knowlton
  • 3
1 Solution
From webopedia:
GUIDs can be created in a number of ways, but usually they are a combination of a few unique settings based on specific point in time (e.g., an IP address, network MAC address, clock date/time, etc.).

http://en.wikipedia.org/wiki/GUID has some info on algorithms too.

Tom KnowltonWeb developerAuthor Commented:

Does anyone know how C# goes about making a GUID?  I mean, what algortihm does it use?
Tom KnowltonWeb developerAuthor Commented:
Oh, and are there such things as UUID...same questions apply.
Tom KnowltonWeb developerAuthor Commented:
From http://en.wikipedia.org/wiki/GUID:

A Globally Unique Identifier or GUID is a pseudo-random number used in software applications. While each generated GUID is not guaranteed to be unique, the total number of unique keys (2128 or 3.4028×1038) is so large that the possibility of the same number being generated twice is very small.

GUIDs are used in many pieces of software, including Oracle Database and Novell eDirectory, but the most high-profile GUID implementation may be Microsoft's. Theirs is an implementation of a standard called Universally Unique Identifier (UUID), specified by the Open Software Foundation (OSF).

Okay, so there are UUIDs.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now