Code Snippet posted by: Poster
| Posted on: 5/24/2009 | Category: C# Codes
| Views: 4077 | Status: [Member]
| Alert Moderator
GUID (Globally Unique Identifier) is a 128-bit integer that can be used to uniquely identify something. You can guarantee that every time you generate the GUID it will be unique.
To get the GUID, you can use following code
string unique = System.Guid.NewGuid().ToString();