Jul 12, 2008 C#: Get A Unique Random String Using GUID Hash Code GUID, also known as Globally Unique Identifier, is an 128-bit integer (16 bytes) that can be used to uniquely identify a record in the database (other than the auto-increase number).. It is best used as a primary key as well. Jul 12, 2008 And you might want to store it as a string in your database (for whatever reason).
In C#, you can do this by using the GUID hash code Here is the function that returns a 'unique enough' string with a desired length: /// /// Gets a unqiue key based on GUID string hash code. generate unique id based on stringgenerate unique id based on string, python generate unique id based on string, generate unique id based on string c#, generate unique number based on string, generate unique id based on string excel, generate unique id based on string sql, java generate unique id based on string, generate unique computer names based on string
generate unique id based on string c#
generate unique id based on string excel
ae05505a44
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |