|
RandomInt32Between Method
|
Generates a cryptographically strong 32-bit random integer between specified values. i.e. [startNumber-stopNumber)
Namespace: GSF.Security.CryptographyAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.284-beta+805ed69bbaa748bda5f49830845a2ffff2791ae0
Syntaxpublic static int Int32Between(
int startNumber,
int stopNumber
)
public:
static int Int32Between(
int startNumber,
int stopNumber
)
static member Int32Between :
startNumber : int *
stopNumber : int -> int GSF.Security.Cryptography.Random.Int32Between = function(startNumber, stopNumber);
View SourceParameters
- startNumber Int32
- A Int32 that is the low end of our range.
- stopNumber Int32
- A Int32 that is the high end of our range.
Return Value
Int32A
Int32 that is generated between the
startNumber and the
stopNumber.
Exceptions
See Also