Skip to main content
All docs
V24.2

StrongRandom.Next Method

Name Parameters Description
Next() static none Returns a cryptographically secure, non-negative random integer.
Next(Int32, Int32) static minInclusive, maxExclusive Returns a cryptographically secure, random integer within the specified range.
Next(Int32) static maxExclusive Returns a cryptographically secure, non-negative random integer that is less than the specified maximum.