Skip to main content
All docs
V24.2

StrongRandom Methods

A random number generator that creates cryptographically strong random values.
Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Next() static Returns a cryptographically secure, non-negative random integer.
Next(Int32, Int32) static Returns a cryptographically secure, random integer within the specified range.
Next(Int32) static Returns a cryptographically secure, non-negative random integer that is less than the specified maximum.
NextBytes(Byte[]) static Fills the specified array with random bytes.
NextDouble() static Returns a cryptographically secure, non-negative random floating-point number in the range [0.0, 1.0).
NextLong() static Returns a cryptographically secure, non-negative random 64-bit signed integer value.
Nonce() static Generates a unique, cryptographically secure 16-character hexadecimal string.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also