StrongRandom.Next(Int32, Int32) Method
Returns a cryptographically secure, random integer within the specified range.
Namespace: DevExpress.Data.Utils.Security
Assembly: DevExpress.Data.v26.1.dll
NuGet Package: DevExpress.Data
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| minInclusive | Int32 | The inclusive lower bound of the random number returned. |
| maxExclusive | Int32 | The exclusive upper bound of the random number returned. |
Returns
| Type | Description |
|---|---|
| Int32 | A 32-bit signed integer greater than or equal to |
Remarks
The range of return values includes minInclusive but not maxExclusive. If minInclusive equals maxExclusive, the Next(System.Int32,System.Int32) method returns minInclusive.
See Also