Click here to Skip to main content
15,885,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
what is the best method of getting system unique id?
Posted

1 solution

In .NET you use the Guid struct[^]:
C#
Guid uniqueId = Guid.NewGuid();

In PHP it's com_create_guid: http://php.net/manual/en/function.com-create-guid.php[^]
 
Share this answer
 
Comments
SoMad 22-Nov-14 6:15am    
I thought OP might be looking for something like Searching for a reliable hardware ID

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900