Platforms to show: All Mac Windows Linux Cross-Platform

UUIDMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Encryption and Hash MBS Util Plugin 6.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
A class to create Universally Unique Identifier.
Example
Var u as UUIDMBS

u=new UUIDMBS

MsgBox EncodingToHexMBS(u.ValueString)

This class creates a 128 bit UUID (or UID or GUID) which is random.

On Mac OS X: Uses CoreFoundation system functions from Mac OS X 10.3.
On Linux: Uses unix system functions (libuuid).
On Windows: Uses UUID functions from RPC functions (Rpcrt4.dll).

If you need to validate a GUID or UUID, please check the Validate function.

This class has no sub classes.

Blog Entries

Release notes

  • Version 25.5
    • Added UUIDv7 function to UUIDMBS class.
  • Version 23.5
    • Improved UUIDMBS.randomUUID to be a bit more random.
  • Version 22.1
    • Added WithBrackets parameter for ValueFormattedString method in UUIDMBS class.
  • Version 20.0
    • Fixed bug with random number generator on Windows not always working very randomly on threads. Affected UUIDMBS.randomUUID function used in threads.

Some examples using this class:


The items on this page are in the following plugins: MBS Util Plugin.


UpDownArrows   -   VariantHashSetIteratorMBS


The biggest plugin in space...