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 |
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.
- 2 properties
- 4 methods
- method ValueFormattedString(WithBrackets as Boolean = true) as String
- method ValueHexString as String
- method ValueMemory as Memoryblock
- method ValueString as String
- 4 shared methods
- shared method randomUUID as UUIDMBS
- shared method UUID as UUIDMBS
- shared method UUIDv7 as UUIDMBS New in 25.5
- shared method Validate(UUID as string, mode as Integer = 0, requiredVersion as Integer = 0) as string
This class has no sub classes.
Blog Entries
- MBS Xojo Plugins, version 25.5pr2
- MBS Xojo Plugins, version 23.5pr1
- MBS Xojo Plugins, version 19.6pr1
- MBS Xojo / Real Studio Plugins, version 15.2pr4
- MonkeyBread Software Releases the MBS Real Studio plug-ins in version 13.0
- MBS Real Studio Plugins, version 13.0pr5
- MBS REALbasic Plugins, version 10.6pr6
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