TexasWebDevelopers.com Home Page

Create a Globally Unique Identifier with this function

A GUID is a Globally Unique Identifier, basically a 16-Byte string guaranteed to be unique.
This is a simple function that allows you to create a GUID that uses the Windows API to guarantee it's uniqueness.
The uses for the ID in scripts is limitless.

Example: {CD9A185C-3E0B-4960-833C-6EC675538D87}

Here is the code: