version property
int
get
version
The version that was originally multiplexed in timeHighAndVersion.
If this UUID conforms to the structure laid out in RFC 4122, this will be a number between 1 and 5 with the following descriptions:
- 1: Time-based version
- 2: DCE Security version, with embedded POSIX UIDs
- 3: Name-based version with MD5 hashing
- 4: Random version
- 5: Name-based version with SHA-1 hashing
Implementation
int get version => timeHighAndVersion >> 12;