Method NewRandom
NewRandom()
Returns a new Uuid version 4 (RFC 4122 variant) instance with a random value, based on a
cryptographically strong sequence of random bytes, utilising the default system-wide configured
RandomNumberGenerator.
Declaration
public static Uuid NewRandom()
Returns
| Type | Description |
|---|---|
| Uuid | A new version 4 Uuid instance with a random value. |
Exceptions
| Type | Condition |
|---|---|
| RuntimeException | RNG initialisation failed. |