Show / Hide Table of Contents

    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.
    Back to top Copyright © 2017-2018, xplo.re IT Services, Michael Maier. All rights reserved.