SECRandom::GetRange
Returns a random value within the current range.
Defined in: SECRAND.CPP
Syntax
GetRange();
GetRange(unsigned int nMin, unsigned int nMax);
Return Value
Returns a random number within the boundaries of the current range.
Parameters
nMin
Specifies the lower bound of the range.
nMax
Specifies the upper bound of the range.
Comments
Calling the API with nMin and nMax parameters will set the current range to the specified range.
See Also