Gets the version of this UUID.
RFC 4122 defines five types of UUIDs:
- Version 1 is based on the system's MAC address and the current time.
- Version 2 uses the current user's userid and user domain in
addition to the time and MAC address.
- Version 3 is namespace-based, as generated by the NamespaceGenV3
module. It uses MD5 as a hash algorithm. RFC 4122 states that
version 5 is preferred over version 3.
- Version 4 is generated randomly.
- Version 5 is like version 3, but uses SHA-1 rather than MD5. Use
the NamespaceGenV5 module to create UUIDs like this.
The following additional versions exist:
- Version 0 is reserved for backwards compatibility.
- Version 6 is a non-standard Microsoft extension.
- Version 7 is reserved for future use.
Gets the version of this UUID. RFC 4122 defines five types of UUIDs: - Version 1 is based on the system's MAC address and the current time. - Version 2 uses the current user's userid and user domain in addition to the time and MAC address. - Version 3 is namespace-based, as generated by the NamespaceGenV3 module. It uses MD5 as a hash algorithm. RFC 4122 states that version 5 is preferred over version 3. - Version 4 is generated randomly. - Version 5 is like version 3, but uses SHA-1 rather than MD5. Use the NamespaceGenV5 module to create UUIDs like this.
The following additional versions exist: - Version 0 is reserved for backwards compatibility. - Version 6 is a non-standard Microsoft extension. - Version 7 is reserved for future use.